On Wednesday, 21 March 2012 22:42:16 UTC+10, kcrisman wrote: > > >> fracintegral(x,1/2) >>> >> >>> >> 4/15*x^(5/2)/sqrt(pi) >>>> >>>> >> > Though you should get a deprecation error. >
Yeah, I do. I don't know the correct way to collect a variable argument from inside a function call, and apply that to a named argument call. :( (t-x)^n*func(x=t) works fine, but don't know how to change "x=" to "y=" without using a really ugly apply call. > > But when I try it on exponentials or trigonometric functions, I get the >> following weird error. >> >> >> fracintegral(sin(x),1/2) >>> >> >>> >> > I can't reproduce this. > I've found that it seems to only show up for me if I start sage and run the defined function first. It is guaranteed to give me this error first time and will keep on giving me errors until I run the indefinite integral form of the same name function. Then it will sometimes give me correct-ish answers from then on. I've attached my sage worksheet. I'm on a 64-bit machine. Possible issue? > > >> But if I type in >> >>> integrate((x-t)^(1/2)*sin(t),t) >> >> >> it seems to work, but with a really weird result (expintegral_e?) >> >>> -1/2*sqrt(t - x)*(((expintegral_e(-1/2, -I*t + I*x) + >>>> expintegral_e(-1/2, I*t - I*x))*t - (expintegral_e(-1/2, -I*t + I*x) + >>>> expintegral_e(-1/2, I*t - I*x))*x)*sin(x) - ((-I*expintegral_e(-1/2, >>>> -I*t + I*x) + I*expintegral_e(-1/2, I*t - I*x))*x + >>>> (I*expintegral_e(-1/2, -I*t + I*x) - I*expintegral_e(-1/2, I*t - >>>> I*x))*t)*cos(x)) >>>> >>>> >> > See http://trac.sagemath.org/sage_trac/ticket/11143. This is > > The generalized complex exponential integral `E_n(z)` > > We just need to finish a few things on this, but you are welcome to use it > now. > Ohhhh, this looks goooooood. :D Is it possible to do this over a binary installation, or will I need to install and build from source? I'm asking because as well as my Linux install at home, I'm running a binary virtual image on Windows at work. Thanks for this kcrisman, Joal Heagney -- 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
Fractional Integral.sws
Description: Binary data