summaryrefslogtreecommitdiff
path: root/3492/CH1/EX1.11
diff options
context:
space:
mode:
Diffstat (limited to '3492/CH1/EX1.11')
-rw-r--r--3492/CH1/EX1.11/Ex1_11.sce35
1 files changed, 35 insertions, 0 deletions
diff --git a/3492/CH1/EX1.11/Ex1_11.sce b/3492/CH1/EX1.11/Ex1_11.sce
new file mode 100644
index 000000000..78d049453
--- /dev/null
+++ b/3492/CH1/EX1.11/Ex1_11.sce
@@ -0,0 +1,35 @@
+clc
+//Chapter1
+//Ex_1.11
+//Given
+//from fig 7.1
+//at 210 degree celcius
+disp("At 210 degree celcius")
+C_L=50 //CL=50% Sn
+C_alpha=18 //C_alpha=18% Sn
+Co=40 // solidification of alloy
+//lever rule
+W_alpha=(C_L-Co)/(C_L-C_alpha)
+disp(W_alpha*100,"weight fraction of alpha in the alloy is")
+W_L=1-W_alpha
+disp(W_L*100,"weight fraction of liquid phase in the alloy is")
+//at 183.5 degree celcius
+disp("At 183.5 degree celcius")
+C_L=61.9 //CL=50% Sn
+C_alpha=19.2 //C_alpha=18% Sn
+Co=40 // solidification of alloy
+//lever rule
+W_alpha=(C_L-Co)/(C_L-C_alpha)
+disp(W_alpha*100,"weight fraction of alpha in the alloy is")
+W_L=1-W_alpha
+disp(W_L*100,"weight fraction of liquid phase in the alloy is")
+//at 182.5 degree celcius
+disp("At 182.5 degree celcius")
+C_beta=97.5 //CL=50% Sn
+C_alpha=19.2 //C_alpha=18% Sn
+Co=40 // solidification of alloy
+//lever rule
+W_alpha=(C_beta-Co)/(C_beta-C_alpha)
+disp(W_alpha*100,"weight fraction of alpha in the alloy is")
+W_beta=1-W_alpha
+disp(W_beta*100,"weight fraction of beta phase in the alloy is")