Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: √ ∞ ≠ ≤ ≥ ≈ ⇒ ∈ Δ θ ∴ ∑ ∫ π -

Login

Username

Password

Not registered yet?

#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
Award: Wink Alive

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.

#5 2006-04-26 17:55:17

david_d
Guest

Re: calculating line angle

thanks alot

Board footer

Powered by FluxBB