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 /1187/CH6/EX6.4/4.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 '1187/CH6/EX6.4/4.sce')
-rwxr-xr-x | 1187/CH6/EX6.4/4.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/1187/CH6/EX6.4/4.sce b/1187/CH6/EX6.4/4.sce new file mode 100755 index 000000000..ef1805894 --- /dev/null +++ b/1187/CH6/EX6.4/4.sce @@ -0,0 +1,18 @@ +clc
+
+d_p=0.05; // diameter of piston in m
+d_c=0.0504; // diameter of cylinder in m
+SG=0.87;
+rho_w=1000; // kg/m^3
+v=10^-4; // m^2/s
+dp=1.4*10^6; // Pa
+l=0.13; // m
+
+c=(d_c-d_p)/2; // clearance
+
+u=SG*rho_w*v; // Dynamice viscocity
+
+Vp=dp*c^3/(6*u*l*(d_p/2+c));
+disp("Velocity of the dashpot =")
+disp(Vp)
+disp("m/s")
\ No newline at end of file |