How to solve a transcendental differential equation?

3 views (last 30 days)
Hi,
I have a set of differential equations, something like this:
c1 = F(y1,y1',y1'',y2,y2',y2'') + k1*sin(G(y1,y1',y1'',y2,y2',y2''))+k2*sin(H(y1,y1',y1'',y2,y2',y2''))
c2 = k3*cos(G(y1,y1',y1'',y2,y2',y2''))+k4*cos(H(y1,y1',y1'',y2,y2',y2''))
where F,G and H are linear equations depending of y1, y2 and their derivatives; c1, c2, k1, k2, k3, k4 are constants. I cannot express the system as:
y1'' = (y1,y1',y2,y2')
y2'' = (y1,y1',y2,y2')
because the system of equations is transcendental.
How can I solve the differencial equation system? I don't need the algebraic solution, but a numerical solution given an initial value.
Thanks

Answers (1)

Rohit Pappu
Rohit Pappu on 16 Mar 2021
Please refer to this community answer

Tags

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!