Solve the Pendulum problem 2θ¨=-2sinθ-3θ˙

Respuestas (2)

Torsten
Torsten el 6 de Sept. de 2023
Movida: Torsten el 6 de Sept. de 2023

1 voto

Write your equation as a system of two first-order equations and use ode45 to solve.
Sam Chak
Sam Chak el 7 de Sept. de 2023

0 votos

If you are determined to learn solving differential equations using MATLAB, there are various examples in the following links:
You will appreciate what MATLAB/Simulink and various useful toolboxes can do for you.
For my coursemates, who struggle with comprehending that can be equivalently rewritten as:
where and , I usually recommend the popular Polymath to them as a start for tackling differential equations with ease. It is a Graphical User Interface (GUI)-based math solver where the user simply needs to:
  1. Enter a math problem (1st-order differential equations and initial values) in plain text, and
  2. Press the 'Solve' button to get a numeric solution.

Categorías

Más información sobre Numerical Integration and Differential Equations en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 6 de Sept. de 2023

Respondida:

el 7 de Sept. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by