summaryrefslogtreecommitdiff
path: root/2165/CH1/EX1.23
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.23
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.23')
-rwxr-xr-x2165/CH1/EX1.23/1_23.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2165/CH1/EX1.23/1_23.sce b/2165/CH1/EX1.23/1_23.sce
new file mode 100755
index 000000000..37d32db84
--- /dev/null
+++ b/2165/CH1/EX1.23/1_23.sce
@@ -0,0 +1,20 @@
+
+clc
+//initialisation of variables
+p=1//lb
+T=200//Degree C
+p1=15//lb/in^2
+v1=4//ft^3
+gama=1.41//lb
+Cv=0.169//lb
+J=1400//lb
+n=1.2
+T=473//F
+v2=16.1//ft^3
+T1=473//F
+//CALCULATIONS
+T2=(p1*v2)/(p*v1)*T1//Degree C
+R=Cv*J*(gama-p)//lb/in^2
+Fhi=0.1772*log(1.317)//rank
+//RESULTS
+printf('the change of entropy from intial conditions=% f rank',Fhi)