diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /49/CH6/EX6.7/ex7.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '49/CH6/EX6.7/ex7.sce')
-rwxr-xr-x | 49/CH6/EX6.7/ex7.sce | 15 |
1 files changed, 15 insertions, 0 deletions
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)
|