MATLAB: How to solve a second order differential equation using Euler’s method

differential equationshomework

How to solve a second order differential equation (boundary value problem) using Euler's Method without using inbuilt matlab functions such as ode45?

Best Answer

If you define

F=@(y,x)[y(2);2*y(1)+8*x*(9-x)]

you can work with the code from above.

Best wishes

Torsten.

Related Question