MATLAB for Engineers, 5th Edition Solution Manual
Unlock the answers to every textbook problem with MATLAB for Engineers, 5th Edition Solution Manual, making studying more efficient and effective.
Zoe Jordan
Contributor
4.2
53
4 months ago
Preview (16 of 606)
Sign in to access the full document!
Example 1.1
The text book version of this problem was performed in the command window. This version of the
problem is solved using a Live Script
E = 385e24 %Define the rate of energy consumption in J/sec
E = 3.85e+26
E = E*366*24 %Find the energy consumed in one day, in J
E = 3.3818e+30
c = 3.0e8 % Define the speed of light in m/s
c = 300000000
m = E/c^2 % Calculate the mass consumed using Einstein's equation
m = 3.7576e+13
The text book version of this problem was performed in the command window. This version of the
problem is solved using a Live Script
E = 385e24 %Define the rate of energy consumption in J/sec
E = 3.85e+26
E = E*366*24 %Find the energy consumed in one day, in J
E = 3.3818e+30
c = 3.0e8 % Define the speed of light in m/s
c = 300000000
m = E/c^2 % Calculate the mass consumed using Einstein's equation
m = 3.7576e+13
EXAMPLE 2.1
SCALAR OPERATIONS
Wind tunnels (see Figure 2.6) play an important role in our study of the behavior of high-performance
aircraft. In order to interpret wind tunnel data, engineers need to understand how gases behave. The
basic equation describing the properties of gases is the ideal gas law, a relationship studied in detail in
freshman chemistry classes. The law states that
PV = nRT
where P = pressure in kPa,
V = volume in m3,
n = number of kmoles of gas in the sample,
R = ideal gas constant, 8.314 kPa m3/kmol K, and
T = temperature, expressed in kelvins (K).
In addition, we know that the number of kmoles of gas is equal to the mass of the gas divided by the
molar mass (also known as the molecular weight) or
n = m/MW
where
m = mass in kg and
MW= molar mass in kg/kmol.
Different units can be used in the equations if the value of R is changed accordingly.
Figure 2.6 Wind tunnels are used to test aircraft designs. (Louis Bencze/Getty Images Inc., Stone
Allstock.)
Now suppose you know that the volume of air in the wind tunnel is 1000 m3. Before the wind tunnel is
turned on, the temperature of the air is 300 K, and the pressure is 100 kPa. The average molar mass
(molecular weight) of air is approximately 29 kg/kmol. Find the mass of the air in the wind tunnel.
To solve this problem, use the following problem-solving methodology:
1. State the Problem
When you solve a problem, it is a good idea to restate it in your own words: Find the mass of air in a
wind tunnel.
2. Describe the Input and Output
Input
Volume V = 1000 m3
Temperature T = 300 K
Pressure P = 100 kPa
Molecular weight MW = 29 kg/kmol
SCALAR OPERATIONS
Wind tunnels (see Figure 2.6) play an important role in our study of the behavior of high-performance
aircraft. In order to interpret wind tunnel data, engineers need to understand how gases behave. The
basic equation describing the properties of gases is the ideal gas law, a relationship studied in detail in
freshman chemistry classes. The law states that
PV = nRT
where P = pressure in kPa,
V = volume in m3,
n = number of kmoles of gas in the sample,
R = ideal gas constant, 8.314 kPa m3/kmol K, and
T = temperature, expressed in kelvins (K).
In addition, we know that the number of kmoles of gas is equal to the mass of the gas divided by the
molar mass (also known as the molecular weight) or
n = m/MW
where
m = mass in kg and
MW= molar mass in kg/kmol.
Different units can be used in the equations if the value of R is changed accordingly.
Figure 2.6 Wind tunnels are used to test aircraft designs. (Louis Bencze/Getty Images Inc., Stone
Allstock.)
Now suppose you know that the volume of air in the wind tunnel is 1000 m3. Before the wind tunnel is
turned on, the temperature of the air is 300 K, and the pressure is 100 kPa. The average molar mass
(molecular weight) of air is approximately 29 kg/kmol. Find the mass of the air in the wind tunnel.
To solve this problem, use the following problem-solving methodology:
1. State the Problem
When you solve a problem, it is a good idea to restate it in your own words: Find the mass of air in a
wind tunnel.
2. Describe the Input and Output
Input
Volume V = 1000 m3
Temperature T = 300 K
Pressure P = 100 kPa
Molecular weight MW = 29 kg/kmol
Loading page 6...
Loading page 7...
Loading page 8...
Loading page 9...
Loading page 10...
Loading page 11...
Loading page 12...
Loading page 13...
Loading page 14...
Loading page 15...
Loading page 16...
13 more pages available. Scroll down to load them.
Preview Mode
Sign in to access the full document!
100%
Study Now!
XY-Copilot AI
Unlimited Access
Secure Payment
Instant Access
24/7 Support
Document Chat