summaryrefslogtreecommitdiff
path: root/167/CH1/EX1.6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /167/CH1/EX1.6
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 '167/CH1/EX1.6')
-rwxr-xr-x167/CH1/EX1.6/ex6.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/167/CH1/EX1.6/ex6.sce b/167/CH1/EX1.6/ex6.sce
new file mode 100755
index 000000000..5260a62f7
--- /dev/null
+++ b/167/CH1/EX1.6/ex6.sce
@@ -0,0 +1,10 @@
+//ques6
+//Measuring Pressure with nanometer
+clc
+Patm=96;//Atmospheric Pressure in kPa
+d=850;//density in Kg/m^3
+g=9.81;//gravitational accelaration
+h=0.55;//hieght in metre
+P=Patm+d*g*h/1000; //Pressure in kPa
+printf("Presure=Patm+ d*g*h=%.1f kPa",P);
+