summaryrefslogtreecommitdiff
path: root/575/CH3/EX3.3.2/3_3_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '575/CH3/EX3.3.2/3_3_2.sce')
-rwxr-xr-x575/CH3/EX3.3.2/3_3_2.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/575/CH3/EX3.3.2/3_3_2.sce b/575/CH3/EX3.3.2/3_3_2.sce
new file mode 100755
index 000000000..05913f28d
--- /dev/null
+++ b/575/CH3/EX3.3.2/3_3_2.sce
@@ -0,0 +1,14 @@
+clc
+pathname=get_absolute_file_path('3_3_2.sce')
+filename=pathname+filesep()+'332.sci'
+exec(filename)
+massA=mass*xA
+printf(" \n Mass of A in %d kg of solution = %f kg A",mass,massA)
+flowrateA=flowrate1*xA
+printf(" \n Mass flow rate of A in a stream flowing at %d lbm/h =%f lbm A/h",flowrate1,flowrateA)
+flowrateB=flowrate2*yB
+printf(" \n Molar flowrate of B in a stream flowing at %d mol/min = %f molB/min",flowrate2,flowrateB)
+Totalflowrate=molarB/yB
+printf(" \n Total flow rate of a solution with %d kmolB/s=%f",molarB,Totalflowrate)
+MassSolution=massofA/xA
+printf(" \n Mass of solution that contains %d lbm of A = %f",massofA,MassSolution) \ No newline at end of file