Perpendicular line equation
Click here for or scroll down to view a static demo (program screenshots)