summaryrefslogtreecommitdiff
path: root/3718/CH12/EX12.1/Ex12_1.sce
blob: 31fc2df6b0926924565aa861185b39dfc8b842cb (plain)
1
2
3
4
5
6
7
8
9
10
11
//Chapter 12: Polymers and Polymerization
//Problem: 1
clc;

//Declaration of Variable
Mwt = 21150             // in g per mol

// Solution
m = 2 * 12 + 3 * 1.008 + 1 * 35.45      // g per mer
n = Mwt / m
mprintf("The degree of polymerization is %d",n)