summaryrefslogtreecommitdiff
path: root/632/CH3/EX3.15/example3_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '632/CH3/EX3.15/example3_15.sce')
-rwxr-xr-x632/CH3/EX3.15/example3_15.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/632/CH3/EX3.15/example3_15.sce b/632/CH3/EX3.15/example3_15.sce
new file mode 100755
index 000000000..1db339675
--- /dev/null
+++ b/632/CH3/EX3.15/example3_15.sce
@@ -0,0 +1,18 @@
+//clc()
+mwater = 100;//kg
+mNaCl = 35.8;//kg
+msolu = mwater + mNaCl;
+mfr = mNaCl / msolu;
+mpr = mfr * 100;
+MNaCl = 58.45;//kg/kmol
+NNaCl = mNaCl / MNaCl;
+MH2O = 18;//kg/kmol
+NH2O = mwater / MH2O;
+Mfr = NNaCl / (NNaCl + NH2O);
+Mpr = Mfr * 100;
+N = NNaCl *1000 / mwater;
+disp(mfr,"(a)mass fraction of NaCl =")
+disp(mpr,"mass percent of NaCl= ")
+disp(Mfr,"(b)mole fraction of NaCl =")
+disp(Mpr,"mole percent of NaCl = ")
+disp(N,"kmol NaCl per 1000 kg of water =") \ No newline at end of file