Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MatLab Code (Please DO NOT change the subject that I put this question in. Keep it as Computer Sceince where it belongs as it purely

MatLab Code

(Please DO NOT change the subject that I put this question in. Keep it as Computer Sceince where it belongs as it purely involves code!)

(Problem and code from Week 8 is provided below this image)

image text in transcribed

Image of Second Problem from week 8 ( https://www.dropbox.com/s/xw8hylztwz6pz6g/Week%208%20Problem.png?dl=0 )

Code for second problem from week 8 ( https://1drv.ms/u/s!AkEp1U-yQu2xjjBtVt5etfejZIT0 )

Problem 1 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: 1. Create a figure that contains a plotting area and user interface controls 2. Allow the user to input the initial velocity of the projectile through the GUI 3. Allow the user to input the angle of the projectile through the GUI 4. Allow the user to choose whether to plot the solution considering the wind or without considering the wind 5. Allow the user to plot the chosen solution Your GUI should have at least the features shown below Without wind Intial velocity 2000 N 1000 Angle with x 65 0 5000 2000 -2000 y(m) Select Solution Plot now! No wind With wind Initial velocity 2000 Angle with x N 1000 0 5000 2000 y(m) x(m) Select Solution Plot now! Problem 1 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: 1. Create a figure that contains a plotting area and user interface controls 2. Allow the user to input the initial velocity of the projectile through the GUI 3. Allow the user to input the angle of the projectile through the GUI 4. Allow the user to choose whether to plot the solution considering the wind or without considering the wind 5. Allow the user to plot the chosen solution Your GUI should have at least the features shown below Without wind Intial velocity 2000 N 1000 Angle with x 65 0 5000 2000 -2000 y(m) Select Solution Plot now! No wind With wind Initial velocity 2000 Angle with x N 1000 0 5000 2000 y(m) x(m) Select Solution Plot now

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

Step: 3

blur-text-image

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

Beginning Apache Cassandra Development

Authors: Vivek Mishra

1st Edition

1484201426, 9781484201428

More Books

Students also viewed these Databases questions

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago