Energy Balance Differential Equation
조회 수: 5 (최근 30일)
이전 댓글 표시
What would be the best way to solve the equation as shown in the attached PDF please?
댓글 수: 2
darova
2020년 1월 17일
YOu have two undefined functions T and P but only one equation. SOmething is wrong
답변 (2개)
Guru Mohanty
2020년 1월 22일
Hi, I understand you are trying to solve the equation. You can do this using dsolve. Here is a sample code.
clc;
clear all;
syms rho cp T(t) mn V Tin P(t) heff Tamb k
P=k*T; % Ideal Gas Equation
eqn= rho*cp*diff(T,1) + mn*cp*(T-Tin)/V - diff(P,1) + heff*(T-Tamb) ==0;
T_sol=dsolve(eqn);
disp(T_sol);
댓글 수: 1
Nicola De Noni
2022년 8월 22일
cp*M*(dT/dt)= - U*A*(T-T_out(t))
In this energy balance I want to plot the temperature profile.
How can I manage the temperature T_out that changes in time?
Thanks!
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!