summaryrefslogtreecommitdiff
path: root/2165/CH1/EX1.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2165/CH1/EX1.4
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2165/CH1/EX1.4')
-rwxr-xr-x2165/CH1/EX1.4/1_4.sce14
1 files changed, 14 insertions, 0 deletions
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)