Solving an ordinary differential equation.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
John Rettig
am 20 Okt. 2021
Bearbeitet: John Rettig
am 20 Okt. 2021
plot ode: d^2T/dx^2 - (h/(k*t))*(T1-T0) + q/(k*t)
h=10, k=60, t=0.01, T0=10, T1=10, q=800.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 20 Okt. 2021
Q = @(v) sym(v);
h = Q(10);
k = Q(60);
t = Q(0.01);
T0 = Q(10);
T1 = Q(10);
q = Q(800);
syms T(x)
dT = diff(T);
d2T = diff(dT);
eqn = d2T - (h/(k*t)) * (T0-T1) + q/(k*t)
dsolve(eqn)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations 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!