summaryrefslogtreecommitdiff
path: root/479/CH3/EX3.1/Example_3_1.sce
blob: e9b3d2382110899dd456e763c72b443da7d1a68e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Chemical Engineering Thermodynamics
//Chapter 3
//First Law of Thermodynamics

//Example 3.1
clear;
clc;

//Given
W = -((2*745.6*(10^-3)/4.18)*3600);//work added to the system in Kcal/hr
m = 10;//Amount of fluid in tank in Kg
Q = -378;//Heat losses from the system in Kcal/hr

//To calculate the change in internal energy
delE=(Q-W)/m;// Change in internal energy in Kcal/hr kg
mprintf('Change in Internal energy is %f Kcal/hr Kg',delE);
//end