diff options
Diffstat (limited to '575/CH5/EX5.4.3/5_4_3.sce')
-rwxr-xr-x | 575/CH5/EX5.4.3/5_4_3.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/575/CH5/EX5.4.3/5_4_3.sce b/575/CH5/EX5.4.3/5_4_3.sce new file mode 100755 index 000000000..ad9622a25 --- /dev/null +++ b/575/CH5/EX5.4.3/5_4_3.sce @@ -0,0 +1,18 @@ +clc
+pathname=get_absolute_file_path('5_4_3.sce')
+filename=pathname+filesep()+'543.sci'
+exec(filename)
+printf("All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
+disp("Applying newton corrections for Hydrogen,")
+TcaH2=TcH2+8
+PcaH2=PcH2+8
+Tcbar=yH2*TcaH2 + yN2*TcN2
+Pcbar=yH2*PcaH2 + yN2*PcN2
+Trbar=T/Tcbar
+Prbar=P/Pcbar
+printf(" \n Trbar=%f",Trbar)
+printf(" \n Pcbar=%f",Pcbar)
+Zm=1.86
+printf(" \n From the graph, Zm=%f",Zm)
+Vcap=Zm*R*T/P
+printf(" \n Specific Volume of Mixture= %f L/mol",Vcap)
\ No newline at end of file |