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.1/Ex5_1.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 1919/CH5/EX5.1/Ex5_1.sce (limited to '1919/CH5/EX5.1/Ex5_1.sce') diff --git a/1919/CH5/EX5.1/Ex5_1.sce b/1919/CH5/EX5.1/Ex5_1.sce new file mode 100755 index 000000000..f56cf76c0 --- /dev/null +++ b/1919/CH5/EX5.1/Ex5_1.sce @@ -0,0 +1,21 @@ + +// Theory and Problems of Thermodynamics +// Chapter 5 +// Second law of Thermodynamics +// Example 1 + +clear ;clc; + +//Given data +Q = 100 // energy absorbed in kJ +W = 50 // work done in kJ + +// Calculations +U2_1 = Q - W // U2_1 = U2 - U1 + +// if it is to be restored to state 1 through an adiabatic process, then +del_U = - U2_1 // U2_1 = - (U1 - U2) + +net_W = U2_1 + del_U // in kJ + +mprintf('According to the second law of thermodynamics, \n The system cannot be restored to its original state by adiabatic process') -- cgit