APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Leavitt's Cepheid Variables Documents

This material has 2 associated documents. Select a document title to view a document's information.

Main Document

Leavitt's Cepheid Variables 

written by Todd Timberlake

The Leavitt's Cepheid Variables Model allows the user to explore the relationship between period and apparent magnitude for Cepheid variables in the Magellanic Clouds, first discovered by Henrietta Levitt in 1912.  The main window displays a photographic negative of a star field.  When the simulation is played, the main window displays an animated sequence of photo negatives taken at 1 day intervals.  Each star field contains one Cepheid variable star, which can be identified by its changing size in the photographic negative.

A tool for measuring apparent magnitude is provided, and a plot of the light curve (modulo a test period) can be displayed.  These tools let the user measure the median apparent magnitude and period of the Cepheid variable. Resetting the simulation generates a new star field, so the user can measure many Cepheid variables and discover the relationship between period and luminosity for these stars, originally found by Leavitt for the star in the Small Magellanic Cloud.

The Leavitt Cepheid Variables Model was created using the Easy Java Simulations (EJS) modeling tool.  It is distributed as a ready-to-run (compiled) Java archive.  Double clicking the ejs_LeavittCepheidVariables.jar file will run the program if Java is installed.

Published July 3, 2012
Last Modified June 10, 2014

This file has previous versions.

Source Code Documents

Leavitt's Cepheid Variables Source Code 

The source code zip archive contains an XML representation of the Leavitt's Cepheid Variables model.   Unzip this archive in your EJS workspace to compile and run this model using EJS.

Released under a This material is released under the GNU General Public License Version 3.

Published July 3, 2012
Last Modified June 10, 2014

This file has previous versions.

OSP Projects:
Open Source Physics - EJS Modeling
Physlet Physics
Physlet Quantum Physics
STP Book