[sage-support] Re: total differentiation

2010-10-09 Thread jvkersch
Hi Oscar, In this context, it is sufficient to think of a differential of a function f as being given by the formula d f = Df dt, where Df is the total derivative. See also http://en.wikipedia.org/wiki/Total_derivative The line f = F(x^2 + y + sin(z)) turns the function x^2 + y + sin(z)

[sage-support] Re: What's easiest way to get Sage running on Windows for non-techie students?

2010-10-09 Thread kcrisman
On Oct 9, 8:24 pm, Jason Grout wrote: > On 10/9/10 9:53 AM, Chris Seberino wrote: > > > What's easiest way to get Sage running on Windows for non-techie > > students? > > > They'll be lost if the instructions are complicated. > > > Possible to wrap a VMWare + Ubuntu + Sage blob into one big Wind

[sage-support] Re: modulo operator for reals

2010-10-09 Thread kcrisman
On Oct 9, 10:53 pm, Mike Hansen wrote: > On Mon, Oct 4, 2010 at 4:03 PM, jpc wrote: > > Why does the plot > >   plot(k%1,k,0,5) > > For a symbolic variable 'k', k%1 returns an error since the notion of > a symbolic mod operation hasn't been implemented. > > > What can be used instead ? > > You

[sage-support] Re: total differentiation

2010-10-09 Thread Oscar Lazo
On Oct 9, 2:58 pm, jvkersch wrote: > Hi Oscar, > > In Sage 4.6 (currently 4.6alpha2) you will be able to do this using > differential forms: > > sage: x, y, z = var('x, y, z') > sage: U = CoordinatePatch((x, y, z)) > sage: F = DifferentialForms(U) > > sage: f = F(x^2 + y + sin(z)); f > (x^2 + y +

Re: [sage-support] modulo operator for reals

2010-10-09 Thread Mike Hansen
On Mon, Oct 4, 2010 at 4:03 PM, jpc wrote: > Why does the plot >   plot(k%1,k,0,5) For a symbolic variable 'k', k%1 returns an error since the notion of a symbolic mod operation hasn't been implemented. > What can be used instead ? You can just delay the application of the mod operation: plot(

[sage-support] Re: What's easiest way to get Sage running on Windows for non-techie students?

2010-10-09 Thread Jason Grout
On 10/9/10 9:53 AM, Chris Seberino wrote: What's easiest way to get Sage running on Windows for non-techie students? They'll be lost if the instructions are complicated. Possible to wrap a VMWare + Ubuntu + Sage blob into one big Windows exe file that requires no set up? Since we can't redis

[sage-support] Re: modulo operator for reals

2010-10-09 Thread Pedro Cruz
This command plot(k%1,k,0,5) produce an error. That % python operator does differently from "simple" modulo: >>1.9%1 -0.1 >> 1.5%1 -0.5 >> 2.5 %1 0.5 It was strange that with "k/1" plot works fine but not with "k%1". Pedro On 9 Out, 15:19, Don Krug wrote: > On Oct 4, 7:03 pm, jpc wrote

[sage-support] Re: grobner bases

2010-10-09 Thread andrew ewart
indeed, thankyou martin -- 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://www.sagemath.org

[sage-support] Re: total differentiation

2010-10-09 Thread jvkersch
Hi Oscar, In Sage 4.6 (currently 4.6alpha2) you will be able to do this using differential forms: sage: x, y, z = var('x, y, z') sage: U = CoordinatePatch((x, y, z)) sage: F = DifferentialForms(U) sage: f = F(x^2 + y + sin(z)); f (x^2 + y + sin(z)) sage: g = f.diff(); g cos(z)*dz + 2*x*dx + dy

[sage-support] Re: Plotting a function f(x) when x is not in the domain

2010-10-09 Thread Don Krug
When you know where the jump is you can use exclude: f(x) = abs(x+1) g = f.differentiate() show(plot(g(x),(-2,2),exclude=[-1]), xmin = -2,xmax = 1, ymin=-2,ymax=2) -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+u

[sage-support] What's easiest way to get Sage running on Windows for non-techie students?

2010-10-09 Thread Chris Seberino
What's easiest way to get Sage running on Windows for non-techie students? They'll be lost if the instructions are complicated. Possible to wrap a VMWare + Ubuntu + Sage blob into one big Windows exe file that requires no set up? -- To post to this group, send email to sage-support@googlegroups

[sage-support] Re: total differentiation

2010-10-09 Thread Oscar Lazo
On Oct 8, 7:54 pm, Nils Bruin wrote: > If you define x,y,z to be functions of m, it does what you want: > > sage: var("m") > sage: x=function("x",m) > sage: y=function("y",m) > sage: z=function("z",m) > sage: diff(f,m) > cos(z(m))*D[0](z)(m) + 2*x(m)*D[0](x)(m) + D[0](y)(m) Yes, but the point of

[sage-support] Re: modulo operator for reals

2010-10-09 Thread Don Krug
On Oct 4, 7:03 pm, jpc wrote: > Why does the plot >    plot(k%1,k,0,5) > is not produced but the following works: >   k=var('k') >   plot( k/1, k,0,5).show() >   print 1.9%1 > > What can be used instead ? I can't explain the behavior. but wouldn't plot(x-floor(x),0,5) produce the same output?

Re: [sage-support] grobner bases

2010-10-09 Thread Martin Albrecht
On Saturday 09 October 2010, andrew ewart wrote: > whats the best way to code the following > I want a print out of a grobner basis for an ideal I generated by the > polynomials > > this is respect to the reverse lexicographic and lexicographic order sage: P. = PolynomialRing(QQ,order='neglex') s

[sage-support] grobner bases

2010-10-09 Thread andrew ewart
whats the best way to code the following I want a print out of a grobner basis for an ideal I generated by the polynomials this is respect to the reverse lexicographic and lexicographic order -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, se