Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 (without using guide) 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

image text in transcribed

image text in transcribed

Problem statement

A projectile is fired with an initial velocity of 250 m/s at an angle image text in transcribed 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.

image text in transcribed

The initial velocity of the projectile is

image text in transcribed and image text in transcribed

while in the x direction we have a constant image text in transcribed. The total flight time is image text in transcribed

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

image text in transcribed

while the position is given by

image text in transcribed image text in transcribedand image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions

Question

=+ b. An earthquake destroys part of the capital stock.

Answered: 1 week ago