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 --- 2339/CH3/EX3.19.1/Ex3_19.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 2339/CH3/EX3.19.1/Ex3_19.sce (limited to '2339/CH3/EX3.19.1') diff --git a/2339/CH3/EX3.19.1/Ex3_19.sce b/2339/CH3/EX3.19.1/Ex3_19.sce new file mode 100755 index 000000000..c1fadba4f --- /dev/null +++ b/2339/CH3/EX3.19.1/Ex3_19.sce @@ -0,0 +1,24 @@ +clc +clear + +//Inputs +//The Values in the program are as follows: +//Temperature in Celcius converted to Kelvin(by adding 273) +//Pressure in bar converted to kPa (by multiplying 100) +//Volume in m^3 +//Value of R,Cp and Cv in kJ/kg K +T1=27+273; +V1=0.06; +P1=150; +Ro=8.314; +M=28; + +R=Ro/M; +m=(P1*100*V1)/(R*T1); +printf('Mass of gas at design condition: %2.1f kg',m); +printf('\n'); + +P2=170; +T2=(T1*P2)/P1; +printf('Fusible plug should melt at: %3.0f K',T2); +printf('\n'); -- cgit