summaryrefslogtreecommitdiff
path: root/2144/CH2/EX2.15/exa_2_15.sce
blob: c52a042f88587034815c0d4acf9b388ab54d0f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
// Example 2.15
clc;
clear;
close;
// Given data
Int_energy_changes= 20;// in kJ/kg
Q= 0;// in kJ
W= -90;// in kJ
E= Q-W;// change in internal energy in kJ/kg
m= E/Int_energy_changes;// in kg
disp(m,"The mass of the fluid in the system in kg is : ")