Filter löschen
Filter löschen

Integration problem for a scalar

2 Ansichten (letzte 30 Tage)
Thomas Mroczkowski
Thomas Mroczkowski am 11 Dez. 2020
Beantwortet: Walter Roberson am 11 Dez. 2020
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);

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 11 Dez. 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)

Weitere Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by