summaryrefslogtreecommitdiff
path: root/3718/CH12/EX12.4/Ex12_4.sce
blob: 1cce9e5a3bb21bc0f923b427b855a9197d502ce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Chapter 12: Polymers and Polymerization
//Problem: 4
clc;

//Declaration of Constant
Na = 6.022 * 10 ** 23       // Avogadros number

// Variables
wt_ethylene = 28            // g
deg = 500

// Solution
n = Na / deg

mprintf("28 g of ethylene contains %.3e molecules\n",Na)
mprintf(" No. of polyethylene formed %.3e molecules",n)