[sage-support] Re: Problems with .show() and integration

2008-10-24 Thread LRN
On 24.10.2008 15:12, Jason Grout wrote: > > Please let us know if that solves the problem. > > It does. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

[sage-support] Re: Problems with .show() and integration

2008-10-24 Thread LRN
On 24.10.2008 15:48, Jason Grout wrote: > Marshall Hampton wrote: > >> Is "gauss(x) = exp(-(x)2/(2*sigma2))" a typo? Because that raises a >> syntax error for me. >> > > Should that be: > > > gauss(x) = exp(-(x)^2/(2*sigma^2)) > > sometimes my copy and paste strip the "^" signs; is that

[sage-support] Re: Problems with .show() and integration

2008-10-24 Thread Jason Grout
Marshall Hampton wrote: > Is "gauss(x) = exp(-(x)2/(2*sigma2))" a typo? Because that raises a > syntax error for me. Should that be: gauss(x) = exp(-(x)^2/(2*sigma^2)) sometimes my copy and paste strip the "^" signs; is that what happened? Jason --~--~-~--~~~---

[sage-support] Re: Problems with .show() and integration

2008-10-24 Thread Marshall Hampton
Is "gauss(x) = exp(-(x)2/(2*sigma2))" a typo? Because that raises a syntax error for me. -M. Hampton On Oct 24, 6:12 am, Jason Grout <[EMAIL PROTECTED]> wrote: > LRN wrote: > > Here's the code: > > > sigma = 0.2 > > > gauss(x) = exp(-(x)2/(2*sigma2)) > > > gauss1 = gauss(x).derivative > > > gau

[sage-support] Re: Problems with .show() and integration

2008-10-24 Thread Jason Grout
LRN wrote: > Here's the code: > > sigma = 0.2 > > gauss(x) = exp(-(x)2/(2*sigma2)) > > gauss1 = gauss(x).derivative > > gauss2 = gauss1(x).derivative > > ngauss2(x) = -1*gauss2(x) > > sngauss2(x,y) = ngauss2(sqrt(x2 + y2)) > > a1 = var('a1'); a2 = var('a2'); b1 = var('b1'); b2 = var('b2') >