How to Integrate specific heat equation on matlab?

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 Kommentare

What have you tried yet?
Here are some hints to help you - syms and int
I tried doing this, but the answer that I get is wrong. My goal is to find the formula of delta H and solve for ta.
syms dh T
dh = r*(a+b*T+c/T+d*log(T)+e*T^2);
int (dh,T,ta,tref)

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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)
val = 

Gefragt:

am 3 Mai 2023

Beantwortet:

am 3 Mai 2023

Community Treasure Hunt

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

Start Hunting!

Translated by