Solve 2nd Order ODE: Step by Step Guide

  • Thread starter Thread starter justsmile92
  • Start date Start date
  • Tags Tags
    Second order
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
justsmile92
Messages
1
Reaction score
0
Please see the attached description of the problem I need to split the second-order o.d.e to two first-order o.d.e's.
(numerically)

Then use the shooting method with a 0.5 step size to solve the system of equations.
(This needs to be done on an excel spreadsheet)

Then to plot the temperature along the body.
(not sure how to do this)

I don't know where to start! Can anyone help!
 

Attachments

  • screenshot20120414at181.png
    screenshot20120414at181.png
    40.2 KB · Views: 492
Physics news on Phys.org
Your second order ODE is
[tex]\frac{d^2T}{dx^2}+ a(x)\frac{dT}{dx}+ b(x)T= f(x)[/tex]

Let S(x)= dT/dx and that becomes
[tex]\frac{dS}{dt}+ a(x)S+ b(x)T= f(x)[/tex]
so your two first order equations are
[tex]\frac{dS}{dx}= -a(x)S- b(x)T+ f(x)[/tex]
[tex]\frac{dT}{dx}= S[/tex]