Question: Please do this for me using Matlab 19. In aerodynamics, the Mach number is a critical quantity. It is defined as the ratio of the

 Please do this for me using Matlab 19. In aerodynamics, the
Mach number is a critical quantity. It is defined as the ratio
Please do this for me using Matlab

19. In aerodynamics, the Mach number is a critical quantity. It is defined as the ratio of the speed of an object le.g., an aircraft) to the speed of sound. If the Mach number is less than 1 the flow is subsonic; if the Mach number is equal to 1, the flow is transonic; and if the Mach number is greater than 1 the flow is supersonic. Write a script that will prompt the user for the speed of an aircraft and the speed of sound at the aircraft's current altitude and will print whether the condition is subsonic, transonic, or supersonic. 20. Write a script that will generate one random integer and will print whether the random integer is an even or an odd number. (Hint: an even number is divisible by 2, whereas an odd number is not; so check the remainder after dividing by 2) Global temperature changes have resulted in new patterns of storms in many parts of the world. Tracking wind speeds and a variety of categories of storms is important in understanding the ramifications of these temperature variations Programs that work with storm data will use selection statements to determine the severity of storms and also to make decisions based on the data. 21. Whether a storm is a tropical depression, tropical storm, or hurricane is deter- mined by the average sustained wind speed. In miles per hour, a storm is a trop ical depression if the winds areless than 38 mph. Itisatropical stormif the winds are between 39 and 73 mph, and it is a hurricane if the wind speeds are >=74 mph. Write a script that will prompt the user for the wind speed of the storm, and will print which type of storm it is. 22. The Beaufort Wind Scale is used to characterize the strength of winds. The scale uses integer values and goes from a force of 0, which is no wind, up to 12, which is a hurricane. The following script first generates a ra value. Then, it prints a message regarding what type of wind that force repre sents, using a switch statement. You are to rewrite this switch statement as ohe nested if-else statement that accomplishes exactly the same thing use else and/or elseif clauses. may ou

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!