Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.1K Views
|
4 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Compute definite integrals with tanh? no output

Posted 2 years ago

I am trying to compute the following definite integral,

Integrate[Sqrt[g*m]Divide[Tanh[Divide[Sqrt[g*k],Sqrt[m]]x],Sqrt[k]],{x,0,x}]

(Paste this into Wolfram to see it)

If you are too lazy, it is basically the definite integral from 0 to x of some constants multiplied by tanh(constants*x) dx

For some reason, even though I have Wolfram Pro, it attempts to compute this integral for less than 10 seconds, then just stops, with no answer, no error message, nothing.

What is going on? Is the integral simply too hard for Wolfram to compute? Please help.

POSTED BY: Ron Ellenbogen
4 Replies

For me it seem to be way faster if it is done like so:

anitDeriv = Integrate[Sqrt[g*m] Divide[Tanh[Divide[Sqrt[g*k], Sqrt[m]] x], Sqrt[k]], x];
integ = anitDeriv (*at x anyway*) - (anitDeriv /. x -> 0)

It would be interesting to know what the reason for this effect might be.

POSTED BY: Henrik Schachner
POSTED BY: Gianluca Gorni
Posted 2 years ago
POSTED BY: Rohit Namjoshi
Posted 2 years ago

Thank you so much

POSTED BY: Ron Ellenbogen
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard