How Do You Calculate the Distance Between Adjacent Numbers on a Clock Face?

  • Thread starter Thread starter chaoseverlasting
  • Start date Start date
  • Tags Tags
    Clock Length
Click For Summary
SUMMARY

The discussion focuses on calculating the distance between adjacent numbers on a clock face with a radius of 100 units. The angle between adjacent numbers is established as 30 degrees, derived from the formula for a regular polygon with 12 sides. The correct straight-line distance between two adjacent numbers is approximately 51.77 units, while the arc length is about 52.36 units. The formula used for calculating the side length is confirmed as a = 2rsin(π/n), where r is the radius and n is the number of sides.

PREREQUISITES
  • Understanding of trigonometric identities (sin, cos, tan)
  • Knowledge of regular polygons and their properties
  • Familiarity with Python programming for graphical representation
  • Ability to convert between degrees and radians
NEXT STEPS
  • Implement the distance calculation in Python using the formula a = 2rsin(π/n)
  • Explore graphical libraries in Python, such as Turtle, for visualizing the clock face
  • Study the relationship between arc length and straight-line distance in circular geometry
  • Learn about the implications of angle measurement in programming calculations
USEFUL FOR

Mathematicians, computer science students, and Python developers interested in geometric calculations and graphical representations.

chaoseverlasting
Messages
1,050
Reaction score
3

Homework Statement



I'm trying to create a clock face in Python and can't quite figure out where I'm going wrong.

Statement: For a clock of radius 100 units, what will be the distance between two adjacent numbers?

If a turtle walks along the path joining two adjacent numbers, by what angle will it have to turn at every number.

Homework Equations



Trigonometric identities for tan / sin / cos.
Sum of angles in a polygon = 360 degrees

The Attempt at a Solution



An analog clock has numbers from 1 to 12, with an origin at the center.

Consider a figure where two adjacent numbers are joined by a straight line (say nos. 1 and 2)

Let the distance between the origin and the numbers 1 and 2 be 100 (the nos 1 and 2 are equidistant from the origin).

The angle made at the center is 360/12 = 30 degrees for a 12 sided regular polygon.

This means the triangle ABC (vertices at the origin, nos 1 and 2) is an isosceles triangle with angles 30, 75 and 75 degrees respectively.

Dropping a perpendicular from vertex B to point D on side AC results in an angle ABD of 60 degrees. Which implies that perpendicular BD is of length 100 * cos 60.

This then implies that side BC is of length \frac{100*cos60}{sin75}.The angle that the turtle will have to turn at every such vertex (1,2,3...12) is 30 degrees.

However, I think the length BC is incorrect.

Can someone please confirm?
 
Physics news on Phys.org
For a regular n sided polygon of side length a, and radius 'r', I am getting the following relationship:

a=2rsin\frac{\pi}{n}

This corresponds with my earlier derivation, however I'm still not generating the correct pattern.

Please help!

If the radius, r is 100, the side a should be approx. 51.77 units.

[Edit]
Again, to verify, the side length should be lesser than the length of the arc between these two points.
The length of the arc between them is approx. 52.36 units.

So, I'm guessing the side length seems to be alright.

Any thoughts on the angle to be turned, in that case?
[\Edit]
 
chaoseverlasting said:
For a regular n sided polygon of side length a, and radius 'r', I am getting the following relationship:

a=2rsin\frac{\pi}{n}

This corresponds with my earlier derivation, however I'm still not generating the correct pattern.

Please help!

If the radius, r is 100, the side a should be approx. 51.77 units.

[Edit]
Again, to verify, the side length should be lesser than the length of the arc between these two points.
The length of the arc between them is approx. 52.36 units.

So, I'm guessing the side length seems to be alright.

Any thoughts on the angle to be turned, in that case?
[\Edit]

I can't see your problem: the arc-length between two numbers is ##a = 52.35987758##, while the straight-line distance is ##d = 51.76380902##; the angle between them is ##\theta = 2 \pi/12 = 0.5235987758## radians = ##360/12 = 30## degrees. Your formula for ##d## is correct; all you need to do is substitute in the numbers ##r = 100, n = 12##, being careful to use radians as the angle measure when calculating the sine function in that specific formula (or else change the formula to handle degrees).
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
4
Views
10K
Replies
2
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
3K