|
-
May 21st, 2008, 09:40 AM
#1
Thread Starter
Lively Member
Physics problem... Maths related..
Hello everybody....
I have a question i have been trying to solve for the past 6 or 7 hours but had no luck....
lets assume we have a cannon.... that will fire a projectile with initial velocity (V0) at an angle of (θ) with the horizontal axis X.
the motion equations of the projectile in X and Y directions are in this image:

and the gravity (g) is given as 9.81 m/s^2
key: ^2 = to the power 2 or squared
The user will insert the values of initial velocity (V0) and Target Distination (XT) that the projectile should hit. It is assumed that the target location will have a Y value of 0 m (on the ground).
and i will have these tasks to do:
1- Solve for the projectile angle θ using equation (1) given above in order for the projectile
to hit XT.
2- Generate the list of projectile’s movement in X and Y directions using the (V0) and θ from steps 1 and 2 with a time interval of 0.005 second and plot the results. The target should be plotted using a cross sign ‘x’.
i dont know how to solve this question, i have tried but the last thing i could think off is re arrange the 2 equations and make θ the subject of the equations and then equate them. i am still confused in how to solve this...
i will be using Matlab 7.5.0 for this and i am not really familiar with the coding in there either... so please try to help me in the form of matlab codes...
thank you
Last edited by K-PRO; May 21st, 2008 at 10:03 AM.
Kalogerus Productions (K-Pro)

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|