blob: 14e9ae1454e2e25d9877a8b0c537dd8fce769be4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Finding of Mass,Density,Specific Gravity
//Given
v=2*1*3;
w=3924;
rho=1000;
g=9.81;
wd=rho*g*v;
w1=w+wd;
m=w1/g;
rho1=m/v;
spgr=rho1/rho;
disp("Mass is = "+string(m)+" Kg");
disp("Density is = "+string(rho1)+" Kg/m^3");
disp("Specific Gravity = "+string(spgr)+" No units")
|