  Math Central - mathcentral.uregina.ca  Quandaries & Queries    Q & Q    Topic: computer game   start over

One item is filed under this topic.    Page1/1            Shooting a ball at a target 2016-02-16 From Thys:Hi 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.      Page1/1    Math Central is supported by the University of Regina and The Pacific Institute for the Mathematical Sciences.    about math central :: site map :: links :: notre site français