summaryrefslogtreecommitdiff
path: root/1586/CH16/EX16.3/EXP16_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1586/CH16/EX16.3/EXP16_3.sce')
-rw-r--r--1586/CH16/EX16.3/EXP16_3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1586/CH16/EX16.3/EXP16_3.sce b/1586/CH16/EX16.3/EXP16_3.sce
new file mode 100644
index 000000000..8ade41b81
--- /dev/null
+++ b/1586/CH16/EX16.3/EXP16_3.sce
@@ -0,0 +1,12 @@
+clc;funcprot(0);//EXAMPLE 16.3
+// Initialisation of Variables
+W1=116;................//Molecular Weight of Hexamethylene Diamine in g/mol
+W2=146;................//Molecular Weight of Adipic Acid in g/mol
+W3=18;.................//Molecular Weight of Water in g/mol
+W=1000;................//Weight of Hexamethylene Diamine in gm
+//Calculations
+N=W/W1;................//No. of Moles of Hexamethylene Diamine
+X=N*W2;................//Weight of Adipic Acid required
+Y=N*W3;................//Weight of Water in gm
+N2=W+X-2*Y;.............//Amount of Nylon Produced
+disp(N2,"Amount of Nylon Produced:")