# Normal segment for a given line

## Description

The normal segment for a given line is defined to be the line segment drawn from the origin perpendicular to the line. This segment joins the origin with the closest point on the line to the origin. the origin of a Euclidean space is a special point, usually denoted by the letter O, used as a fixed point of reference for the geometry of the surrounding space.

Related formulas## Variables

y | Y-Coordinate of the point (ordinate) (dimensionless) |

θ | The angle of inclination of the normal segment (the oriented angle from the unit vector of the x axis to this segment) (dimensionless) |

x | X-coordinate of the point (dimensionless) |

p | The (positive) length of the normal segment (dimensionless) |