Azzera filtri
Azzera filtri

Integration problem for a scalar

1 visualizzazione (ultimi 30 giorni)
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);

Risposta accettata

Walter Roberson
Walter Roberson il 11 Dic 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)

Più risposte (0)

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by