上一页 1 ··· 4 5 6 7 8
摘要: sicp每日一题[2.1] Exercise 2.1 Exercise 2.1: Define a better version of make-rat that handles both positive and negative arguments. make-rat should normalize the sign s 阅读全文
posted @ 2024-09-07 13:43 再思即可 阅读(10) 评论(0) 推荐(0) 编辑
摘要: sicp每日一题[1.46] Exercise 1.46 Several of the numerical methods described in this chapter are instances of an extremely general computational strategy known as iterati 阅读全文
posted @ 2024-09-06 11:50 再思即可 阅读(6) 评论(0) 推荐(0) 编辑
摘要: sicp每日一题[1.45] Exercise 1.45 We saw in Section 1.3.3 that attempting to compute square roots by naively finding a fixed point of y->x/y does not converge, and that t 阅读全文
posted @ 2024-09-05 14:03 再思即可 阅读(14) 评论(0) 推荐(0) 编辑
摘要: sicp每日一题[1.44] Exercise 1.44 The idea of smoothing a function is an important concept in signal processing. If f is a function and dx is some small number, then the 阅读全文
posted @ 2024-09-04 10:49 再思即可 阅读(4) 评论(0) 推荐(0) 编辑
摘要: sicp每日一题[1.43] Exercise 1.43 If f is a numerical function and n is a positive integer, then we can form the nth repeated application of f, which is defined to be the 阅读全文
posted @ 2024-09-03 10:55 再思即可 阅读(4) 评论(0) 推荐(0) 编辑
摘要: sicp每日一题[1.42] Exercise 1.42 Let f and g be two one-argument functions. The composition f after g is defined to be the function x->f(g(x)). Define a procedure compos 阅读全文
posted @ 2024-09-03 10:27 再思即可 阅读(4) 评论(0) 推荐(0) 编辑
摘要: sicp每日一题[1.41] Exercise 1.41 Define a procedure double that takes a procedure of one argument as argument and returns a procedure that applies the original procedure 阅读全文
posted @ 2024-09-02 10:22 再思即可 阅读(2) 评论(0) 推荐(0) 编辑
摘要: sicp每日一题[1.40] Exercise 1.40 Define a procedure cubic that can be used together with the newtons-method procedure in expressions of the form (newtons-method (cubic a 阅读全文
posted @ 2024-09-01 16:18 再思即可 阅读(1) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8