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 /3020/CH2/EX2.1/ex2_1.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 '3020/CH2/EX2.1/ex2_1.sce')
-rwxr-xr-x | 3020/CH2/EX2.1/ex2_1.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3020/CH2/EX2.1/ex2_1.sce b/3020/CH2/EX2.1/ex2_1.sce new file mode 100755 index 000000000..04e5004a2 --- /dev/null +++ b/3020/CH2/EX2.1/ex2_1.sce @@ -0,0 +1,14 @@ +clc;
+clear all;
+n = 8.9e-4; // Co-efficient of viscosity of water in newton second per square meter
+a = 0.054e-2; // Radius of capillary tube in meters
+l = 56e-2; // Length of the capillary tube in meters
+h = 34e-2; // Height of pressure head in meters
+t = 300; // Time of flow in seconds
+g = 9.8; // Gravity Constant
+rho = 1e3; // Density of water in Kg per meter cube
+V = (%pi*h*g*rho*t*(a^4)/(8*n*l));
+mass = V*rho;//mass
+mass1=mass*1e3;//conversion to gm from Kg
+disp('g',mass1,'The mass of water flowing in 5 minutes')
+//there is variation in the answer than book.. there is mistake in book.. checked in calculator also..
|