summaryrefslogtreecommitdiff
path: root/3526/CH16/EX16.3/EX16_3.sce
blob: 62711b29548197d5cd40281d64b81f5c013e42d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc;funcprot(0);//EXAMPLE 16.3
//page 484
// 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:")