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.2/ex2_2.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.2/ex2_2.sce')
-rwxr-xr-x | 3020/CH2/EX2.2/ex2_2.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/3020/CH2/EX2.2/ex2_2.sce b/3020/CH2/EX2.2/ex2_2.sce new file mode 100755 index 000000000..5f69f90bb --- /dev/null +++ b/3020/CH2/EX2.2/ex2_2.sce @@ -0,0 +1,9 @@ +clc;
+clear all
+tw = 6; // Time taken by water in seconds
+ta = 3.6; // Time taken by alcohol in seconds
+rhow= 1e3; // Density of water in Kg per meter cube
+rhoa = 800; // Density of alcohol in Kg per cubic meter
+n1 = 8.9e-4; // Viscosity of water in Newton second per meter square
+n2 = (ta/tw)*(rhoa/rhow)*n1;//The viscosity of alcohol
+disp('N.s/m^2',n2,'The viscosity of alcohol is')
|