diff options
Diffstat (limited to '167/CH1/EX1.6/ex6.sce')
-rwxr-xr-x | 167/CH1/EX1.6/ex6.sce | 10 |
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);
+
|