Need to solve a nonlinear ODE using matlab
Show older comments
How can i solve the following nonlinear ODE :
- dεdz=(3*tan(gama)*ms)/(4*pi*rho*n*R^4*(sin(ε)^4)) - (tan(beta)/R*cos(gama))*(1/sin(ε))
- Solve from z=[0 60]
- Initial Condition ε0=0.5503
- R=1.524
- n=1.5
- gama=pi/6
- beta=1
- rho=1380
- ms=29.86
Thanks
Answers (1)
ME
on 10 Mar 2020
0 votes
There are a range of ODE solvers available in MATLAB that could do this. The following link can help you pick which one is most appropriate for your particular use:
There are then links within that page that will show you how to implement them.
2 Comments
Mouna Lhayani
on 10 Mar 2020
ME
on 10 Mar 2020
No problem. If you need any further help then feel free to come back to me.
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!