DeSq Definition

# The square of the distance between Point A and Point B .
# It uses the distance formula based on the Pythagorean Theorem

DeSq:=proc(A,B):

(A[1]-B[1])^2+(A[2]-B[2])^2:

end:


Definitions     Theorems