summaryrefslogtreecommitdiff
path: root/1427/CH3
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1427/CH3
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1427/CH3')
-rw-r--r--1427/CH3/EX3.1/3_1.sce13
-rw-r--r--1427/CH3/EX3.2/3_2.sce14
-rw-r--r--1427/CH3/EX3.3/3_3.sce8
-rw-r--r--1427/CH3/EX3.5/3_5.sce8
-rw-r--r--1427/CH3/EX3.6/3_6.sce7
-rw-r--r--1427/CH3/EX3.7/3_7.sce11
-rw-r--r--1427/CH3/EX3.8/3_8.sce15
7 files changed, 76 insertions, 0 deletions
diff --git a/1427/CH3/EX3.1/3_1.sce b/1427/CH3/EX3.1/3_1.sce
new file mode 100644
index 000000000..1cad54dff
--- /dev/null
+++ b/1427/CH3/EX3.1/3_1.sce
@@ -0,0 +1,13 @@
+//ques-3.1
+//Calculating weight average and number average molecular mass of polymer
+clc
+n1=10; m1=5000; //Type-1
+n2=20; m2=7500; //Type-2
+n3=20; m3=10000; //Type-3
+n4=25; m4=15000; //Type-4
+n5=20; m5=20000; //Type-5
+n6=5; m6=25000; //Type-6
+N_avg=(n1*m1+n2*m2+n3*m3+n4*m4+n5*m5+n6*m6)/(n1+n2+n3+n4+n5+n6);//Number-average
+W_avg=(n1*m1^2+n2*m2^2+n3*m3^2+n4*m4^2+n5*m5^2+n6*m6^2)/(n1*m1+n2*m2+n3*m3+n4*m4+n5*m5+n6*m6);//Weight average
+printf("The number-average and weight-average molecular mass of polymer are %d and %d repectively.",N_avg,W_avg);
+
diff --git a/1427/CH3/EX3.2/3_2.sce b/1427/CH3/EX3.2/3_2.sce
new file mode 100644
index 000000000..efc0f09c5
--- /dev/null
+++ b/1427/CH3/EX3.2/3_2.sce
@@ -0,0 +1,14 @@
+//ques-3.2
+//Calculating number of molecules of ethene in sample and number of molecues of polyethene produced
+clc
+m=28;//mass of ethene (in g)
+deg=1000;//average degree of polymerisation
+
+//Part (i)
+n1=(m/28)*6.023;//number of molecules of ethene (x10^23)
+printf("The number of molecules of ethene in sample are %.3f x 10^23.\n",n1);
+
+//Part (ii)
+n2=n1/deg;//number of molecules of polyethene (x10^23)
+printf(" The number of polyethene molecules produced are %.3f x 10^20.",n2*1000);
+
diff --git a/1427/CH3/EX3.3/3_3.sce b/1427/CH3/EX3.3/3_3.sce
new file mode 100644
index 000000000..6c2ee0d94
--- /dev/null
+++ b/1427/CH3/EX3.3/3_3.sce
@@ -0,0 +1,8 @@
+//ques-3.3
+//Calculating maximum percentage of Sulphur possible in vulcanized rubber
+clc
+//2 units of isoprene = 2 S atoms
+// 2x68g of isoprene = 2x32g S
+//(68+32)g vulcanized rubber = 32g of S
+m=(32/100)*100;//Maximum percentage of S
+printf("Maximum percentage of sulphur possible in vulcanized rubber is %d.",m);
diff --git a/1427/CH3/EX3.5/3_5.sce b/1427/CH3/EX3.5/3_5.sce
new file mode 100644
index 000000000..91ba3b32c
--- /dev/null
+++ b/1427/CH3/EX3.5/3_5.sce
@@ -0,0 +1,8 @@
+//ques-3.5
+//Calculating weight of HCHO required
+clc
+m=100;//weight of novolac given (in g)
+//2 molecules of novolac = 1 molecule of HCHO
+//2x96g of novolac = 30g of HCHO
+w=(30*m)/(2*96);//weight of HCHO
+printf("Weight of HCHO required for %dg of novolac is %.3fg.",m,w);
diff --git a/1427/CH3/EX3.6/3_6.sce b/1427/CH3/EX3.6/3_6.sce
new file mode 100644
index 000000000..79e481b73
--- /dev/null
+++ b/1427/CH3/EX3.6/3_6.sce
@@ -0,0 +1,7 @@
+//ques-3.6
+//Calculating number of polyethylene molecules formed
+clc
+m=28;//mass of ethylene polymerised (in g)
+deg=500;//average degree of polymerisation of PE
+n=(28*(6.023/28))/deg;//number of PE molecules (x10^23)
+printf("The number of polyethylene molecules formed are %.4f x 10^21.",n*100);
diff --git a/1427/CH3/EX3.7/3_7.sce b/1427/CH3/EX3.7/3_7.sce
new file mode 100644
index 000000000..c3dd969f7
--- /dev/null
+++ b/1427/CH3/EX3.7/3_7.sce
@@ -0,0 +1,11 @@
+//ques-3.7
+//Calculating average degree of polymerisation of a polymer sample
+clc
+//Polymers of DP
+a1=400; p1=10;//Percentage of Type-1
+a2=500; p2=15;//Percentage of Type-2
+a3=600; p3=35;//Percentage of Type-3
+a4=800; p4=15;//Percentage of Type-4
+a5=1000; p5=25;//Percentage of Type-5
+Avg_deg=(a1*p1+a2*p2+a3*p3+a4*p4+a5*p5)/(p1+p2+p3+p4+p5);//Average degree
+printf("Average degree of polymerisation is %d.",Avg_deg);
diff --git a/1427/CH3/EX3.8/3_8.sce b/1427/CH3/EX3.8/3_8.sce
new file mode 100644
index 000000000..70603e74e
--- /dev/null
+++ b/1427/CH3/EX3.8/3_8.sce
@@ -0,0 +1,15 @@
+//ques-3.8
+//Calculating weight average and number average molecular mass of polymer
+clc
+//n=number of repeat units
+M=42;//Molar mass
+//N=number of molecules in 100
+n1=400; N1=25;//Type-1
+n2=800; N2=35;//Type-2
+n3=600; N3=40;//Type-3
+m1=n1*M;//Mass of Type-1
+m2=n2*M;//Mass of Type-2
+m3=n3*M;//Mass of Type-3
+N_avg=(n1*m1+n2*m2+n3*m3)/(n1+n2+n3);//Number-average
+W_avg=(n1*m1^2+n2*m2^2+n3*m3^2)/(n1*m1+n2*m2+n3*m3);//Weight-average
+printf("Number-average and weight-average molecular masses of polymer are %d and %d respectively.",N_avg,W_avg);