If you were in a contest to see who could shoot a bullet the farthest, under the exact same conditions, what is the optimum angle you would want to aim your gun? I originally assumed it would always be 45 degrees but now I'm not so sure. Also, would any conditions (headwind, tailwind, crosswind, humidity, rain, etc) affect the answer? Keep it simple, my physics knowledge is nonexistent. This topic came up recently among a group of friends. Also, would the answer be the same for throwing a ball, or launching an object that has some form of temporary propulsion, like a bottle rocket?

