[sage-support] Re: MathML -> Sage

2012-06-05 Thread MathLynx
The rather obvious www.mathlynx.com LOL! Instructors can request accounts by writing to mathl...@gmail.com. I will put a student on the code-posting issue. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubsc

[sage-support] MathML -> Sage

2012-06-05 Thread MathLynx
hn A. Velling * I have started a student driven business: MathLynx, where we are creating dynamically generated texts for standard college/university level classes. 99% complete on precalc - calc 1 var - calc n var sequence. The content is created by several faculty memb

[sage-support] Re: Java crash with plot3d

2012-06-04 Thread MathLynx
Jason: I have a couple of students for whom this is on the summer project list (rather high on said list). If we make substantial progress I will certainly pass along results. BTW, we have built a MathML -> "Sage input" translator. This allows us to take simple expressions produced from, say

[sage-support] controlling latex output

2012-06-04 Thread MathLynx
Is it possible to customize Sage (or somehow edit its conversion of strings) so that exp(x), which gets output by latex conversion as "e^x", now gets output by latex conversion as "\mathrm{e}^x"? John A. Velling -- To post to this group, send email to sage-support@googlegroups.com To unsubscri

[sage-support] Re: Java crash with plot3d

2012-05-31 Thread MathLynx
It would be nice if this included the ability to write 3d animations with Sage. On Thursday, March 8, 2012 4:56:08 PM UTC-5, Jason Grout wrote: > > On 3/8/12 3:40 PM, Thierry Dumont wrote: > > Le 08/03/2012 14:44, Jori Mantysalo a écrit : > >> On Mon, 5 Mar 2012, P Purkayastha wrote: > >> > >>>

Re: [sage-support] Re: maximization on interval

2012-05-26 Thread MathLynx
Another issue arose yesterday when I was looking for extrema of a cubic poly over an interval. There were two critical points in the interval (roots of the derivative quadratic equation), but the extrema were at the endpoints. Sage returned the critical points & values rather than the endpoin

[sage-support] Re: maximization on interval

2012-05-25 Thread MathLynx
But why does minimization seem to work fine? -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http:

[sage-support] Re: maximization on interval

2012-05-24 Thread MathLynx
line 365, in sage.libs.ecl.python_to_ecl (sage/libs/ecl.c:3292) File "ecl.pyx", line 282, in sage.libs.ecl.ecl_safe_read_string (sage/libs/ecl.c:2805) File "ecl.pyx", line 265, in sage.libs.ecl.ecl_safe_funcall (sage/libs/ecl.c:2650) RuntimeError: ECL says: THROW: The catch

[sage-support] maximization on interval

2012-05-24 Thread MathLynx
The codefind_minimum_on_interval(x*sin(x),.5,2.5)works like a charm, giving (0.23971279031301418, 0.500228822995) as output. But the codefind_maximum_on_interval(x*sin(x),.5,2.5)gives a mess. Plotting works fine ( plot(x*sin(x),(x,.5,2.5)) ). Is there some notational

[sage-support] updating jmol

2011-10-03 Thread MathLynx
When I downloaded and installed SAGE, a copy of jmol must have been installed for presenting 3d graphics. I would like to update this copy to the most recent version of jmol available, but I cannot find it in the file structure installed. Where is jmol? Any special info needed to update? -- To

[sage-support] point of view in 3d graphics

2011-09-18 Thread MathLynx
In Maple there is the option orientation=[#1,#2,#3] to tell the display mechanism what the viewer's position is vis-a-vis the viewed object. I don't know how to do something like this in Sage. Tried rotateX, etc., but this rotates the object in a standard euclidean coordinate system, thus alterin

[sage-support] Re: for loop in 3d image

2011-09-18 Thread MathLynx
John, Andrzej - thanks! I will have to examine when to add a colon and when not to. You guys are killing me - LOL. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, vis

[sage-support] Re: for loop in 3d image

2011-09-14 Thread MathLynx
let me alter the first line to x,y,z,t = var('x,y,z,t') On Sep 14, 5:49 pm, MathLynx wrote: > What is wrong with > > x,y,z = var('x,y,z') > P = implicit_plot3d(x^2 +y^2 -z^2 ==1, (x,-3.2,3.2),(y,-3.2,3.2), > (z,-3,3),opacity=.2,color='blue') > for

[sage-support] for loop in 3d image

2011-09-14 Thread MathLynx
What is wrong with x,y,z = var('x,y,z') P = implicit_plot3d(x^2 +y^2 -z^2 ==1, (x,-3.2,3.2),(y,-3.2,3.2), (z,-3,3),opacity=.2,color='blue') for k in range(20) P += parametric_plot3d([cos((2*pi*k)/(20))+sin((2*pi*k)/ (20))*t,sin((2*pi*k)/(20))-cos((2*pi*k)/(20))*t,t], (t,-3,3),color='red',thick

[sage-support] labels in plots

2011-09-01 Thread MathLynx
I entered plot(2*x^3-5*x^2-x+1,(x,.3819,.382),hue=1,thickness=2,ticks=[. 5,None]) and got a plot where the tick marks were at the correct places but the labels were of the form 3.819e-1 and 3.82e-1. How do I get them to read .3819, .38195 and .382 (or .3820)? -- To post to this group, sen

[sage-support] Re: Field of rational functions??

2011-09-01 Thread MathLynx
Egad! I just got pummeled! This will take a while to absorb - thanks, Simon. Just starting on the learning curve... On Aug 31, 6:04 am, Simon King wrote: > Hi! > > On 31 Aug., 09:50, MathLynx wrote: > > > Thanks!  But the question remains, how do I force the addition  1/x

[sage-support] Re: Field of rational functions??

2011-08-31 Thread MathLynx
then to look? On Aug 30, 11:06 am, Alastair Irving wrote: > On 30/08/11 14:59, MathLynx wrote: > > > (1) How does one define a field of rational functions in several > > variables?  QQ[x,y] gives me the ring of polynomials in x&  y over QQ, > > but 2*x/y is not in this

[sage-support] Field of rational functions??

2011-08-30 Thread MathLynx
(1) How does one define a field of rational functions in several variables? QQ[x,y] gives me the ring of polynomials in x & y over QQ, but 2*x/y is not in this ring. (2) I want to be able to check if an object is in this field, and have the work-around or forcing the addition of expressions (like

[sage-support] Re: identify type of input expression

2011-05-15 Thread MathLynx
True. But the conditional sage: A=x+x^2 sage: if A.operator()=="": sage: print "Y" sage: else: sage: print "N" fails to give "Y". How can I patch this up? On May 15, 1:57 am, Jason Grout wrote: > On 5/14/11 8:32 PM, MathLynx wrote:

[sage-support] operations with images

2011-05-15 Thread MathLynx
Both Maple and Mathematica allow the user to move around within plots - zooming and translating (and rotating in 3-d). Is there any such functionality with Sage plots? I have already noted that one can use a mouse to rotate 3-d plots. Secondly, is it possible to include Sage generated plots in H

[sage-support] identify type of input expression

2011-05-14 Thread MathLynx
How can I use Sage to determine if an expression is a sum - i.e. if the last operation performed is either addition or subtraction? Thus, I would like to identify "a*(b+c)" as a product but "a*b+a*c" as a sum. It would be nice to also identify the number of summands in an addition - or multiplica

[sage-support] Re: degree of poly

2011-05-10 Thread MathLynx
ust as well have said R = PolynomialRing(QQ, 'A,B') x,y = R.gens() ? Thanks in advance! John On May 10, 2:22 pm, Sebastian Ramacher wrote: > On 05/10/2011 07:59 PM, MathLynx wrote: > > > How do I detect the degree of a polynomial (say over Q) in one or > > several v

[sage-support] degree of poly

2011-05-10 Thread MathLynx
How do I detect the degree of a polynomial (say over Q) in one or several variables? x = var('x'); B = x^2; B.deg() gives an error. How about x,y = var('x , y'); B = x^2 + y^3; and we want degree of B with respect to x? (presuming wrt y is the same) -- To post to this group, send email to sa

[sage-support] Re: how to structure conditional

2011-05-10 Thread MathLynx
Too easy! I'll start to make them harder as I learn... LOL On May 10, 1:53 pm, Volker Braun wrote: > Python uses indentation for blocks: > > sage: x,y = var('x, y'); > sage: A = x+y == 3; > sage: if A.substitute(x=1,y=2): > :     print "Yes" > : else: > :     print "No" > :     >

[sage-support] how to structure conditional

2011-05-10 Thread MathLynx
I am trying to learn basic Sage functionality and need a bit of coaching. Here is one example that I have not been able to figure out. This is all being done within a Notebook. x,y = var('x, y'); A = x+y == 3; bool(A.substitute(x=1,y=2)) returns "True", but x,y = var('x, y'); A = x+y == 3; if