Let A(-5,-3,-3), B(0,1,-2) be two points and
(d): x = t - 3, y = 2*t, z = t+2.
Find the coordinates the point M on (d) so that the area of the triangle ABM obtain minimum value.
This is my code.
restart; with(LinearAlgebra):
A:=: B:=: M:=:
u:=A-B: v:=A-M:
T:=CrossProduct(u,v):
S:=minimize(1/2*Norm(T,2), location = 'true');
M:=subs(op(1,op(1, S[2])),M);
Please comment to me. Specialy the line M:=subs(op(1,op(1, S[2])),M);
Thank you very much.