summaryrefslogtreecommitdiff
path: root/476/CH2/EX2.3/Example_2_3.sce
blob: 2d46aa394bf089df6a1ab88b65bd8782afd06762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//A Textbook of Chemical Engineering Thermodynamics
//Chapter 2
//First Law of Thermodynamics
//Example 3


clear;
clc;


//Given
u = 20; //speed of car in m/s
z = 30; //height vertically above the bottom of hill in m
m = 1400; //mass of car in kg

//To find the heat energy dissipated by brakes
//Using equation 2.3 (Page no. 26)
KE = -0.5*m*(u^2); //change in kinetic energy in J
PE = -m*9.81*z; //change in potential energy in J
Q = -(KE+PE); //heat dissipated by brakes in J
mprintf('Heat dissipated by brakes is %3.2e J',Q);

//end