summaryrefslogtreecommitdiff
path: root/3557/CH9/EX9.4/Ex9_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3557/CH9/EX9.4/Ex9_4.sce')
-rw-r--r--3557/CH9/EX9.4/Ex9_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3557/CH9/EX9.4/Ex9_4.sce b/3557/CH9/EX9.4/Ex9_4.sce
new file mode 100644
index 000000000..7eae46dda
--- /dev/null
+++ b/3557/CH9/EX9.4/Ex9_4.sce
@@ -0,0 +1,15 @@
+//Example 9.4//
+
+xfe3c=6.69;//wt % //Fe3C composition
+x=0.77;//wt % //x is the overall composition
+xa=0;//wt % //composition of two phases
+a=1;//kg
+ma=((xfe3c-x)/(xfe3c-xa))*a
+mprintf("ma = %f kg ",ma)
+b=10^3;//g //As 1kg = 10^3grams
+ma1=ma*b
+mprintf("\nma1 = %i g ",ma1)
+mfe3c=((x-xa)/(xfe3c-xa))*a
+mprintf("\nmfe3c = %f kg ",mfe3c)
+mfe3c1=mfe3c*b
+mprintf("\nmfe3c1 = %i g",mfe3c1)