Question: MATLAB Problem 1 (100 pts) This week you will repeat the second problem from Week 8 (the problem is restated below for your convenience) but

MATLAB

Problem 1 (100 pts)

This week you will repeat the second problem from Week 8 (the problem is restated below for your convenience) but you will add a GUI for the user to control the execution of the program. Your program should do the following:

Create a figure that contains a plotting area and user interface controls

Allow the user to input the initial velocity of the projectile through the GUI

Allow the user to input the angle of the projectile through the GUI

Allow the user to choose whether to plot the solution considering the wind or without considering the wind

Allow the user to plot the chosen solution

Your GUI should have at least the features shown below

 MATLAB Problem 1 (100 pts) This week you will repeat the

second problem from Week 8 (the problem is restated below for your

Problem statement

A projectile is fired with an initial velocity of 250 m/s at an angle convenience) but you will add a GUI for the user to control relative to the ground. The projectile is aimed directly in the y direction, as shown in the figure below. Because of a strong wind blowing in the negative x direction, the projectile also moves in this direction at a constant speed of 30 m/s.

the execution of the program. Your program should do the following: Create

The initial velocity of the projectile is

a figure that contains a plotting area and user interface controls Allow and the user to input the initial velocity of the projectile through the

while in the x direction we have a constant GUI Allow the user to input the angle of the projectile through. The total flight time is the GUI Allow the user to choose whether to plot the solution

The velocity of the projectile in the vertical direction (the other two are known) is given by

considering the wind or without considering the wind Allow the user to

while the position is given by

plot the chosen solution Your GUI should have at least the features shown below Problem statement A projectile is fired with an initial velocityand of 250 m/s at an angle relative to the ground. The projectile

Without wind Initial velocity 250 2000 Angle withx N 1000 65 5000 2000 2000 y(m) x(m) Select Solution Plot now! No wind Without wind Initial velocity 250 2000 Angle withx N 1000 65 5000 2000 2000 y(m) x(m) Select Solution Plot now! No wind

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!