
An unmanned X-43A scramjet test vehicle has achieved a maximum speed of Mach number 9.68 in a test flight over the Pacific Ocean. Mach number is defined as the speed of an object divided by the speed of sound. Assuming the speed of sound is 343 meters per second, write a MAT LAB program that asks the user to provide a speed as a Mach number, calculates the corresponding speed in miles per hour, and displays the speed in a formatted sentence as shown in the following sample output. Note that the speed in mph should be shown as an integer. If the user provides a negative value for the Mach number, your program should display an error message and terminate.
Enter the speed as a Mach number: -2
Error: The Mach number must not be negative.
Enter the speed as a Mach number: 0
The speed of the plane is 0 mph.
Enter the speed as a Mach number: 9.68
The speed of the plane is 7425 mph.

Want to see the full answer?
Check out a sample textbook solution
Chapter 18 Solutions
Thinking Like an Engineer: An Active Learning Approach (4th Edition)
- Required information An eccentric force P is applied as shown to a steel bar of 25 × 90-mm cross section. The strains at A and B have been measured and found to be εΑ = +490 μ εB=-70 μ Know that E = 200 GPa. 25 mm 30 mm 90 mm 45 mm B Determine the distance d. The distance dis 15 mm mm.arrow_forwardhandwritten-solutions, please!arrow_forwardhandwritten-solutions, please!arrow_forward
- ! Required information Assume that the couple shown acts in a vertical plane. Take M = 25 kip.in. r = 0.75 in. A B 4.8 in. M 1.2 in. [1.2 in. Determine the stress at point B. The stress at point B is ksi.arrow_forwardhandwritten-solutions, please!arrow_forwardhandwritten-solutions, please!arrow_forward
- No use chatgptarrow_forwardProblem 6 (Optional, extra 6 points) 150 mm 150 mm 120 mm 80 mm 60 mm PROBLEM 18.103 A 2.5 kg homogeneous disk of radius 80 mm rotates with an angular velocity ₁ with respect to arm ABC, which is welded to a shaft DCE rotating as shown at the constant rate w212 rad/s. Friction in the bearing at A causes ₁ to decrease at the rate of 15 rad/s². Determine the dynamic reactions at D and E at a time when ₁ has decreased to 50 rad/s. Answer: 5=-22.01 +26.8} N E=-21.2-5.20Ĵ Narrow_forwardProblem 1. Two uniform rods AB and CE, each of weight 3 lb and length 2 ft, are welded to each other at their midpoints. Knowing that this assembly has an angular velocity of constant magnitude c = 12 rad/s, determine: (1). the magnitude and direction of the angular momentum HD of the assembly about D. (2). the dynamic reactions (ignore mg) at the bearings at A and B. 9 in. 3 in. 03 9 in. 3 in. Answers: HD = 0.162 i +0.184 j slug-ft²/s HG = 2.21 k Ay =-1.1 lb; Az = 0; By = 1.1 lb; B₂ = 0.arrow_forward
- Problem 5 (Optional, extra 6 points) A 6-lb homogeneous disk of radius 3 in. spins as shown at the constant rate w₁ = 60 rad/s. The disk is supported by the fork-ended rod AB, which is welded to the vertical shaft CBD. The system is at rest when a couple Mo= (0.25ft-lb)j is applied to the shaft for 2 s and then removed. Determine the dynamic reactions at C and D before and after the couple has been removed at 2 s. 4 in. C B Mo 5 in 4 in. Note: 2 rotating around CD induced by Mo is NOT constant before Mo is removed. and ₂ (two unknowns) are related by the equation: ₂ =0+ w₂t 3 in. Partial Answer (after Mo has been removed): C-7.81+7.43k lb D -7.81 7.43 lbarrow_forwardProblem 4. A homogeneous disk with radius and mass m is mounted on an axle OG with length L and a negligible mass. The axle is pivoted at the fixed-point O, and the disk is constrained to roll on a horizontal surface. The disk rotates counterclockwise at the constant rate o₁ about the axle. (mg must be included into your calculation) (a). Calculate the linear velocity of G and indicate it on the figure. (b). Calculate ₂ (constant), which is the angular velocity of the axle OG around the vertical axis. (c). Calculate the linear acceleration ā of G and indicate it on the figure. (d). Determine the force (assumed vertical) exerted by the floor on the disk (e). Determine the reaction at the pivot O. 1 Answers: N = mg +mr(r/L)² @² |j mr w IIG C R L i+ 2L =arrow_forwardProblem 2. The homogeneous disk of weight W = 6 lb rotates at the constant rate co₁ = 16 rad/s with respect to arm ABC, which is welded to a shaft DCE rotating at the constant rate 2 = 8 rad/s. Assume the rod weight is negligible compared to the disk. Determine the dynamic reactions at D and E (ignore mg). Answers: D=-7.12ĵ+4.47k lb r-8 in. 9 in. B D E=-1.822+4.47 lb 9 in. E 12 in. 12 in. xarrow_forward
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY





