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')
chunkx = integral(sngauss2, x, a1, b1)
chunky = integral(chunkx, y, a2, b2)
chunky.show()

When evaluated it says "It looks like jsMath failed to set up properly
(error code -7).  I will try to keep going, but it could get ugly."

Calling "print chunky" prints something weird.

All i want to do is to get symbolic formula for an integral of part of
a surface, described by sngauss2, so i can use it outside of Sage.


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to