Math Central - mathcentral.uregina.ca
Quandaries & Queries
Q & Q
. .
topic card  


computer game

list of
. .
start over

One item is filed under this topic.
Shooting a ball at a target 2016-02-16
From Thys:
I have a problem with the formula that i use .(for programming)
I have looked all over the web to find a solution but no luck.
I have a cannon that shoots a ball at a target
I use this formula to calculate what my initial velocity must be to hit the target at a angle of 30 degrees and a distance of 15m (the cannon and target position is known) It works perfectly if both is at same height but if one is higher or lower it miss.

In an example I am working with the range is 30m, the angle is 45 degrees and the target is 10m higher than my position.
Please help
Formula = V0 = √RG / Sin(2α)

Answered by Harley Weston.



Math Central is supported by the University of Regina and The Pacific Institute for the Mathematical Sciences.



Home Resource Room Home Resource Room Quandaries and Queries Mathematics with a Human Face About Math Central Problem of the Month Math Beyond School Outreach Activities Teacher's Bulletin Board Canadian Mathematical Society University of Regina PIMS