Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

modelling in matlab of differential equation

1 visualizzazione (ultimi 30 giorni)
vishnuvardhan naidu tanga
vishnuvardhan naidu tanga il 30 Gen 2020
Chiuso: MATLAB Answer Bot il 20 Ago 2021
Can someone pls tell me how to model this equation in matlab.
M*C_p*dt_a/dt = (Q-(m*(h_w-h_s))-(rho_w*V_w*(dh_w/dt)));
Where M = 10
C_p = 385
Q = 2000
m_dot = 1
h_w = 104.86
h_s = 2707
rho_w = 1000
V_w = 10
  1 Commento
John D'Errico
John D'Errico il 30 Gen 2020
A differential equation already is a model.
Do you want to model a model? So approximate the differneitial equation using one of the many techniques that exist to do so?
Seriously, I assume you want to solve it?

Risposte (1)

J Chen
J Chen il 30 Gen 2020
Modificato: J Chen il 30 Gen 2020
you need an equation for dhw/dt, then use a matlab ode solver to solve the equations. see https://www.mathworks.com/help/matlab/ref/ode45.html

Community Treasure Hunt

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

Start Hunting!

Translated by