matlab urgent help needed - Programmers Heaven

#### Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

#### Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

# matlab urgent help needed

Posts: 2Member
hii i need help with this matlab programe im new to it can anyone tell me how to write the formula :
x=Vo*cos theta *t
y=Vo*sin theta *t - 1/2*g*t^2

g = 9.81 m/s

this is what is should do the 1st step.
Prompt the user to enter the initial velocity V0 and the target location XT that the projectile
should hit. It is assumed that the target location will have a Y value of 0 m (on the
ground). If the initial velocity V0 and the target location XT are less than or equal to 0, the
user should be prompted to enter values that are greater than 0.