Level
2

The answer is 36.

**
This section requires Javascript.
**

You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.

First note that $\triangle APB$ is a $3-4-5$ right triangle and $\triangle APC$ is a $20-21-29$ right triangle.

Thus, we have $\cos \angle BAP = \dfrac{20}{25}=\dfrac{4}{5}$ and $\cos \angle PAC = \dfrac{20}{29}$ .

Similarly, we have $\sin \angle BAP = \dfrac{15}{25}=\dfrac{3}{5}$ and $\sin \angle PAC = \dfrac{21}{29}$ .

Applying the Law of Cosines on $\angle BAC$ gives us:

$BC=\sqrt{25^2+29^2-2\cdot25\cdot29\cdot\cos (\angle BAP+\angle PAC)}$

We also know that:

$\cos (\angle BAP+\angle PAC)=\cos\angle BAP\cos\angle PAC - \sin \angle BAP \sin \angle PAC$

$\qquad\qquad\qquad\qquad\quad\;\;=\dfrac{20}{25}\cdot\dfrac{20}{29}-\dfrac{15}{25}\cdot\dfrac{21}{29}=\dfrac{17}{145}.$

Hence, we have $BC=\sqrt{25^2+29^2-2\cdot25\cdot29\cdot\dfrac{17}{145}}=\sqrt{1296}=\boxed{36}$ .