Solve 2nd Order Non-homogeneous Differential Equation
Show older comments
I need to solve two DEs (as show in the image) to find their solution

The initial conditions are
x(0) = 0
dx/dt(0) = 0
θ(0)=0
dθ/dt=0
I would like to know how I can solve these equations in terms f, r and ω (which are variables in the MATLAB program).
The time span can be taken between 0 and 50 seconds.
Answers (1)
Puru Kathuria
on 27 Oct 2020
1 vote
Hi,
Please look at the relevant links that provides a similar step by step process that might meet your requirements.
- Here is the link of the example that illustrates the process of solving second order differential equation with initial condition
- example that demonstrates the steps to solve a system of differential equations
- ode45
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!