How to Integrate specific heat equation on matlab?
5 views (last 30 days)
Show older comments
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!
2 Comments
Answers (1)
Dyuman Joshi
on 3 May 2023
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 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!