# Cannon problem.

**URL:** <https://boards.straightdope.com/t/cannon-problem/291498>\
**Category:** Factual Questions\
**Created:** [February 23, 2005, 7:01am UTC](https://boards.straightdope.com/t/cannon-problem/291498 "2005-02-23T07:01:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Snarky\_Kong](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@Snarky\_Kong](https://boards.straightdope.com/u/Snarky_Kong)\
**Post date:** [February 23, 2005, 7:01am UTC](https://boards.straightdope.com/t/cannon-problem/291498/1 "2005-02-23T07:01:24Z")

</div>

I must be missing something because I keep finding that this cannon ball falls short. Anyway, the question is at what angle does a cannon have to fire for the cannon ball to hit the ground 269 ft away if the initial velocity of the ball is 100ft/s? I set up 2 equations like so.

100tcos(x)=269  
100sin(x)-32.2t=0

t is the time and x is the angle, someone let me know that my brain just isn’t working today

---

<div class="post-metadata">

**Author:** ![Snarky\_Kong](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@Snarky\_Kong](https://boards.straightdope.com/u/Snarky_Kong)\
**Post date:** [February 23, 2005, 7:48am UTC](https://boards.straightdope.com/t/cannon-problem/291498/2 "2005-02-23T07:48:15Z")

</div>

Nevermind, it should be t/2 in the second equation, I’m stupid,nothing to see here.

---

<div class="post-metadata">

**Author:** ![treis](https://avatars.discourse-cdn.com/v4/letter/t/bc79bd/32.png) [@treis](https://boards.straightdope.com/u/treis)\
**Post date:** [February 23, 2005, 7:49am UTC](https://boards.straightdope.com/t/cannon-problem/291498/3 "2005-02-23T07:49:08Z")

</div>

Apparently my brain wasn’t working properly either becuase it took me a while to get the right answer. Your mistake is that your 1st equation is solving for the final position of the ball while your 2nd is solving for a point of 0 velocity i.e. the apex of the trajectory. Instead of 269 in your first equation put 269/2 and you should get the right answer.

t=1.55s x=.52375 radians or 30 degrees.

Bah I see you got it on preview damn me for taking too long. I am posting it anyhow.

---

<div class="post-metadata">

**Author:** ![David\_Simmons](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@David\_Simmons](https://boards.straightdope.com/u/David_Simmons)\
**Post date:** [February 23, 2005, 8:20am UTC](https://boards.straightdope.com/t/cannon-problem/291498/4 "2005-02-23T08:20:15Z")

</div>

I think the parametric equations for the vacuum trajectory are:

x = v[sub]o[/sub]tcos(a)

y = v[sub]o[/sub]tsin(a) - gt[sup]2[/sup]/2

x is horizontal distance, y is vertical distance, v[sub]o[/sub] is initial velocity and a is elevation angle.

---

<div class="post-metadata">

**Author:** ![David\_Simmons](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@David\_Simmons](https://boards.straightdope.com/u/David_Simmons)\
**Post date:** [February 23, 2005, 8:24am UTC](https://boards.straightdope.com/t/cannon-problem/291498/5 "2005-02-23T08:24:05Z")

</div>

Oh yes, g is the acceleration of gravity.

The second equations says that in the absence of gravity the vertical distance of the ball will be along the straight line v[sub]o[/sub]tsin(a). Gravity makes it fall below that distance by gt[sup]2[/sup]/2.

---

<div class="post-metadata">

**Author:** ![UncleBill](https://avatars.discourse-cdn.com/v4/letter/u/d26b3c/32.png) [@UncleBill](https://boards.straightdope.com/u/UncleBill)\
**Post date:** [February 23, 2005, 12:17pm UTC](https://boards.straightdope.com/t/cannon-problem/291498/6 "2005-02-23T12:17:30Z")

</div>

Use more gunpowder, that should help.

---

<div class="post-metadata">

**Author:** ![David\_Simmons](https://avatars.discourse-cdn.com/v4/letter/d/9de053/32.png) [@David\_Simmons](https://boards.straightdope.com/u/David_Simmons)\
**Post date:** [February 26, 2005, 1:16am UTC](https://boards.straightdope.com/t/cannon-problem/291498/7 "2005-02-26T01:16:16Z")

</div>

I took a little detour to the hospital so I’m a little late with this.

The problem has two solutions:

30 deg, time of flight 3.11 sec.

53.89 deg, time of flight 5.02 sec.

For any range less than the maximum, which comes at 45 deg. elevations, there will always be two solutions. One at more and one at less than 45 deg.

Max range is about 311 ft.
