Converting 2nd order ODE to first-order system for shooting method

  • Thread starter justsmile92
  • Start date
  • Tags Tags
    Second order
1 reply · 2K views · last reply
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
  • Diagram of a conical stainless steel body between two walls at x = 0 and x = L, with ambient fluid temperatures Ta and TB marked and the interior temperature labelled T(x), followed by the text describing the problem and its ODE.
    screenshot20120414at181.png
    40.2 KB · Views: 505
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]