summaryrefslogtreecommitdiff
path: root/3758/CH1/EX1.6/Ex1_6.sce
blob: bba6962c6abde7a9574d0ec8071ff0370d841b4e (plain)
1
2
3
4
5
6
7
8
clc;
u=4.9*10^-4; //dynamic viscosity in kg sec/m^2
k=3.49*10^-2; //kinematic viscosity in stokes 
k=3.49*10^-6; //converting kinematic viscosity in stokes to m^2/sec
w=102; // mass density of water in kg/m^3
m=u/k; //calculating mass density in kg/m^3
s=m/w; // calculating specific gravity of liquid
printf(' specific gravity of liquid is %f',s);