summaryrefslogtreecommitdiff
path: root/3821/CH9/EX9.5/Example9_5.sce
blob: 6945e28324fdeda18f56ca2aaa6195fcc8ec1b99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
///Chapter 9 Law Of Thermodynamics
//Example 9.5 Page No:168
/// Find Change in interval energy
///Input data
clc;
clear;
W=-2000;      //Work input of panddle wheel in KJ
Q1=-6000;     //Heat transferred to the surrounding from tank

//Calculation
deltaU=Q1-W;   //Change in interval energy

///Output
printf('change in interval energy drop= %f  KJ \n',deltaU);