
Source: http://www.xkcd.com/941/

Source: http://www.xkcd.com/941/
Source: http://www.xkcd.com/936/
Source: http://www.xkcd.com/953/
Source: http://www.xkcd.com/1033/
I offer the following xkcd comic as a possible engagement exercise concerning the Pythagorean theorem.
Source: http://www.xkcd.com/85/
Source: http://xkcd.com/892/
Source: http://www.xkcd.com/833/
Source: http://www.xkcd.com/571/
This probably requires a little explanation with the nuances of how integers are stored in computers. A 16-bit signed integer simulates binary digits with 16 digits, where the first digit represents either positive () or negative (
). Because this first digit represents positive or negative, the counting system is a little different than regular counting in binary.
For starters,
represents
represents
represents
represents
For the next number, , there’s a catch. The first
means that this should represent a negative number. However, there’s no need for this to stand for
, since we already have a representation for
. So, to prevent representing the same number twice, we’ll say that this number represents
, and we’ll follow this rule for all representations starting with
. So
represents
represents
represents
represents
Because of this nuance, the following C computer program will result in the unexpected answer of (symbolized by the sheep going backwards in the comic strip).
main()
{
short x = 32767;
printf(“%d \n”, x + 1);
}
For more details, see http://en.wikipedia.org/wiki/Integer_%28computer_science%29
This is one of most creative diagrams that I’ve ever seen: the depth of various solar system gravity wells. A large version of this image can be accessed at http://xkcd.com/681_large/.
From the fine print:
Each well is scaled so that rising out of a physical well of that depth — in constant Earth surface gravity — would take the same energy as escaping from that planet’s gravity in reality.
Depth =
It takes the same amount of energy to launch something on an escape trajectory away from Earth as it would to launch is 6,000 km upward under a constant
Earth gravity. Hence, Earth’s well is 6,000 km deep.
Here’s some more details about the above formula.
Step 1. The escape velocity from the surface of a spherical planet is
,
where is the universal gravitational constant,
is the mass of the planet, and
is the radius of the planet. Therefore, the kinetic energy needed for a rocket with mass
to achieve this velocity is
Step 2. Suppose that a rocket moves at constant velocity upward near the surface of the earth. Then the force exerted by the rocket exactly cancel the force of gravity, so that
,
where is the acceleration due to gravity near Earth’s surface. Also, work equals force times distance. Therefore, if the rocket travels a distance
against this (hypothetically) constant gravity, then
The depth formula used in the comic is then found by equating these two expressions and solving for .