Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi I need this in matlab The height, h of a stone at time, t which thrown vertically with a speed, v is related by
Hi I need this in matlab
The height, h of a stone at time, t which thrown vertically with a speed, v is related by 1 h = vt - gt Create (a) a user-define function that computes the height reached by the stone at specified time given. Given that g is a constant, 9.81 m/s2, test the script at t = 3 s and v = 16 m/s. (b) a graph of height versus time to show the projectile profile of the stone in the first 15 S. (5 marks) Question 3 (CL01] Develop a script that enable the user to input the angle and display the quadrant containing the angle according to Figure Q3. Display an error message if the angle input by the user is less than zero and request the user to re-enter a valid angle. Test your script at user inputs of -45, 45, 135, 225, and 315 Quadrant 2 90Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started