Solve 2nd Order ODE: Step by Step Guide

  • Thread starter Thread starter justsmile92
  • Start date Start date
  • Tags Tags
    Second order
Click For Summary
SUMMARY

The discussion focuses on solving a second-order ordinary differential equation (ODE) using numerical methods. The ODE in question is represented as \(\frac{d^2T}{dx^2}+ a(x)\frac{dT}{dx}+ b(x)T= f(x)\). Participants suggest splitting this into two first-order ODEs: \(\frac{dS}{dx}= -a(x)S- b(x)T+ f(x)\) and \(\frac{dT}{dx}= S\). The shooting method with a step size of 0.5 is recommended for solving the system, and Excel is identified as the tool for implementation and plotting the results.

PREREQUISITES
  • Understanding of second-order ordinary differential equations (ODEs)
  • Familiarity with numerical methods, specifically the shooting method
  • Proficiency in using Microsoft Excel for calculations and plotting
  • Basic knowledge of differential equations and their transformations
NEXT STEPS
  • Research the implementation of the shooting method for ODEs
  • Learn how to use Excel for numerical analysis and plotting graphs
  • Study the transformation of second-order ODEs into first-order systems
  • Explore examples of solving ODEs numerically using Excel
USEFUL FOR

Students, engineers, and researchers working with differential equations, particularly those interested in numerical methods and data visualization in Excel.

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

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K