# Answer to Question #71938 in MatLAB | Mathematica | MathCAD | Maple for Abdullah Khsliq

Question #71938

Write a Matlab program using Matlab script le for the estimation of the projectile motion of a ball. The projectile motion equation is given below. Write a script le that prompt the user to enter the input and computes:

a) how long does the ball take before it hits the water;

b) how far is it from the base of the cliff to the point of impact.

c) Plot the impact point against the angle. For the angle (theta) that varies from

5o – 50o with the increment of 5o.

d) Plot the graph for the vertical and horizontal location of the projectile against

the time. For a xed angle of 20o and different initial speed from 5 – 10 m/s with 0.5 m/s speed increment.

Save the results obtained in the external output le containing its input entry and student particular as well.

vOx=vocosθo vOy=vosinθo x−xo=vOx t

y−yo=vO t−1gt2=(vosinθo)t−1gt2 y22

vx=vocosθo vy=vosinθo−gt v2y=(vo sinθo)2−2 g(y−yo)

a) how long does the ball take before it hits the water;

b) how far is it from the base of the cliff to the point of impact.

c) Plot the impact point against the angle. For the angle (theta) that varies from

5o – 50o with the increment of 5o.

d) Plot the graph for the vertical and horizontal location of the projectile against

the time. For a xed angle of 20o and different initial speed from 5 – 10 m/s with 0.5 m/s speed increment.

Save the results obtained in the external output le containing its input entry and student particular as well.

vOx=vocosθo vOy=vosinθo x−xo=vOx t

y−yo=vO t−1gt2=(vosinθo)t−1gt2 y22

vx=vocosθo vy=vosinθo−gt v2y=(vo sinθo)2−2 g(y−yo)

Expert's answer

Dear Abdullah Khsliq, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed:

**Submit order**Need a fast expert's response?

Submit orderand get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

## Leave a comment