Let the lengths of PA, PB, and PC be x, y, and z respectively.
Using the law of cosines, three equations can be written:
x^2+xy+y^2 = AB^2
z^2+zy+y^2 = BC^2
x^2+xz+z^2 = AC^2
A brute force search of values x, y, and z finds a smallest solution of:
x=195, y=264, z=325, AB=399, AC=455, BC=511 |