summaryrefslogtreecommitdiff
path: root/3526/CH10/EX10.8/EX10_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3526/CH10/EX10.8/EX10_8.sce')
-rw-r--r--3526/CH10/EX10.8/EX10_8.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3526/CH10/EX10.8/EX10_8.sce b/3526/CH10/EX10.8/EX10_8.sce
new file mode 100644
index 000000000..5f70c9cf3
--- /dev/null
+++ b/3526/CH10/EX10.8/EX10_8.sce
@@ -0,0 +1,10 @@
+clc;funcprot(0);//EXAMPLE 10.8
+//page 295
+// Initialisation of Variables
+%Nia=40;......//no, of grams of nickel in alloy at alla temperature
+%NiL=32;......//Mass of Nickel present in Liquid
+%Nialpha=45;......//Mass of NIckel present in alpha
+//CALCULATIONS
+x=(%Nia-%NiL)/(%Nialpha-%NiL);.....//Mass fraction of alloy in percent
+disp(x,"Mass fraction of alloy in percent:")
+printf("By converting 62percent alpha and 38percent Liquid are present.:")