Education Prize Logo
Science SPORE Prize
November 2011

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

Eratosthenes Model Documents

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

Main Document

Eratosthenes Model 

written by Todd Timberlake

The Eratosthenes model displays the shadows cast by two gnomons (sticks) at different locations on Earth. For one gnomon, Sun is directly overhead (as would be the case if the gnomon was on the Tropic of Cancer at the summer solstice). The other gnomon is due north of the first gnomon. The sizes of the gnomons are greatly exaggerated for visibility. This simulation can be used to help illustrate how Eratosthenes was able to measure the diameter of Earth using the shadows cast by two gnomons, one situated due north of the other, on a day when the southerly gnomon cast no shadow at all. The distance between the two gnomons (along Earth's surface) can be adjusted. The length of the shadow is given, and this length can be used to determine the angle between the gnomon lines and from that the circumference (and diameter, radius, etc) of Earth. Earth can be hidden to give a better view of the relevant geometry.

The Eratosthenes 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_astronomy_Eratosthenes.jar file will run the program if Java is installed.  EJS is a part of the Open Source Physics Project and is designed to make it easier to access, modify, and generate computer models.

Last Modified June 6, 2014

This file has previous versions.

Source Code Documents

Eratosthenes Model Source Code 

Source Code for the Eratosthenes Model program.

Published January 1, 2010
Last Modified June 6, 2014

This file has previous versions.

The OSP Network:
Open Source Physics - Tracker - EJS Modeling
Physlet Physics
Physlet Quantum Physics