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

You are not logged in.

- Topics: Active | Unanswered

Pages: **1**

**david_d****Guest**

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

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

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

**david_d****Guest**

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

**ganesh****Moderator**- Registered: 2005-06-28
- Posts: 21,491

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 is no good to try to stop knowledge from going forward. Ignorance is never better than knowledge - Enrico Fermi.

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

Offline

**david_d****Guest**

thanks alot

Pages: **1**