Skip to content

SICP习题解答:第一章(下)


Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304

Warning: preg_replace_callback(): Unknown modifier 'c' in /home/tianyicui/cuitianyi.com/wp-content/plugins/wp-codebox/geshi/geshi.php on line 3304
?View Code SCHEME
;; 1.29
;; 1.30
;; 1.31 只需要把sum改动两处。
; 递归实现
; 迭代实现
; 阶乘
; π的近似值
;; 1.32
;; 1.33
; filtered-accumulate 的两种实现
; (a)
; (b)
;; 1.34 (f f)相当于(f 2),相当于(2 2),会因为2并非可以调用的函数而出错。
;; 1.35 证明不动点直接计算即可,计算的(fixed-point (lambda (x) (+ 1 (/ 1 x))) 1.0)。
;; 1.36 全部代码如下
; 使用与不使用平均阻尼的步数分别为9与34步。
;; 1.37
; 递归版本
; 迭代版本
; 当k不小于11时,结果有4位精度。
;; 1.38
;; 1.39
;; 1.40
;; 1.41
; double函数
;; (((double (double double)) inc) 5) 的值为21。因为 (double double) 得到一个把参数过程应用四次的函数,而 (double (double double)) 事实上是将“把参数过程应用四次”的过程应用两次,也就是一个将参数过程应用十六次的函数。
;; 1.42
;; 1.43
;; 1.44
;; 1.45
;; 通过实验,得到的规律是,当 2^t>=n 时,用 t 次平均阻尼求 n 次方根是可行的,于是有下面的程序。
;; 1.46
 

2 Comments

  1. bobye wrote:

    SICP 的解答貌似浙大这个老师有给出过,我一个同学(也是浙大的)就从他那获得了SICP的教学视频和解答。

    另外我本人看到完了两三章,做了一点笔记,可惜现在没有更多时间把它看完了。

    Saturday, November 29, 2008 at 18:59 | Permalink
  2. 我的BLOG ….有这本书的视频?? 哇撒 能发给我吗? 用邮件bb.qnyd@gmail.com

    Thursday, April 23, 2009 at 15:34 | Permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*