diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /479/CH1/EX1.4/Example_1_4.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '479/CH1/EX1.4/Example_1_4.sce')
-rwxr-xr-x | 479/CH1/EX1.4/Example_1_4.sce | 19 |
1 files changed, 19 insertions, 0 deletions
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
|