In MATLAB how do you write a program to determine what type of tropical system and/or category hurricane a system is depending on the wind speed. For example winds in a tropical system at 35 MPH means that the system is a tropical depression. If the winds are at 50 MPH, then the system is a tropical storm. If the winds are at 100 MPH, the system is a category two hurricane.
Also, write a similar program on the Fujita Scale for tornados. For example, if the winds are at 75 MPH, the tornado is on the F1 (Fujita One) scale. If the winds are at 105 MPH, the winds are on the F1 scale. If the winds are at 140 MPH, the tornado is on the F2 scale.
For the hurricane and tornado speeds take three wind speeds from each of the ranges listed (below). Enter the wind speed values into the program. Use that wind speed in an assignment statement or input command for inputs into the program. Use the disp or fprint function to show the output of what type of storm the hurricane and tornado are. For more on the assignment statement, input, disp or fprintf, go to especially Lecture Notes six and seven. Use the pseudo codes as a guide to write the program.
Hint: Look also at string variables and/or string commands.
For hurricanes
30 < wind speed < 60
74 < wind speed < 100
100 < wind speed < 150
For tornados
40 < wind speed < 112
112 < wind speed < 157
157 < wind speed < 206
Have a copy of the MATLAB code and a screen shot of the results. Put the program and results into the dropbox in Folio.
The program is where the wind speed is the input while the output is the type of storm, tropical depression, tropical depression, or category hurricane. For a tornado the outputs are the F0, F1, F2, F3, F4, or F5 scale. The MATLAB codes for each (hurricane and tornado) can be included into the same program.
Hurricane pseudo code
Enter the wind speed.
if winds are less than 39 MPH
storm = tropical depression
elseif the winds are greater than or equal to 39 MPH and less than 74 MPH
storm = tropical storm
elseif the wind are greater than or equal to 74 MPH and less than or equal to 95 MPH
storm = category one hurricane
elseif the wind are greater than or equal to 95 MPH and less than or equal to 110 MPH
storm = category two hurricane
elseif the wind are greater than or equal to 110 MPH and less than or equal to 129 MPH
storm = category three hurricane
elseif the wind are greater than or equal to 129 MPH and less than or equal to 156 MPH
storm = category four hurricane
else
storm = category five hurricane
Print the type of storm
Or the code could be written this way.
Enter the wind speed.
if winds < 39 MPH
storm = tropical depression
elseif the winds > 39 MPH and < 74 MPH
storm = tropical storm
elseif the winds ≥ 74 MPH and < 95 MPH
storm = category one hurricane
elseif the winds ≥ 95 MPH and ≤ 110 MPH
storm = category two hurricane
elseif the winds ≥ 110 MPH and ≤ 129 MPH
storm = category three hurricane
elseif the winds ≥ 129 MPH and ≤ 156 MPH
storm = category four hurricane
else
storm = category five hurricane
Print the type of storm.
Tornado pseudo code
Enter the wind speed.
if winds are between 40 and 72 MPH
The tornado is on the F0 scale.
elseif the winds are between 73 and 112 MPH
The tornado is on the F1 scale.
elseif the winds are between 113 and 157 MPH
The tornado is on the F2 scale.
elseif the winds are between 158 and 206 MPH
The tornado is on the F3 scale.
elseif the winds are between 207 and 206 MPH
The tornado is on the F4 scale.
elseif the winds are between 261 and 318 MPH
The tornado is on the F5 scale.
else
The wind speed is not on the scale.
In MATLAB how do you write a program to determine what type of tropical system and/or...
C# programming Create an application that prompts the user for a storm windspeed in mph, then determines the correct typhoon category. The program must run all test cases of storm windspeed in one execution. Use a sentinel value to terminate the program. Do not assume a specific number of inputs. Determine the maximum storm windspeed value input. Note that the maximum must be evaluated within your program. You MAY NOT use C built in function. Output screenshot must include the...
F910 F1112 F F2 F3 10 Points) Question 6 center, a closed low- A tropical cyclone is a rapidly rotating storm system characterized b) level atmospheric circulation, strong winds, and a spiral arrangement of t rain. The large rotating air masses are casily seen on satellite images, and the storms are carefully tracked because of the potential for damage in populated areas. Tropical cyclone intensity is defined by the maximum mean wind speed over open flat land or water. This...
Write in JAVA Get Familiar with the Problem Carefully read the program description and look at the data file to gain an understanding of what is to be done. Make sure you are clear on what is to be calculated and how. That is, study the file and program description and ponder! Think! The Storm Class Type Now concentrate on the Storm class that we define to hold the summary information for one storm. First, look at the definition of...
i just need help with #3 Sutistics Lab 13(revised) The following tables present the number of deaths as a function of F-scale nd Chapter 1 &2 communaty size Deaths as a Function of F-scale for April 3-4,1974 Torsadoes F-Scale Deaths F-e F-1 F-2 F-3 F-4 F-5 14 32 129 130 Deaths as a Function of Community Size for Tersado Super Outbreak of April 3-4, 1974 Community Size Rural areas Deaths 99 77 Small communities Small cities Medium cities Large cities...
Shortly after daybreak on April 3, 1974, thunder rumbled through the dark skies that covered much of the midwestern United States. Lightning struck areas from the Gulf Coast states to the Canadian border. By the predawn hours of the next day, the affected region of around 490,000 acres was devastated by more than 100 tornadoes. This “super outbreak” was responsible for the deaths of more than 300 people in 11 states. More than 6100 people were injured by the storms,...
Case Study #2: The Day the Sky Roared Shortly after daybreak on April 3, 1974, thunder rumbled through the dark skies that covered much of the midwestern United States. Lightning struck areas from the Gulf Coast states to the Canadian border. By the predawn hours of the next day. the affected region of around 490.000 acres was devastated by more than 100 tornadoes. This "super outbreak was responsible for the deaths of more than 300 people in 11 states. More...
In this assignment you will be implementing a weather forecaster. It involves writing 3 different classes plus a driver program. It is recommended that you write one class at a time and then write a driver (tester) program to ensure that it works before putting everything together. Alternately, you can use the Interactions tab of JGRASP to test some of the early classes. This is discussed in the next few pages. The Season Class The first, shortest, and easiest class...