黄金比
Golden ratio algorithm