summaryrefslogtreecommitdiff
path: root/551/CH4/EX4.7/7.sce
diff options
context:
space:
mode:
Diffstat (limited to '551/CH4/EX4.7/7.sce')
-rwxr-xr-x551/CH4/EX4.7/7.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/551/CH4/EX4.7/7.sce b/551/CH4/EX4.7/7.sce
new file mode 100755
index 000000000..0a9620e1e
--- /dev/null
+++ b/551/CH4/EX4.7/7.sce
@@ -0,0 +1,10 @@
+clc
+W_12=-82; //kJ
+Q_12=-45; //kJ
+dU_12=Q_12 - W_12;
+W_21=100; //kJ
+dU_21=-dU_12;
+Q_21=dU_21 + W_21;
+disp("Heat added to the system = ")
+disp(Q_21)
+disp("kJ") \ No newline at end of file