Ask Your Question

shinji3's profile - activity

2024-03-09 03:39:07 +0100 received badge  Taxonomist
2013-12-20 15:40:59 +0100 received badge  Famous Question (source)
2013-03-09 02:21:30 +0100 received badge  Notable Question (source)
2012-06-08 07:05:15 +0100 received badge  Popular Question (source)
2010-12-09 14:11:56 +0100 received badge  Supporter (source)
2010-12-09 14:09:21 +0100 answered a question How to limit the number digits of constants in displayed real numbers?

That helps me. Thank you for your fast reply.

2010-12-09 10:57:19 +0100 received badge  Student (source)
2010-12-09 08:34:00 +0100 asked a question How to limit the number digits of constants in displayed real numbers?

hello, when i define a function and let Sage calculate the derivatives, the constants in the output functions have many digits. example:

sage:x=var('x')
sage:f=5*x*exp(-0.1*x^2)
sage:diff(f)
Sage output:-x^2*e^(-0.100000000000000*x^2) + 5*e^(-0.100000000000000*x^2).

Is there a way to limit the number of digits?