SOLVE LINEAR DIFERENTIAL EQUATION WITH ONE UNKNOWN

1 visualizzazione (ultimi 30 giorni)
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.

Risposta accettata

Walter Roberson
Walter Roberson il 13 Mar 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 Commenti
Tomás Yamamoto
Tomás Yamamoto il 14 Mar 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 il 14 Mar 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 = 

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Mathematics in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by