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] 3DPlot error

2011-02-27 Thread Thomas Rike
I'm not sure if this is the right place to ask a question. I just downloaded the Sage-4.6.1-OSX-64bit-10.6 app to my 27" iMac and my MacBookPro. On my iMac I cannot use parametric_plot3d. The Java applet does not run. I get a black screen that shows a small "Error Click for details" in the upper

Re: [sage-support] multivariate polynomial division

2011-02-27 Thread Martin Albrecht
On Sunday 27 February 2011, dmharvey wrote: > Hi, > > sage: R. = PolynomialRing(QQ) > sage: f = x0^2*x1 + x1^2*x2 + x2^2*x3 + x3^2*x0 > sage: (f0, f1, f2, f3) = [f.derivative(v) for v in [x0, x1, x2, x3]] > sage: I = R.ideal(f0, f1, f2, f3) > sage: h = x0^5 > sage: h in I > sage: True Hi David,

[sage-support] multivariate polynomial division

2011-02-27 Thread dmharvey
Hi, sage: R. = PolynomialRing(QQ) sage: f = x0^2*x1 + x1^2*x2 + x2^2*x3 + x3^2*x0 sage: (f0, f1, f2, f3) = [f.derivative(v) for v in [x0, x1, x2, x3]] sage: I = R.ideal(f0, f1, f2, f3) sage: h = x0^5 sage: h in I sage: True Now how do I compute polynomials g0, g1, g2, g3, such that g = g0*f0 + ..

[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

[sage-support] Solving ax^2+bxy+cy^2=n fast (BinaryQF)

2011-02-27 Thread Rolandb
Hi, I was wondering whether equations as ax^2+bxy+cy^2=n can be solved fast. Solve is a general application with a lot of overhead. I think of methods such as can be found on www.alpertron.com.ar/METHODS.HTM by Dario Alejandro Alpern, or www.numbertheory.org/php/ by Keith Matthews. It seems to me l

[sage-support] Re: width of the Sage notebook input cell

2011-02-27 Thread Dmitry Shkirmanov
input cell can not be carried over to the next line and comes out of view. Is it possible to change such behaviour? >>> >>> Can you be more specific? In my browser at least it just carries over >>> to the next line, spaces or not, commas or not. Maybe give us the >>> example, what brow