AB = B - A = [5, -3, p] - [7, 0, 2] = [-2, -3, p - 2]
|[-2, -3, p - 2]| = √(2^2 + 3^2 + (p - 2)^2) = √(4 + 9 + p^2 - 4·p + 4) = √(p^2 - 4·p + 17) = 5
p^2 - 4·p + 17 = 25
p^2 - 4·p - 8 = 0
p = 2 ± √(4 + 8) = 2 ± √12
Damit liegen die Werte ca. bei
p1 = -1.464 ; p2 = 5.464