diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1019/CH5/EX5.12/Example_5_12.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1019/CH5/EX5.12/Example_5_12.sce')
-rw-r--r-- | 1019/CH5/EX5.12/Example_5_12.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/1019/CH5/EX5.12/Example_5_12.sce b/1019/CH5/EX5.12/Example_5_12.sce new file mode 100644 index 000000000..056a5a6f0 --- /dev/null +++ b/1019/CH5/EX5.12/Example_5_12.sce @@ -0,0 +1,21 @@ +//Example 5.12
+clear;
+clc;
+
+//Given
+HfNH4NO3=-365;//enthalpy of formation of NH4OH in kJ mol^-1
+HfH2=0;//enthalpy of formation of H2 in kJ mol^-1
+HfH2O=-242;//enthalpy of formation of H2O in kJ mol^-1
+HfN2H4=50;//enthalpy of formation of N2H4 in kJ mol^-1
+SoNH4NO3=150;//Standard entropy of NH4NO3 molecule in J K^- mol^-1
+SoH2=130;//Standard entropy of Hydrogen molecule J K^- mol^-1
+SoH2O=189;//Standard entropy of H2O molecule J K^- mol^-1
+SoN2H4=120;//Standard entropy of N2H4 molecule J K^- mol^-1
+T=298;//Temperature in K
+
+//To determine the free energy change
+delHo=(3*HfH2O)+HfN2H4-HfNH4NO3-(3*HfH2);
+delSo=(SoH2O*3)+SoN2H4-SoNH4NO3-(3*SoH2);
+delGo=delHo-(T*delSo*10^(-3));
+mprintf('Free energy change = %f kJ',delGo);
+//end
\ No newline at end of file |