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 --- 647/CH2/EX2.3/Example2_3.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 647/CH2/EX2.3/Example2_3.sce (limited to '647/CH2/EX2.3/Example2_3.sce') diff --git a/647/CH2/EX2.3/Example2_3.sce b/647/CH2/EX2.3/Example2_3.sce new file mode 100755 index 000000000..61495e31d --- /dev/null +++ b/647/CH2/EX2.3/Example2_3.sce @@ -0,0 +1,23 @@ +clear; +clc; + +// Example: 2.3 +// Page: 40 + +printf("Example: 2.3 - Page: 40\n\n"); + +// Solution + +//*****Data*****// +W = -3;// [hp] +Q = -4000;// [kJ/h] +//**************// + +// The work done by the stirrer on the system is given by +W = W*745.7;// [W] +// The amount of heat transferred to the suroundings can be expressed in terms of J/s: +Q = Q*1000/3600;// [J/s] +// From the first law of thermodynamics: +// Q = delta_U - W +delta_U = Q - W;// [J/s] +printf("The change in the internal energy of the system would be %.2f J/s\n",delta_U); \ No newline at end of file -- cgit