diff options
Diffstat (limited to '2465/CH4/EX4.11/Example_11.sce')
-rw-r--r-- | 2465/CH4/EX4.11/Example_11.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2465/CH4/EX4.11/Example_11.sce b/2465/CH4/EX4.11/Example_11.sce new file mode 100644 index 000000000..da8cc6183 --- /dev/null +++ b/2465/CH4/EX4.11/Example_11.sce @@ -0,0 +1,17 @@ +//Chapter-4,Example 11,Page 96
+clc;
+close;
+
+R= 8.31 //gas constant
+
+T= 273+25 // temperature in Kelvin
+
+P1= 2 //pressure in atm
+
+P2= 1 //pressure in atm
+
+w= 2.303 *R*T*log10(P1/P2) //maximum work
+
+printf('maximum work done is %.f J', w)
+
+//mistake in textbook
|