How to solve 2nd order ODE solution eg. te^t+e^t, for t?

  • Context: Undergrad 
  • Thread starter Thread starter saxm
  • Start date Start date
  • Tags Tags
    2nd order Ode
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 5K views
saxm
Messages
4
Reaction score
0
Hi,

I have a second order differential equation with a solution in the form:

[tex]f(t) = Ae^{t}+Bte^{t}[/tex]

I want to solve for t, ie. work out for what value of t does the function f(t) have a particular value. But there seems to be no way (that I know of) to do this. Can anyone give me any pointers to what to do here?

Thanks.
 
Physics news on Phys.org
saxm said:
Hi,

I have a second order differential equation with a solution in the form:

[tex]f(t) = Ae^{t}+Bte^{t}[/tex]

I want to solve for t, ie. work out for what value of t does the function f(t) have a particular value. But there seems to be no way (that I know of) to do this. Can anyone give me any pointers to what to do here?

Thanks.

Another way would be to use the Newton-Raphson iterative scheme. Here is a link:

http://nl.wikipedia.org/wiki/Newton-Raphson"

Using this for your equation you get:

[tex]f=\alpha=(A+Bt)e^t[/tex]

from which:

[tex]g=\alpha-(A+Bt)e^t=0[/tex]

The function to be solved. The derivative is found to be:

[tex]g'=-(A+B+Bt)e^t[/tex]

The iterative scheme is now:

[tex]t_{n+1}=t_n+\frac{\alpha-(A+Bt)e^t}{(A+B+Bt)e^t}[/tex]

Start with [itex]t_0=0[/itex], giving for the example [itex]A=B=1[/itex], [itex]\alpha=3[/itex]:

[tex]0[/tex]

[tex]1[/tex]

[tex]0.701213[/tex]

[tex]0.622262[/tex]

[tex]0.617657[/tex]

[tex]0.617642[/tex]

Hope this helps,

coomast
 
Last edited by a moderator:
Maple 12 suggests [tex]t = \text{LambertW}\left( \frac{f\cdot \exp{\frac AB}}B\right) - \frac AB[/tex]

see http://mathworld.wolfram.com/LambertW-Function.html" .
 
Last edited by a moderator: