Clear Filters
Clear Filters

Integration problem for a scalar

1 view (last 30 days)
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);

Accepted Answer

Walter Roberson
Walter Roberson on 11 Dec 2020
syms T2
A = SH(1,1);
B = SH(1,2);
C = SH(1,3);
Cp = A + (B * T2) + (C * (T2^2));
int(Cp, T2)

More Answers (0)

Categories

Find more on Symbolic Math Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!