Second order differential equations numerically.
Ältere Kommentare anzeigen
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.
Antworten (1)
Torsten
am 27 Jan. 2015
0 Stimmen
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.
Kategorien
Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!