Tricky Integral

gibon

New member
Joined
Oct 19, 2012
Messages
1
Hi guys,

Bit stuck on an integral I need for programming. I need to integrate the following equation but I'm not sure I'm getting the right answer...Any help would be appreciated!

2000*u(du/dx) = - 10*(u.^2+100).*(1+1./exp((u-30).^2))

I'm currently getting:

x=(-200*ln(u)-100*exp((u-30)^2)/(u^2-30*u)-u^2-u*exp((u-30)^2)/(u-30))


Cheers
 
You need to separate variables and do this as

\(\displaystyle \displaystyle 2000\int \dfrac{u \, du}{10(u^2+ 10)(1+ e^{-(u-30)^2}}= \int dx\)

I don't see any straightforward way to integrate that and I certainly don't see how you could have gotten what you say.
 
Last edited by a moderator:
Top