summaryrefslogtreecommitdiff
path: root/1586/CH16/EX16.3/EXP16_3.sce
blob: 8ade41b812d8d7c56289e2dd22a8ef21e911f3ad (plain)
1
2
3
4
5
6
7
8
9
10
11
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:")