Second order differential equations numerically.
Mostrar comentarios más antiguos
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.
Respuestas (1)
Torsten
el 27 de En. de 2015
0 votos
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.
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!