summaryrefslogtreecommitdiff
path: root/599/CH7/EX7.7/example7_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /599/CH7/EX7.7/example7_7.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '599/CH7/EX7.7/example7_7.sce')
-rwxr-xr-x599/CH7/EX7.7/example7_7.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/599/CH7/EX7.7/example7_7.sce b/599/CH7/EX7.7/example7_7.sce
new file mode 100755
index 000000000..9cd10f997
--- /dev/null
+++ b/599/CH7/EX7.7/example7_7.sce
@@ -0,0 +1,18 @@
+
+clear;
+clc;
+printf("\t Example 7.7\n");
+
+s1=139.8; //solubility at 80 degree per 100 gm of water
+s2=110.5; //solubility at 20 degree per 100 gm of water
+w2=174.2; //molecular weight of K2CO3.10H2O
+M1=(138/w2)*100; //water present in 100kg of K2CO3.10H2O
+//let x be the quantity of Na2CO3.10H2O
+x=poly([0],'x'); //calc. x the weight of crystal
+t=roots(500*(139.8/239.8)-.7921*x-(500-x)*110.5/210.5);
+printf("\n the weight of quantity of K2CO3.10H2O formed :%f kg",t);
+
+p=(174/138)*500*(139.8/239.8); //weight of crystal present in the original solution
+yield=t/p; //percentage yield
+printf("\n percentage yield :%f percent",yield*100);
+//end \ No newline at end of file