Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

TypeError: FIXNUM.

Hi everyone,

I am using function taylor() in sage to find the Taylor series of a function as follows:

var ('x') fx = e^(-(1/632936348449528153)*(x)) taylor(fx,x,1,2)

it gives me the correct answer. But when the the denominator in the exponent (i.e. the denominator of 1/632936348449528153) is increased further by one digit (say 9) I receive the following error message

TypeError: ECL says: 6329363484495281539 is not of type FIXNUM.

My actual function is like a=e^(-(1/632936348449528153937412733512609636)*(x1))

But when I use the above function again in taylor(), I get the error as shown below.

TypeError: ECL says: 632936348449528153937412733512609636 is not of type FIXNUM.

Is there any solution to overcome this error????

Note: I am using sage in the Sage Notebook online in a browser.

TypeError: FIXNUM.

Hi everyone,

I am using function taylor() in sage to find the Taylor series of a function as follows:

var ('x')
 fx = e^(-(1/632936348449528153)*(x))
taylor(fx,x,1,2)

taylor(fx,x,1,2)

it gives me the correct answer. But when the the denominator in the exponent (i.e. the denominator of 1/632936348449528153) is increased further by one digit (say 9) I receive the following error message

TypeError: ECL says: 6329363484495281539 is not of type FIXNUM.

My actual function is like

a=e^(-(1/632936348449528153937412733512609636)*(x1))

a=e^(-(1/632936348449528153937412733512609636)*(x1))

But when I use the above function again in taylor(), I get the error as shown below.

TypeError: ECL says: 632936348449528153937412733512609636 is not of type FIXNUM.

Is there any solution to overcome this error????

Note: I am using sage in the Sage Notebook online in a browser.

click to hide/show revision 3
retagged

TypeError: FIXNUM.

Hi everyone,

I am using function taylor() in sage to find the Taylor series of a function as follows:

var ('x')

fx = e^(-(1/632936348449528153)*(x))

taylor(fx,x,1,2)

it gives me the correct answer. But when the the denominator in the exponent (i.e. the denominator of 1/632936348449528153) is increased further by one digit (say 9) I receive the following error message

TypeError: ECL says: 6329363484495281539 is not of type FIXNUM.

My actual function is like

a=e^(-(1/632936348449528153937412733512609636)*(x1))

But when I use the above function again in taylor(), I get the error as shown below.

TypeError: ECL says: 632936348449528153937412733512609636 is not of type FIXNUM.

Is there any solution to overcome this error????

Note: I am using sage in the Sage Notebook online in a browser.