# Shadow square

The shadow square, also known as an altitude scale, was an instrument used to determine the linear height of an object, in conjunction with the alidade, for angular observations. It was invented by Muhammad ibn Mūsā al-Khwārizmī in 9th-century Baghdad.[failed verification] Shadow squares are often found on the backs of astrolabes.

## Uses

The main use of a shadow square is to measure the linear height of an object using its shadow. It does so by simulating the ratio between an object, generally a gnomon, and its shadow.If the sun's ray is between 0 degrees and 45 degrees the umbra versa (Vertical axis) is used, between 45 degrees and 90 degrees the umbra recta (Horizontal axis) is used and when the sun's ray is at 45 degrees its shadow falls exactly on the umbra media (y=x)  It was used during the time of medieval astronomy to determine the height of, and to track the movement of celestial bodies such as the sun when more advanced measurement methods were not available. These methods can still be used today to determine the altitude, with reference to the horizon, of any visible celestial body.

## Gnomon

A gnomon is used along with a shadow box commonly. A gnomon is a stick placed vertically in a sunny place so that it casts a shadow that can be measured. By studying the shadow of the gnomon you can learn a lot of information about the motion of the sun. Gnomons were most likely independently discovered by many ancient civilizations, but it is known that they were used in the 5th century BC in Greece. Most likely for the measurement of the winter and summer solstices. "Herodotus says in his Histories written around 450 B.C., that the Greeks learned the use of the gnomon from the Babylonians.

## Examples

If your shadow is 4 feet long in your own feet, then what is the altitude of the sun? This problem can be solved through the use of the shadow box. The shadow box is divided in half, one half is calibrated by sixes the other by tens. Because it is a shadow cast by the human body the sixes are more convenient. By moving the alidade to the four (the same as your shadows length) and then reading the altitude scale you will see the sun is at an altitude of 56.3 degrees.

The Shadow box can also be used with long shadows using a slightly modified method. If your shadow is 18 feet long, then what is the altitude of the sun? Using the sixes side of the shadow box (because we are using a human body as measurement). The longest shadow marked on a shadow box is six feet, this creates a problem any time the shadow is longer than the gnomon (you) that casts it. By performing a simple calculation, by figuring out how tall a gnomon would be if it cast a six-foot shadow in the same situation. In this situation the gnomon would be only two feet tall, in order to cast a six-foot shadow. If the shadow is longer than the gnomon, first turn the astrolabe upside down then set the alidade at two, the height of the projected gnomon, then read off the altitude from the altitude scale. It should read that the sun is at 19 degrees above the horizon.