December 22, 2024, 09:19:10 PM
Forum Rules: Read This Before Posting


Topic: [Help] solve 2nd order ODE with Matlab  (Read 7332 times)

0 Members and 1 Guest are viewing this topic.

Offline Teixeira

  • Very New Member
  • *
  • Posts: 2
  • Mole Snacks: +0/-0
[Help] solve 2nd order ODE with Matlab
« on: May 21, 2009, 05:23:21 PM »
Hey!
I have a problem.

Last semester, the Maths teacher tell us to use Maxima to solve equations, etc.

The current teacher tell to use Matlab and i almost dont know how to use it.

And i have a heat transfer problem with a 2nd order ODE to solve.
Analiticaly, or using the matlab funcion ODE45 its easy but i have to use the Eulers method combinated with te "shooting" method wich means that i have to split the equation in 2 1st order ODEs and solve the system.

Someone have the Matlab code to solve this type of problem?

2nd order ODE can be a generic funciont f
Boundary conditons, for example y(x1)=y1 and dy/dx(0)=0
step - h

Thanks!

Sponsored Links