summaryrefslogtreecommitdiff
path: root/2465/CH4/EX4.18/Ex4_18.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 10:59:42 +0530
committerprashantsinalkar2018-02-03 10:59:42 +0530
commitd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (patch)
tree612077a22c8142c0ae754ec11882a4e7d5dc25a4 /2465/CH4/EX4.18/Ex4_18.sce
parentf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (diff)
downloadScilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.gz
Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.tar.bz2
Scilab-TBC-Uploads-d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059.zip
Modified the code
Diffstat (limited to '2465/CH4/EX4.18/Ex4_18.sce')
-rw-r--r--2465/CH4/EX4.18/Ex4_18.sce21
1 files changed, 0 insertions, 21 deletions
diff --git a/2465/CH4/EX4.18/Ex4_18.sce b/2465/CH4/EX4.18/Ex4_18.sce
deleted file mode 100644
index 2c66dc887..000000000
--- a/2465/CH4/EX4.18/Ex4_18.sce
+++ /dev/null
@@ -1,21 +0,0 @@
-//Chapter-4,Example 18,Page 97
-clc();
-close();
-
-T1= 300 //temperature in Kelvin
-
-T2= 363 //temperature in Kelvin
-
-P1= 1 //pressure in atm
-
-P2=7 //pressure in atm
-
-Cv=5
-
-R=2 //gas constant
-
-Cp=Cv+R
-
-delta_S= Cp*log(T2/T1)+R*log(P1/P2) //entropy change
-
-printf('the entropy change is %.4f cal/deg ', delta_S)