diff options
Diffstat (limited to '2465/CH4/EX4.16/Example_16.sce')
-rw-r--r-- | 2465/CH4/EX4.16/Example_16.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/2465/CH4/EX4.16/Example_16.sce b/2465/CH4/EX4.16/Example_16.sce new file mode 100644 index 000000000..0b2037a77 --- /dev/null +++ b/2465/CH4/EX4.16/Example_16.sce @@ -0,0 +1,27 @@ +//Chapter-4,Example 16,Page 97
+clc;
+close;
+
+//since the operation is isothermal & hte gas is ideal therefore..
+
+delta_E= 0 // from 1st law of thermodynamics
+
+P= 1 //pressure in atm
+
+V1= 10 // volume in cubic decimeter
+
+V2= 20 // volume in cubic decimeter
+
+W= P*(V2-V1)*(8.314/0.0821) // work done by system
+
+q=W //from 1st law of thermodynamics
+
+delta_H = delta_E + W
+
+printf(' q = %.2f J',q)
+
+printf('\n W = %.2f',W)
+
+printf('\n delta_E = %.f J',delta_E)
+
+printf('\n delta_H = %.2f J',delta_H)
|