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
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