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 --- 2165/CH1/EX1.4/1_4.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 2165/CH1/EX1.4/1_4.sce (limited to '2165/CH1/EX1.4') diff --git a/2165/CH1/EX1.4/1_4.sce b/2165/CH1/EX1.4/1_4.sce new file mode 100755 index 000000000..ff44a3ae2 --- /dev/null +++ b/2165/CH1/EX1.4/1_4.sce @@ -0,0 +1,14 @@ +clc +//initialisation of variables +Cp=0.24//lb/in^2 +Cv=0.18//ft^3 +p1=5//lb/in^2 +T1=20//Degree C +T2=150//Degree C +//CALCULATIONS +W=p1*Cp*(T2-T1)//C.H.U +H=p1*Cv*(T2-T1)//C.H.U +Gamma=Cp/Cv//lb/in^2 +//RESULTS +printf('the constant pressure=% f C.H.U',W) +printf('the constant volume the value of gas=% f lb/in^2',Gamma) -- cgit