1. ## 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

2. 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.

3. 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.)

4. Coooooooooool, LOL . 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

5. Originally Posted by arunkish
Coooooooooool, LOL . 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.

6. 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.