Math Is Fun Forum

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

You are not logged in.

#1 2006-04-25 08: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-25 08:31:44

Patrick
Real Member
Registered: 2006-02-24
Posts: 1,005

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

Offline

#3 2006-04-25 10: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-25 16:11:39

Jai Ganesh
Administrator
Registered: 2005-06-28
Posts: 45,840

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


It appears to me that if one wants to make progress in mathematics, one should study the masters and not the pupils. - Niels Henrik Abel.

Nothing is better than reading and gaining more and more knowledge - Stephen William Hawking.

Offline

#5 2006-04-25 19:55:17

david_d
Guest

Re: calculating line angle

thanks alot

Board footer

Powered by FluxBB