Showing posts with label parametric. Show all posts
Showing posts with label parametric. Show all posts

Thursday, November 5, 2015

Cycloid - The Helen of Geometry

The cycloid is the curve traced by a point on the circumference of a circle which rolls along a straight line without slipping.
The cycloid has been called "The Helen of Geometry" in reference to the beauty of Helen of Troy (her face launched a thousand ships) and the infighting between mathematicians as they fought over the properties of the curve and who did what and when.
In this Scratch project I code the cycloid using two different methods.
The first method (see graphic below) uses the parametric equations for the cycloid,
x = r(theta -sin(theta))
y = r(1 - cos (theta))
where r is the radius of the generating circle.
In the coding of the equation for x, there is a problem. If theta is given in degrees (º) then the value of (theta - sin(theta)) will not vary much since the sine varies from 0 to 1. Therefore it's necessary to change the first theta in the parenthesis from degrees to radians. The formula for converting degrees to radians is
and this formula can be seen in the script for x in the parametric form.
The second method (seen in the bottom half of the graphic) shows how a point on the rim of the circles traces a path (locus) identical to the shape generated by the parametric equations. Click on the video to see the Scratch program in action.