summaryrefslogtreecommitdiff
path: root/3557/CH11/EX11.2/Ex11_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3557/CH11/EX11.2/Ex11_2.sce')
-rw-r--r--3557/CH11/EX11.2/Ex11_2.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3557/CH11/EX11.2/Ex11_2.sce b/3557/CH11/EX11.2/Ex11_2.sce
new file mode 100644
index 000000000..df7bd1696
--- /dev/null
+++ b/3557/CH11/EX11.2/Ex11_2.sce
@@ -0,0 +1,14 @@
+//Example11.2//
+pFe=7.87;//Mg/m^3 // Density of iron (From Appendix 1)
+pAl=2.70;//Mg/m^3 // Density of Aluminium (From Appendix 1)
+mFe=25;//kg // resulting mass saving
+a=1;//Mg // given
+b=10^3;//kg //given
+V=(mFe/pFe)*(a/b)
+mprintf("V = %e m^3",V)
+//the mass of new aluminium parts would be
+mAl=pAl*V*(b/a)
+mprintf("\nmAl = %f kg",mAl)
+//the resulting mass saving is then
+m=mFe-mAl
+mprintf("\nm = %f kg",m)