You are given the points $A(−2,−2,3)$, $B(4,9,−10)$ and $C(−2,x,1)$ in $ℝ^3$. If $\Delta ABC$ has a right angle at the corner $A$, what is $x$?
I tried finding the vectors $\vec{AB}$, $\vec{AC}$ and $\vec{CB}$. I did pythagorean theorem with the vectors which resulted in me finding $x=6.81$ however, I am not sure if I did it right.
$$\vec{AB}(4-(-2),9-(-2),-10-3)$$ or $$\vec{AB}(6,11,-13).$$ $$\vec{AC}(0,x+2,-2).$$ By the given $$\vec{AB}\cdot\vec{AC}=0.$$ Thus, $$6\cdot0+11(x+2)+(-13)(-2)=0,$$ which gives $$x=-\frac{48}{11}.$$