Whether you do this by SAGE or by hand, the problem is to first write the line integral as an ordinary integral. This has nothing to do with SAGE but is a basic 1st step in computing a line integral. If ds below is the arc length element, see "Line integral of a scalar field" in http://en.wikipedia.org/wiki/Line_integral for how to convert ds into a factor (depending on the parameterization) times dt (where t is the parameter). Then use SAGE's integral command. http://www.sagemath.org/doc/html/ref/module-sage.calculus.functional.html#l2h-645
2008/5/13 ohitmano <[EMAIL PROTECTED]>: > > Well, I don't know algorithm of solving contour integrals in SAGE. > This is my problem :( > here is a part of function: > integral ((105*r*log(r)/8 - 26.25*r^3 + 315*r/ > 16)*(-16*(-9019809825*r^6/214953202 - 55910066901/ > (671728756250*r^2))*cos(4*Q)/r^2 + ...) ds > I'll be very grateful if you post a sage code of decision of this > problem.. > > > On 12 май, 23:38, "David Joyner" <[EMAIL PROTECTED]> wrote: > > I think this question is better posed on sage-support, which I am cc'ing. > > sage-edu is about teaching with SAGE. > > > > Am I correct in assuming you have a parameterization of your > > line integral (with parameter q) and so you can write the > > contour integral as > > > > int_a^b f(q) dq > > > > after some substitutions? I'm not sure where you are stuck. > > > > > > On Mon, May 12, 2008 at 3:29 PM, ohitmano <[EMAIL PROTECTED]> wrote: > > > > > Hi all, need do solve contour integral of a very complex function > > > contour is provided with equations: x = cos(q) + cos(4q); y = sin(q) - > > > sin(4q). > > > function is very long and complex and I won't post it here, but will > > > say about some conditions: > > > it depends on variable(r) that must be >0 because it contains log() > > > and if r = 0 then there will be devision by zero. > > > > > Can somebody tell me how can I solve contour integral in sage? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sage-edu" group. To post to this group, send email to sage-edu@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-edu?hl=en -~----------~----~----~----~------~----~------~--~---