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/CH8/EX8.21/8_21.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 2165/CH8/EX8.21/8_21.sce (limited to '2165/CH8/EX8.21') diff --git a/2165/CH8/EX8.21/8_21.sce b/2165/CH8/EX8.21/8_21.sce new file mode 100755 index 000000000..6c67b89c4 --- /dev/null +++ b/2165/CH8/EX8.21/8_21.sce @@ -0,0 +1,21 @@ + +clc +//initialisation of variables +v=18//ft^3 +p=14//lb/in^2 +p1=150//lb/in^2 +Cp=0.242//T +Cv=0.171//T +j=1400//ft +R=j*(Cp-Cv)//ft.lb +p2=144//ft +I1=137500//ft/lb +I2=6.37//ft/lb +v2=3.282//ft^3 +//CALCULATIONS +T=(p2*p*v)/R//Degree C +T2=(p2*p1*v2)/(R)//Degree c +W=Cp*(T2-T)+0.00002*[(T2)^2-(T)^2]//C.H.U/lb +C=v/v2//ratio +//RESULTS +printf('The work done the temperatures at the beginning and end of compression ratio=% f ratio',C) -- cgit