Second order differential equations numerically.
Afficher commentaires plus anciens
I'm trying to solve 2 second order diff equations numerically. y1' '=y2-2y1 and y2' '=y1-2y2.
I'm new to matlab and I'm trying to solve it without the initial condition. Is it possible? Is so how?
Thanks in advance.
Réponses (1)
Torsten
le 27 Jan 2015
0 votes
y1(x) = 1/6 c_2 (3 sin(x)+sqrt(3) sin(sqrt(3) x))+1/6 c_4 (3 sin(x)-sqrt(3) sin(sqrt(3) x))+1/2 c_1 (cos(x)+cos(sqrt(3) x))+1/2 c_3 (cos(x)-cos(sqrt(3) x))
y2(x) = 1/6 c_2 (3 sin(x)-sqrt(3) sin(sqrt(3) x))+1/6 c_4 (3 sin(x)+sqrt(3) sin(sqrt(3) x))+1/2 c_1 (cos(x)-cos(sqrt(3) x))+1/2 c_3 (cos(x)+cos(sqrt(3) x))
where c1, c2, c3, c4 are constants to be determined by the initial conditions.
help dsolve
Best wishes
Torsten.
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!