# Draw Perpendicular Line

• Aug 18th 2008, 02:58 AM
arunkish
Draw Perpendicular Line
Hi all.

Looking for help from you experts to draw a line perpendicular to the existing line at 90 degree.

(Line to be drawn)
|
|
|
|
-----------------------------( Given Line )

I hope that I can hear from you soon . Please note that the logic has to work with lines of different slopes. Angle is measured in Degrees.

Regards
• Aug 18th 2008, 03:18 AM
Isomorphism
Quote:

Originally Posted by arunkish
Hi all.

Looking for help from you experts to draw a line perpendicular to the existing line at 90 degree.

(Line to be drawn)
|
|
|
|
-----------------------------( Given Line )

I hope that I can hear from you soon . Please note that the logic has to work with lines of different slopes. Angle is measured in Degrees.

Regards

Well you have to be more precise. What are we allowed to use? Compasses? Protractors?

Protractors are used mainly to draw lines at angles.
• Aug 18th 2008, 03:23 AM
kalagota
what are the tools needed for drawing?
if you only need compass, ruler and pencil/pen, then here are the steps.

1. using the compass, draw two arcs of the same radii such that the centers lie on the given line and the arcs intersect the line.
2. be sure the arcs intersects each other at two points.
3. connect the points of intersection of the arcs by a straight line (this line passes the given line and is perpendicular to it.)
• Aug 18th 2008, 04:47 AM
arunkish
Coooooooooool, LOL (Rofl). Sorry. But it was my mistake. To be more precise I'm writing a program in Visual Basic and I need some perpendicular lines to be created. Hope it's clear now....

Regards
• Aug 18th 2008, 05:23 AM
wingless
Quote:

Originally Posted by arunkish
Coooooooooool, LOL (Rofl). Sorry. But it was my mistake. To be more precise I'm writing a program in Visual Basic and I need some perpendicular lines to be created. Hope it's clear now....

Regards

Let m be the slope of your line. Then the slope of the perpendicular line is -1/m.
• Aug 18th 2008, 05:24 AM
TKHunny
Your given line must have an equation. (y = mx+b)
This equation has a determinable "Slope" (m)
You need the given point (r,s) on the line.
Your new equation is (y-s) = (-1/m)(x-r)

Good luck with that when m = 0. <== You tell me the solution when this is the case.