Sun morsels II

Ten calculations about the Sun, worked through

The second helping is more mathematical: each morsel states its formula, then fills in the numbers for Columbus as you move the sliders. Constants come from the IAU and NASA.
IAU 2015 Resolution B3 on recommended nominal conversion constants: the Sun's luminosity 3.828 × 10²⁶ W, radius 695,700 km, GM 1.3271244 × 10²⁰ m³/s². Source · All sources
Surface temperature, from its light
–
Sunlight above the air today
–
Escape speed at its surface
–
Its spectrum peaks at
–

The live figures need JavaScript. Every formula and its answer are in the text.

The first ten Sun morsels

Your sky

The sunrise equation, worked for your place

Day length comes from one line of spherical trigonometry: the hour angle at which the Sun's center sits 0.833° below the horizon. When the cosine falls below −1 the Sun never sets; above +1 it never rises.
U.S. Naval Observatory: rise, set and twilight definitions. Sunrise and sunset are when the Sun's upper edge is on the horizon, its center 0.833° below once refraction is allowed for. Source · All sources

cos H0 = (sin h0 − sin φ sin δ) / (cos φ cos δ)  ·  day = 2H0/15°·h

Clocks

The equation of time is two waves added

A sundial drifts against a clock for two reasons. The tilt makes a wave of up to 9.9 minutes that repeats twice a year; the oval orbit makes one of up to 7.7 minutes that repeats once. Their sum swings from −14 minutes in February to +16 in November. Set the tilt or the eccentricity to zero and one wave vanishes.
Meeus, J. (1998). Astronomical Algorithms, 2nd ed. Willmann-Bell. The Sun (chapter 25), the Moon's position from the largest terms of tables 47.A and 47.B (chapter 47), phases (49) and optical libration (53): the figures' formulas. Source · All sources

E = y sin 2L − 2e sin M + 4ey sin M cos 2L − ½y² sin 4L − (5/4)e² sin 2M,   y = tan²(ε/2)

Energy

At the June solstice the North Pole gets more sunshine than the equator

Averaged over 24 hours, the top of the atmosphere at the pole in June receives about 525 W/m², more than anywhere on the equator on any day. The Sun is low there, but it never sets.
Berger (1978), Long-term variations of daily insolation and Quaternary climatic changes, Journal of the Atmospheric Sciences 35, 2362. The daily mean insolation formula. Source · All sources

Q = (S0/π)(d̄/d)² (H0 sin φ sin δ + cos φ cos δ sin H0),   cos H0 = −tan φ tan δ

S₀ = 1,361 W/m² at 1 AU, measured from space.
Kopp, G. and Lean, J. L. (2011). A new, lower value of total solar irradiance. Geophysical Research Letters 38, L01706. 1,360.8 W/m² at 1 AU. Source · All sources

Heat

From the Sun's light to Earth's temperature in two lines

The Stefan–Boltzmann law turns the Sun's power and size into its surface temperature, 5,772 K. Balance the sunlight a planet absorbs against what it radiates and Earth should sit at 254 K, about −19 °C. It averages 288 K: the 34 K gap is the greenhouse effect. On Venus the gap is over 500 K.
Stefan–Boltzmann law: a black body radiates σT⁴ per unit area. Source · All sources
Planetary equilibrium temperature: T = T☉·√(R☉/2d)·(1 − A)^(1/4) for a fast-rotating planet; about 255 K for Earth. Source · All sources

T☉ = (L / 4πR²σ)1/4  ·  Teq = T☉ √(R☉/2d) (1 − A)1/4

Albedos and surface temperatures from NASA's fact sheets.
NASA NSSDCA: Planetary Fact Sheet. Bond albedos, distances, sidereal rotation and orbital periods, and mean surface temperatures. Source · All sources

Light

The Sun's peak color depends on how you count

Plotted per nanometer, a 5,772 K black body peaks at 502 nm, in the green. Plotted per hertz, the same light peaks at 883 nm, in the infrared. Neither is wrong: a peak is not a color. About 43% of the power falls between 380 and 750 nm.
Planck's law: the spectrum of a black body at temperature T. Source · All sources
Wien's displacement law: λmax = b/T with b = 2.898 × 10⁻³ m·K; per unit frequency the peak is at 5.879 × 10¹⁰ Hz/K × T. Source · All sources

Bλ(T) = (2hc²/λ⁵) / (ehc/λkT − 1)  ·  λmax = b/T, b = 2.898 × 10⁻³ m·K

Your sky

How long does the Sun take to set?

The Sun's disk is 32 arcminutes across. Divide by how fast it sinks at the horizon and you get the sunset's length: about 2 minutes at the equator, longer the farther you go from it, and many minutes near the polar circles, where the Sun slides along the horizon.
U.S. Naval Observatory: rise, set and twilight definitions. Sunrise and sunset are when the Sun's upper edge is on the horizon, its center 0.833° below once refraction is allowed for. Source · All sources

t ≈ 0.533° / (15°/h · cos φ cos δ sin H0)

Your sky

Twilight is the sunrise equation with a deeper horizon

Put −6°, −12° or −18° in place of −0.833° and the same formula gives the ends of civil, nautical and astronomical twilight. Near the equator twilight is brisk; at high latitudes in summer the Sun never sinks 18° and astronomical twilight lasts all night, north of about 48.6° at the June solstice.
Twilight: civil, nautical and astronomical, ending when the Sun's center is 6°, 12° and 18° below the horizon. Source · All sources

t = (H(h) − H(−0.833°)) / 15°·h,   h = −6°, −12°, −18°

Rotation

On Mercury a day lasts two years

A planet's day from noon to noon is longer than one turn against the stars, because it moves along its orbit while it turns. Earth turns in 23 h 56 min 4 s and its solar day is 24 h. Mercury turns in 58.6 days, yet noon to noon takes 176 days, two of its years. Venus turns backward, which makes its solar day shorter than its turn.
Solar time: the solar day exceeds the sidereal day because the planet moves along its orbit while it turns. Source · All sources

1/Tsolar = 1/Tsidereal − 1/Tyear   (a backward spin counts as negative)

Rotation and orbital periods from NASA.
NASA NSSDCA: Planetary Fact Sheet. Bond albedos, distances, sidereal rotation and orbital periods, and mean surface temperatures. Source · All sources

Optics

Every pinhole makes a Sun 1/107 of its distance

The Sun spans about 0.53°, so a pinhole projects an image whose width is 1/107 of the distance to the screen: 9.3 mm at 1 m, and 9 cm from gaps in leaves 10 m up, which is why the ground under a tree fills with crescents during an eclipse. Too big a hole blurs; too small a hole blurs by diffraction. Rayleigh found the best size.
Pinhole camera: Lord Rayleigh's best pinhole diameter, about 1.9·√(fλ). Source · All sources

Dimage = f · 2 tan(R☉/d)  ·  dhole ≈ 1.9 √(f λ)

Gravity

Hitting the Sun is harder than leaving the solar system

From Earth's orbit you already move at 29.8 km/s. Adding 12.3 km/s along that motion reaches the solar escape speed of 42.1 km/s. To fall into the Sun you must cancel nearly all of it: 26.9 km/s. That is why probes to the Sun swing past Venus again and again to shed speed.
Escape velocity: v = √(2GM/r); about 617.7 km/s at the Sun's surface and 42.1 km/s at Earth's distance. Source · All sources

vesc = √(2GM/r) = √2 · vcirc  ·  vfall = √(2GMR☉ / r(r + R☉))

Keep exploring

Every calculation runs in your browser from the formulas shown. Simplifications are stated where they are made: a black-body Sun, fast-rotating planets, one declination per day.
Meeus, J. (1998). Astronomical Algorithms, 2nd ed. Willmann-Bell. The Sun (chapter 25), the Moon's position from the largest terms of tables 47.A and 47.B (chapter 47), phases (49) and optical libration (53): the figures' formulas. Source · All sources

Sources

14 sources