MATLAB: Integration problem for a scalar

integrationMATLAB

The code below generates Cp based off my program. Cp is a scalar. How would I write the integral of Cp with respect to Temp2? There are no specific bounds for this integration.
T2=78
A = SH(1,1);
B = SH(1,2);
C = SH(1,3);
Cp = A + (B * T2) + (C * (T2^2));
fun= @(T2)Cp;
DeltaH = integral(fun,0,inf);

Best Answer

syms T2
A = SH(1,1);
B = SH(1,2);
C = SH(1,3);
Cp = A + (B * T2) + (C * (T2^2));
int(Cp, T2)