SOLVE LINEAR DIFERENTIAL EQUATION WITH ONE UNKNOWN

1 次查看(过去 30 天)
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.

采纳的回答

Walter Roberson
Walter Roberson 2021-3-13
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 个评论
Tomás Yamamoto
Tomás Yamamoto 2021-3-14
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 2021-3-14
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 = 

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by