Foot of perpendicular and perpendicular distance of a point from a line

To find the foot of perpendicular from a point to a line[br]To perpendicular distance of a point from a line

Information: Foot of perpendicular and perpendicular distance of a point from a line