asked 2013-11-11 02:24:05 -0500
This post is a wiki. Anyone with karma >750 is welcome to improve it.
Hi, I am a sage-noob. To calculate the vortex sheet of a flat plate in potential flow, I have to solve some integrales of such a king:
Mathematica syntax: Integrate[Exp[-I * t * 2 * m * k]*((1/t+1)^0.5-1),t,0, Infinity]
And this is the reult:
If[Im[k m] < 0, ((0. + 0.5 I) - (0. + 0.886227 I) HypergeometricU[-0.5, 0, (2 I) k m])/km
My approach in Sagemath is:
f(x) = exp(-I*x*2*m*k)*((1/x+1)^0.5-1) integral(f, x, 0, infinity)
But Sagemath is asking for assumptions regarding m and k. Im[k m] < 0 would be the appropriate assumption. What would be the right syntax? Thank you very much for your answers.
Best wishes, Chris