Coordinates of a point (5)

February 02 2012 by toandhsp 55
false
Maple

0


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.

 
Loading Comments & Answers

You must be logged into your MaplePrimes account in order to post a comment. If you don't have an account, you can create an account here.

     

Forgot Your Password? Create an Account