From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1919/CH5/EX5.5/Ex5_5.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 1919/CH5/EX5.5/Ex5_5.sce (limited to '1919/CH5/EX5.5/Ex5_5.sce') diff --git a/1919/CH5/EX5.5/Ex5_5.sce b/1919/CH5/EX5.5/Ex5_5.sce new file mode 100755 index 000000000..de758a411 --- /dev/null +++ b/1919/CH5/EX5.5/Ex5_5.sce @@ -0,0 +1,20 @@ + +// Theory and Problems of Thermodynamics +// Chapter 5 +// Second law of Thermodynamics +// Example 5 + +clear ;clc; + +//Given data +n = 0.6 //n = efficiency of carnot engine +COP_R = 5 //TH = High temperature of reservoir + +// To find the energy absorbed from the cold body by the refrigerator for each kJ +QL_Q1 = n * COP_R; // energy in kJ +// n = W/Q1 => W = n*Q1 +// COP_R = QL/W => W = QL/COP_R +// n*Q1 = QL/COP_R => QL/Q1 = n * COP_R + +// Results +mprintf('The energy absorbed from the cold body by the refrigerator for each kJ = %1.0f kJ', QL_Q1) -- cgit