summaryrefslogtreecommitdiff
path: root/3557/CH9/EX9.3/Ex9_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3557/CH9/EX9.3/Ex9_3.sce')
-rw-r--r--3557/CH9/EX9.3/Ex9_3.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3557/CH9/EX9.3/Ex9_3.sce b/3557/CH9/EX9.3/Ex9_3.sce
new file mode 100644
index 000000000..08e967f75
--- /dev/null
+++ b/3557/CH9/EX9.3/Ex9_3.sce
@@ -0,0 +1,16 @@
+//Example 9.3//
+
+xss=66;//wt % //solid solution composition
+xL=18;//wt % //liquid solution composition
+x=50;//x is overall composition
+a=1;//kg //weight of alloy
+mL=((xss-x)/(xss-xL))*a;
+mprintf("mL = %f kg ",mL)
+b=10^3;//grams ////As 1kg= 10^3grams
+mL1=mL*b
+mprintf("\nmL1= %i g",mL1)
+mss=((x-xL)/(xss-xL))*a
+mprintf("\nmss = %f kg ",mss)
+mss1=mss*b //As 1kg= 10^3grams
+mprintf("\nmss1=%i g",mss1)
+