summaryrefslogtreecommitdiff
path: root/1052/CH33/EX33.2/332.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1052/CH33/EX33.2/332.sce
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 '1052/CH33/EX33.2/332.sce')
-rwxr-xr-x1052/CH33/EX33.2/332.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1052/CH33/EX33.2/332.sce b/1052/CH33/EX33.2/332.sce
new file mode 100755
index 000000000..0c01ff632
--- /dev/null
+++ b/1052/CH33/EX33.2/332.sce
@@ -0,0 +1,12 @@
+clc;
+//Example 33.2 page no 525
+printf("Example 33.2 page no 525\n\n");
+//unit conversion of poressure given in mmHg into various units
+P=80//pressure given in mmHg
+P1=P*(29.92/760)//pressure , in Hg
+P2=P*(33.91/760)//pressure ,ft H2O
+P3=P2*12//pressure ,in H2O
+P4=P*(14.7/760)//pressure ,psia
+P5=P*(2116/760)//pressure ,psfa
+P6=P*(1.013e+5/760)//pressure ,N/m^2
+printf("\n P1=%f inHg\n P2=%f ft H2O\nP3=%f in H2O\n P4=%f psia\nP5=%f psfa\nP6=%f N/m^2",P1,P2,P3,P4,P5,P6);//in book answers are round off after decimal but there are exact answers