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/CH1/EX1.7/Ex1_7.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 1919/CH1/EX1.7/Ex1_7.sce (limited to '1919/CH1/EX1.7') diff --git a/1919/CH1/EX1.7/Ex1_7.sce b/1919/CH1/EX1.7/Ex1_7.sce new file mode 100755 index 000000000..527f0044c --- /dev/null +++ b/1919/CH1/EX1.7/Ex1_7.sce @@ -0,0 +1,22 @@ +// Theory and Problems of Thermodynamics +// Chapter 1 +// Basic Concepts +// Example 7 + +clear ;clc; + +//Given data +t = 10 //t = time period for a liquid is heated in minutes +I = 3 // I = current in amperes +V = 200 // V = electric potential in volts +P = 200 // P = opearted power of rating motor in watts + +//Calculate mass of 1 kmol air +t = t * 60; //units conversion minutes to seconds +E_res = V * I * t; //Energy transfered by resistor in J +E_pad = P * t; //Energy transfered by paddle wheel in J +E_tot = E_res + E_pad; //Total energy transfered +E_tot = E_tot/1000; //units conversion J to kJ + +// Results +mprintf('Total enegy transfered = %3.0f kJ', E_tot) -- cgit