Solve 2nd Order ODE: Step by Step Guide

  • Thread starter Thread starter justsmile92
  • Start date Start date
  • Tags Tags
    Second order
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: 464
Physics news on Phys.org
Your second order ODE is
\frac{d^2T}{dx^2}+ a(x)\frac{dT}{dx}+ b(x)T= f(x)

Let S(x)= dT/dx and that becomes
\frac{dS}{dt}+ a(x)S+ b(x)T= f(x)
so your two first order equations are
\frac{dS}{dx}= -a(x)S- b(x)T+ f(x)
\frac{dT}{dx}= S
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Back
Top