diff options
Diffstat (limited to '1922/CH4/EX4.15/4_15.sce')
-rwxr-xr-x | 1922/CH4/EX4.15/4_15.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/1922/CH4/EX4.15/4_15.sce b/1922/CH4/EX4.15/4_15.sce new file mode 100755 index 000000000..25a279598 --- /dev/null +++ b/1922/CH4/EX4.15/4_15.sce @@ -0,0 +1,11 @@ +clc
+clear
+//Initialization of variables
+Hvap=338.14 //kJ/kg
+T=409.3 //K
+//calculations
+dss=Hvap/T
+dg=0
+//results
+printf("change in entropy and gibbs energy of system are %.3f kJ/kg K and %d kJ/kg respectivey",dss,dg)
+printf("\n change in entropy and gibbs energy of universe are %.3f kJ/kg K and %d kJ/kg respectivey",-dss,-dg)
|