Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

## #1 2006-04-26 06:12:41

david_d
Guest

### calculating line angle

is there a way to calculate the angle of a line in a grid based system?

## #2 2006-04-26 06:31:44

Patrick
Real Member

Offline

### Re: calculating line angle

I think trig is the tool you'll be needing here... This is, however, not a branch of mathematics I'm very familiar with.

Support MathsIsFun.com by clicking on the banners.
What music do I listen to? Clicky click

## #3 2006-04-26 08:08:26

david_d
Guest

### Re: calculating line angle

ok appraently u take the arc tangent of the slope to calculat the angle does any 1 know how to calculate the arc tangent?

## #4 2006-04-26 14:11:39

ganesh
Moderator

Offline

### Re: calculating line angle

david_d,

If the equation of the straight line is
ax+by+c=0, then the slope is given by the formula

But the slope of the line is tan of the angle made with the x-axis.

Therefore,

The angle is the arctan of the slope m.

The arctan can be known by referring to tables or by using a calculator (scientific mode).

Character is who you are when no one is looking.

david_d
Guest

thanks alot