How to Integrate specific heat equation on matlab?
조회 수: 11 (최근 30일)
이전 댓글 표시
I am new to matlab and I am having a hard time on integrating the equation below on matlab which is necessary for my coding project.
deltaH/deltaT = R*(a+bT+c/T)+dlnT+eT^2)
Please help me, thank you!
답변 (1개)
Dyuman Joshi
2023년 5월 3일
You need to define a, b, c, d, e, r as well, either as numerical values or as symbolic variables -
%Here I have defined a, b, c, d, e, and r as symbolic variables
syms dh T a b c d e r
dh = r*(a+b*T+c/T+d*log(T)+e*T^2);
%taking random values for ta and tref
val = int(dh,T,1,2)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!