In the coordinate plane, A = (0,0), B = (0,4), and C = (5,0). If P is a point inside triangle ABC such that AP = sqrt(10) and BP = 3*sqrt(2), then find CP.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Use the law of cosines to find ∠BAP. Find ∠PAC
Using ∠PAC and line AP, calculate line segments AD and PD
CP = sqrt[PD2 + (AC - √8)2] ==> CP ≈ 2.591