summaryrefslogtreecommitdiff
path: root/1436/CH2/EX2.5/ex2_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1436/CH2/EX2.5/ex2_5.sce')
-rwxr-xr-x1436/CH2/EX2.5/ex2_5.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1436/CH2/EX2.5/ex2_5.sce b/1436/CH2/EX2.5/ex2_5.sce
new file mode 100755
index 000000000..218927709
--- /dev/null
+++ b/1436/CH2/EX2.5/ex2_5.sce
@@ -0,0 +1,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)