blob: 218927709102d0636f5115187accac2a67a30991 (
plain)
1
2
3
4
5
6
7
8
9
|
// Example 2.5, page no-117
clear
clc
spe_grav_water=1
spe_grav_X=spe_grav_water*100/50
wt_dens_water=1000
wt_dens_X=wt_dens_water*2
printf("Weight Density of X = %d kg/m^3",wt_dens_X)
|