Golden ratio

Divide a length into long and short parts in the golden ratio.

Inputs

Explanation and example