How to create an integral function? Trying to solve Cp_b between 2 numbers

1 Ansicht (letzte 30 Tage)
%%Calculate Benzene Duty Q
%From Perry's table 2-153 values for Benzene
C1_b = 162940; %in J/kmol*K
C2_b = -344.94; %in J/kmol*K^2
C3_b = 0.85562; %in J/kmol*K^3
funcCp_b = @(T) (C1_b) + (C2_b*T) + (C3_b*T^2);
Cp_b = int(funcCp_b,T, 379.25, 286.15)

Antworten (1)

madhan ravi
madhan ravi am 22 Feb. 2020
Bearbeitet: madhan ravi am 22 Feb. 2020
clear all
%%Calculate Benzene Duty Q
%From Perry's table 2-153 values for Benzene
C1_b = 162940; %in J/kmol*K
C2_b = -344.94; %in J/kmol*K^2
C3_b = 0.85562; %in J/kmol*K^3
funcCp_b = @(T) (C1_b) + (C2_b*T) + (C3_b*T.^2);
Cp_b = integral(funcCp_b, 379.25, 286.15)
  4 Kommentare

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by