gkokovidis

7 years, 224 days


These are questions asked by gkokovidis

StringTools[Length]

May 03 2011 by gkokovidis 1641 Maple

restart:
with(StringTools):
Length("fc2c-cEImI0Qb1I#YZTdh7JyQ%3t#eUW7W,5,CMjUV/\WHv\rEYNLrBlkETbsy+");
                               61
Length("fc2c-cEImI0Qb1I#YZTdh7JyQ%3t#eUW7W,5,CMjUV/WHvrEYNLrBlkETbsy+");
                               61

I expect the first call to Length to return a value of 63.  The backslashes are being ignored.  Is this a "feature", or is the Length command not behaving as it should?

Any ideas why the following is giving me an error message?  Maple 14 WinXP 32 bit

restart:


with(DynamicSystems):


sys:=TransferFunction((0.04798*z+0.0464)/(z^2-1.81*z+0.9048),discrete=true,sampletime=0.1);

PrintSystem(sys);

Greetings. Using the sequence command, I can generate a list of numbers.

>seq(1/(n^2+1), n=1..10);

1/2, 1/5, 1/10, 1/17, 1/26, 1/37, 1/50, 1/65, 1/82, 1/101

Given the list of numbers above, how does one derive

1/(n^2+1)

This is a specific example.  I am looking for a general case.  I scanned the genfunc and gfun packages, but I must be missing something.

 

Regards,

Georgios Kokovidis

 

 

Page 1 of 1