灯下 登录
计算机科学 / SICP / 1.3.3 Procedures as General Methods

Exercise 1.35 · 习题

Exercise 1.35: Show that the golden ratio
φ (1.2.2) is a fixed point of the transformation
x

1
+
1

/

x, and use this fact to compute φ by means

of the fixed-point procedure.

练习 1.35:证明黄金比例 φ(见 1.2.2 节)是变换 x ↦ 1 + 1/x 的不动点,并利用这一事实通过 fixed-point 过程计算 φ。