From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 49/CH6/EX6.7/ex7.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 49/CH6/EX6.7/ex7.sce (limited to '49/CH6/EX6.7/ex7.sce') diff --git a/49/CH6/EX6.7/ex7.sce b/49/CH6/EX6.7/ex7.sce new file mode 100755 index 000000000..3e32f4d67 --- /dev/null +++ b/49/CH6/EX6.7/ex7.sce @@ -0,0 +1,15 @@ +//CHAPTER 6 _ PRESSURE AND SOUND MEASUREMENT +//Caption : McLeod Gage +// Example 7 // Page 362 +disp("Vb=150*10^-6") +disp("d=1.5*10^-3") +disp("a=%pi*d^2/4;") +Vb=150*10^-6 //('enter the volume of the Mc Leod gage=:') +d=1.5*10^-3 //('enter the diameter of capillary=:') +a=%pi*d^2/4; +p=40*10^-6 //('enter the pressure for which the gage reading is to be noted=:') +//y=(-p*area_cap+sqrt((p*area_cap)^2-4*p*area_cap*Vb))/(2*area_cap); +l=p*a; + +y=(sqrt(l^2+(4*l*Vb))-l)/(2*a) +printf('The gage reading comes out to be %fd mof Hg\n',y) -- cgit