Second order differential equations numerically.

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.

Answers (1)

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.

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

on 26 Jan 2015

Answered:

on 27 Jan 2015

Community Treasure Hunt

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

Start Hunting!