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 /1919/CH1/EX1.9 | |
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 '1919/CH1/EX1.9')
-rwxr-xr-x | 1919/CH1/EX1.9/Ex1_9.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/1919/CH1/EX1.9/Ex1_9.sce b/1919/CH1/EX1.9/Ex1_9.sce new file mode 100755 index 000000000..99eece17f --- /dev/null +++ b/1919/CH1/EX1.9/Ex1_9.sce @@ -0,0 +1,22 @@ +// Theory and Problems of Thermodynamics
+// Chapter 1
+// Basic Concepts
+// Example 9
+
+clear ;clc;
+
+//Given data
+m = 5000 // mass of aeroplane in kg
+h = 6000 //aeroplane flying at an altitude in m
+V = 360 //speed of aeroplane in km per hour
+g = 9.81 // gravitationalforce
+//Calculate mass of 1 kmol air
+V = V* 1000/3600; // units conversion km/hour to m/s
+KE = (m * V^2)/2; // kinetic energy in J
+KE = KE/1e6; //units conversion J to MJ
+PE = (m * g * h); // potential energy in J
+PE = PE/1e6; //units conversion J to MJ
+
+// Results
+mprintf('Kinetic energy of aeroplane = %2.0f MJ', KE)
+mprintf('\n Potential energy of aeroplane = %5.1f MJ', PE)
|