Ask Your Question

chris42's profile - activity

2021-03-09 11:54:32 +0200 received badge  Notable Question (source)
2019-10-29 11:53:18 +0200 received badge  Popular Question (source)
2013-11-11 09:24:05 +0200 asked a question symbolic integration

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