From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1442/CH16/EX16.1/16_1.sce | 16 ++++++++++++++++ 1442/CH16/EX16.2/16_2.sce | 15 +++++++++++++++ 2 files changed, 31 insertions(+) create mode 100755 1442/CH16/EX16.1/16_1.sce create mode 100755 1442/CH16/EX16.2/16_2.sce (limited to '1442/CH16') diff --git a/1442/CH16/EX16.1/16_1.sce b/1442/CH16/EX16.1/16_1.sce new file mode 100755 index 000000000..79720c9ca --- /dev/null +++ b/1442/CH16/EX16.1/16_1.sce @@ -0,0 +1,16 @@ +clc +//initialisation of variables +m= 10 //kg +R= 8.314 //J/mol K +k= 1.4 +M= 29 //kg +TA= 20 //C +TB= 200 //C +//CALCULATIONS +T= (TA+TB)/2 +dS= 0.5*m*R*log((273.15+T)^2/((273.15+TA))*(273.15+TB))/((k-1)*M) +//RESULTS +printf (' entropy at the equillibrium state= %.4f kJ/K',dS) + + +//answer GIVEN IN THE TEXTBOOK IS WRONG diff --git a/1442/CH16/EX16.2/16_2.sce b/1442/CH16/EX16.2/16_2.sce new file mode 100755 index 000000000..47e3638b6 --- /dev/null +++ b/1442/CH16/EX16.2/16_2.sce @@ -0,0 +1,15 @@ +clc +//initialisation of variables +psat= 143.3 //kPa +R= 8.314 //J/mol K +T= 110 //C +m= 18.02 //gms +pv= 150 //kPa +v= 0.001052 //m^3/kg +s= 10^-3 +//CALCULATIONS +PL= psat+((R*(273.15+T)/(m*0.0010502))*log(pv/psat)) +D= (4*s/(PL-pv))*(75.64-13.91*(T/100)-3*(T/100)^2)*10^3 +//RESULTS +printf (' equilibrium pressure= %.f kPa',PL-13) +printf (' \n diameter of droplet= %.4f mm',D) -- cgit