Question: USE MATLAB TO SOLVE: 4 . 1 2 The height and speed of a projectile ( such as a thrown ball ) launched with a

USE MATLAB TO SOLVE:
4.12 The height and speed of a projectile (such as a thrown ball) launched with a at an angle A to the horizontal are given by:
h(t)=v0tsin(A)-12gt2
v(t)=v02-2v0gtsin(A)+g2t22
where g is the acceleration due to gravity. The projectile will strike the ground when h(t)=0, which gives the time to hit thit=2(v0g)sin(A). Suppose that A=40,v-0=35ms, and g=9.81ms2. Use the MATLAB relational and logical operators to find the times when
a. The height is no less than 18m.
b. The height is no less than 10m, and the speed is simultaneously no greater than 30ms.
Approach
Initialize all of the variables given and then create a plot that shows both speed and height versus time. This will provide a visual aid for confirming the calculations performed below. Remember that the sin(x) command assumes that the input is in radians and this problem has given the angle in degrees.
USE MATLAB TO SOLVE: 4 . 1 2 The height and speed

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 Programming Questions!