summaryrefslogtreecommitdiff
path: root/527/CH3/EX3.12/3_12exam.sce
blob: 820df2c91757c01c6dd49ecc9eda9688f7f90ed9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Engineering and Chemical Thermodynamics
// Example 3.12
//Page no:136

clear ; clc ;
//Given 
n_dot = 250 ; // [mol/s]
P_1 = 125 * 10^5 ; // [N/m^2]
V_cap_1 = 5 * 10^-4 ; // [m^3/mol]
P_2 = 8 * 10^5 ; // [N/m^2]

X = 3 * P_1^0.6667 * V_cap_1 * ( P_2^(1/3) - P_1^(1/3)) ;
W_dot_s = n_dot * X * 10^-6 ;

disp(" Example: 3.12   Page no : 136") ;
printf('\n     Power generated = %.1f MW',W_dot_s) ;