Skip to content

APCSJava/BicycleWheel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BicycleWheel

Models the location and velocity of a point on the surface of a spinning wheel.

Consider a wheel spinning at a constant angular velocity. Given a point P initially at some angle along the rim of the wheel, generate data for the position and velocity of P as a function of time and angular velocity, in both the x- and y- planes.

When constructing the wheel, your code should permit the user to set the initial radius and angular velocity of the wheel, as well as the angular position of P along the rim.

Hint: use one or more equations that allow you to determine the new position and rate of P as a function of the previous values and the elapsed time.

About

Models the location and velocity of a point on the surface of a spinning wheel.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages