Info

This question is closed. Reopen it to edit or answer.

solving a second order differential with runge-Kutta 4th order

1 view (last 30 days)
Hi i have a problem for writing a runge-kutta 4th order matlab code for solving this equation:
- sinθ = 0
can somone help me?thnak you in advance
  3 Comments
Sam Chak
Sam Chak on 29 Jun 2022
@ali mafi, are you interested in only the numerical solution, or the solution has to be produced from the 100% pure RK4 algorithm?
Jan
Jan on 29 Jun 2022
Convert the 2nd order ODE in a system of 1st order. Then either call ODE45 or use your own RK4 code.
What have you tried so far? Which problems occur? What is your question related to Matlab?

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!