diff options
author | rsiddharth <s@ricketyspace.net> | 2016-07-23 15:56:24 +0000 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2016-07-23 15:56:24 +0000 |
commit | a394d0140222bb7939cbcf3f27f2ad6ca0b7f1d7 (patch) | |
tree | 1e7af6a92532761ad688dc6caf29ea171c1118b2 | |
parent | 6b34745c4287464a030f2b255ece126494eada54 (diff) |
finish ex. 1.10.
-rw-r--r-- | sicp.org | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -268,3 +268,12 @@ is ~A = 2x2^y~. (A 1 2^65536) 2^(2^65536) #+END_SRC +**** mathematical definitions for +***** (define (f n) (A 0 n)) +=(f n)= computes =(* 2 n)= +***** (define (g n) (A 1 n)) +=(g n)= computes =(expt 2 n)= +***** (define (h n) (A 2 n)) +=(h n)= computes =(expt 2 (h (1- n)))= +***** (define (k n) (* 5 n n)) +=(k n)= computes =(* 5 n n)= |