Question: How to solve this system of quations to find coordinates of the point S?

I want to put one option of tetrahedron SABC with AB=c, BC=a, AC=b, SA=m, SB=n, SC=p. I tried
restart;
with(Student:-MultivariateCalculus);
A := [0, 0, 0];
B := [c, 0, 0];
C := [(-a^2 + b^2 + c^2)/(2*c), sqrt((a + b - c)*(a - b + c)*(-a + b + c)*(a + b + c))/(2*c), 0];
S := [x, y, z];
solve([distance(S, A) = m, distance(S, B) = n, distance(S, C) = p], [x, y, z]);

I got warning, solutions may have been lost. How can I solve that system of equations?

Please Wait...