diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3821/CH13/EX13.3/Example13_3.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3821/CH13/EX13.3/Example13_3.sce')
-rw-r--r-- | 3821/CH13/EX13.3/Example13_3.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3821/CH13/EX13.3/Example13_3.sce b/3821/CH13/EX13.3/Example13_3.sce new file mode 100644 index 000000000..3117d4673 --- /dev/null +++ b/3821/CH13/EX13.3/Example13_3.sce @@ -0,0 +1,21 @@ +////Chapter 13 Steam Engines
+////Example 13.2 Page No 285
+///Find Mean Effective pressure
+///Input data
+clc;
+clear;
+P1=14; //Steam is ssupplied in bar
+P6=6; //Pressure at the end in bar
+Pb=1.2; //Pressure at back in bar
+a=0.1;
+re=4;
+//From hyperbolic process
+b=0.4;
+
+///Calculation
+//Mean Effective pressure in N/m^2
+Pm=P1*((1/re)+((1/re)+a)*log((1+a)/((1+re)+a)))-Pb*((1+b)+(a+b)*log((a+b)/a));
+
+
+//Output
+printf('Mean Effective pressure= %f N/m^2 \n',-Pm);
|