*/
Do you receive the Programmer's Heaven newsletter? If not, why not subscribe?
*/

Read Post

Basic

Moderators: None (Apply to moderate this forum)
Number of threads: 1485
Number of posts: 4409

This Forum Only
Post New Thread

Report
matlab programe help Posted by walli on 18 May 2008 at 5:24 AM
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.

Reply




corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.