summaryrefslogtreecommitdiff
path: root/2465/CH4/EX4.2/Example_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2465/CH4/EX4.2/Example_2.sce')
-rw-r--r--2465/CH4/EX4.2/Example_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2465/CH4/EX4.2/Example_2.sce b/2465/CH4/EX4.2/Example_2.sce
new file mode 100644
index 000000000..d2dbc03d9
--- /dev/null
+++ b/2465/CH4/EX4.2/Example_2.sce
@@ -0,0 +1,11 @@
+//Chapter-4,Example 2,Page 93
+clc;
+close;
+
+q= 990*4.2/10^3 //heat in kiloJoule
+
+w= 8.36*10^9/((10^3)*(10^7)) //work in kiloJoule
+
+delta_E = q-w
+
+printf('the internal energy change of system is %.3f kJ',delta_E)