summaryrefslogtreecommitdiff
path: root/632/CH11/EX11.7/example11_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '632/CH11/EX11.7/example11_7.sce')
-rwxr-xr-x632/CH11/EX11.7/example11_7.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/632/CH11/EX11.7/example11_7.sce b/632/CH11/EX11.7/example11_7.sce
new file mode 100755
index 000000000..d29546734
--- /dev/null
+++ b/632/CH11/EX11.7/example11_7.sce
@@ -0,0 +1,7 @@
+//clc()
+//work is done on the system, hence, W is negative
+W = - 2 * 745.7;//J/s
+//heat is transferres to the surrounding, hence, heat transferred is negative,
+Q = -3000;//kJ/h
+U = Q*1000/3600 - W;
+disp("J/s",U,"Change in internal energy = ") \ No newline at end of file