summaryrefslogtreecommitdiff
path: root/167/CH1/EX1.6/ex6.sce
blob: 5260a62f7ceae4ec4eb12109bed25b30745c2677 (plain)
1
2
3
4
5
6
7
8
9
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);