summaryrefslogtreecommitdiff
path: root/551/CH4/EX4.1/1.sce
blob: 82b6ad3e1c7563bfafa725a469bc11e5d9778056 (plain)
1
2
3
4
5
6
7
clc
Q=-50; //kJ/kg
W=-100; //kJ/kg
dU=Q-W;
disp("gain in internal energy = ")
disp(dU)
disp("kJ/kg")