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.9/Ex1_9.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 1919/CH1/EX1.9/Ex1_9.sce (limited to '1919/CH1/EX1.9') 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) -- cgit