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 --- 479/CH1/EX1.4/Example_1_4.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 479/CH1/EX1.4/Example_1_4.sce (limited to '479/CH1/EX1.4') diff --git a/479/CH1/EX1.4/Example_1_4.sce b/479/CH1/EX1.4/Example_1_4.sce new file mode 100755 index 000000000..18d9ab207 --- /dev/null +++ b/479/CH1/EX1.4/Example_1_4.sce @@ -0,0 +1,19 @@ +//Chemical Engineering Thermodynamics +//Chapter 1 +//Introduction + +//Example 1.4 +clear; +clc; + +//Given +h = 100;//h is the height of the water fall in m +n = .855;//n is the efficiency of the turbine +g = 9.8;//g is the acceleration due to gravity in m/(s^2) +E = 100*10*3600;//E is the potential enery of water available to the bulb for 10 hours in watt or J/s + +//To determine the mass of water required +m = (E/(g*h*n));//m is the mass of water required for lighting the bulb for 10 hours in Kg +mprintf('Mass of water required for lighting the bulb for 10 hours in Kg= %f Kg',m); +mprintf('\n Mass of water required for lighting the bulb for 10 hours in tonnes= %f Kg',m/907.2); +//end -- cgit