summaryrefslogtreecommitdiff
path: root/1538/CH12/EX12.2/Ex12_2.sce
blob: 4ada9a5cda29fe55e0f048b91cb70f5e42ffc3e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//example-12.2
//page no-382
//given
//degree of polymerization of teflon
DOP=100000
//chemical formula of teflon is C2F4
//molecular weight of monomer teflon
Mm=2*12+4*19
//molecular weight of teflon polymer
Mp=DOP*Mm
//molecular weight of polythene monomer i.ee C2H4
MmP=2*12+4*1
//molecular weight of polythene polymer
MpP=DOP*MmP
printf ("molecular weight of PTFE anf Polythene are %d and %d",Mm,MpP)
//ratio of molecular weight of PTFE and Polythene
R=Mp/MpP
printf ("the ration of molecular weight of PTFE and Polythene having same DOP is %f",R)