Register to reply

I don't understand how this equation calculates angle for hexagons...

by poetryrocksalo
Tags: angle, calculates, equation, hexagons
Share this thread:
Nov26-13, 08:17 PM
P: 2
Hi, I'm learning how to program and I've been studying graphics.

This quote from a programmer confuses me (the quote is a hyperlink to my source):
How does 2pi/n calculate the angle of two vertices relative to the center of a hexagon? I try to plug in some values to test it and the resulting angle is 1.047 degrees which is extremely small and I think I'm misunderstanding the answer.

I have a diagram in my book that also states that the above equation is the angle. I also tested my code (the angle is only a small part of it) and my drawHexagon app works. However, when I do the math, the angle from the center of the hexagon is always 1.047 degrees and that doesn't make sense to me.

Shouldn't the central angle be 60 degrees given that a hexagon has 6 sides?
Phys.Org News Partner Mathematics news on
Heat distributions help researchers to understand curved space
Professor quantifies how 'one thing leads to another'
Team announces construction of a formal computer-verified proof of the Kepler conjecture
Nov26-13, 08:43 PM
HW Helper
P: 2,264
The angles are being measured in radians.
2pi radians=360 degrees.
1.047 radians=60 degrees.
Nov26-13, 08:48 PM
P: 2
Quote Quote by lurflurf View Post
The angles are being measured in radians.
2pi radians=360 degrees.
1.047 radians=60 degrees.
Thank you. I really need to brush up on my math.

Register to reply

Related Discussions
Geometry Problem involving packing Hexagons into Circles Differential Geometry 1
Want an equation that calculates power/m2 from concentration of photons and wavelengt General Physics 9
Basic geometry question regarding hexagons. Differential Geometry 2
Differential Equation... dont understand t>0 .. how to apply that to equation Calculus & Beyond Homework 6
Dot product calculates what exactly? General Math 14