Modeling a Simple Roller Coaster

This Demonstration is an animation of a simple roller coaster. The coaster track is restricted to a vertical plane 100 meters long and 50 meters high. The car slides on the track without friction and is subject to gravity only.
Create a custom track by moving, creating, or deleting the locators in the upper plot or select one of the example tracks.
Keep the track inside the plot and the bounding box. The track will be capped and the animation is not correct outside this range.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


In the absence of friction, if represents the shape of the track, then the time for the car to move from horizontal positions to is: . In this Demonstration, this integration is approximated numerically with 100 subdivisions of the track and by using interpolation. This speeds up the calculation during the animation while sacrificing some accuracy.
Snapshot 1: the fastest ride possible along any track between the points and is the brachistochrone of duration or approximately 8 seconds
Snapshot 2: the time for the circular track ride is or 8.37 seconds
Snapshots 3–6: all other tracks have rides longer than 8 seconds
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Related Curriculum Standards

US Common Core State Standards, Mathematics

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+