Re: [sage-support] New to sage: significant digits, etc.

2011-02-27 Thread Dan Drake
I'll skip your first question for the moment, since I'm not sure about the answer there. On Sun, 27 Feb 2011 at 12:59PM -0800, sm123123 wrote: > Second question: > > Is there a way to embed results of a matlab calculation using SageTeX > (especially plots) ? For Mathematica, I can generate a plot

[sage-support] New to sage: significant digits, etc.

2011-02-27 Thread sm123123
I am new to sage and trying to use it as a part of SageTeX. I have numerical calculations that need to adhere to significant digits of the input. I have tried to use round(x,n) to get n significant digits. However, this method fails miserably for very small numbers (think 1.67e-17, which returns z