SOLVE LINEAR DIFERENTIAL EQUATION WITH ONE UNKNOWN

2 Ansichten (letzte 30 Tage)
Tomás Yamamoto
Tomás Yamamoto am 13 Mär. 2021
Kommentiert: Walter Roberson am 14 Mär. 2021
I have the system of the image, but i want to solve the exatly system but insted of a fixed number where the four goes, i would like to find the range of solutions but with the unknown where the four goes.
I would usually solve this with pencil and paper but my system is 6x6, Thanks in Advance.
AUTHOR edit:
Sorry i think my explanation was not clear, what i would like to solve this ->
eqn1 = du == 3*u + X*v;
eqn2 = dv == -X*u + 3*v;
where X is a parameter, and i would like to find the family of solution's in function of my parameter X.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 13 Mär. 2021
syms u(t) v(t)
du = diff(u,t);
dv = diff(v,t);
eqn1 = du == 3*u + 4*v;
eqn2 = dv == -4*u + 3*v;
sol = dsolve([eqn1, eqn2])
sol = struct with fields:
v: [1×1 sym] u: [1×1 sym]
sol.u
ans = 
sol.v
ans = 
  2 Kommentare
Tomás Yamamoto
Tomás Yamamoto am 14 Mär. 2021
Sorry i think my explanation was not clear, what i would like to solve this ->
eqn1 = du == 3*u + X*v;
eqn2 = dv == -X*u + 3*v;
where X is a parameter, and i would like to find the family of solution's in function of my parameter X.
Walter Roberson
Walter Roberson am 14 Mär. 2021
syms u(t) v(t) X
du = diff(u,t);
dv = diff(v,t);
eqn1 = du == 3*u + X*v;
eqn2 = dv == -X*u + 3*v;
sol = dsolve([eqn1, eqn2])
sol = struct with fields:
v: [1×1 sym] u: [1×1 sym]
simplify(sol.u)
ans = 
simplify(sol.v)
ans = 

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by