MATLAB Answers

Need to solve a nonlinear ODE using matlab

1 view (last 30 days)
Mouna Lhayani
Mouna Lhayani on 10 Mar 2020
Commented: ME on 10 Mar 2020
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

  0 Comments

Sign in to comment.

Answers (1)

ME
ME on 10 Mar 2020
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

ME
ME on 10 Mar 2020
No problem. If you need any further help then feel free to come back to me.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!