sicp

sicp sandbox.
git clone git://git.ricketyspace.net/sicp.git
Log | Files | Refs

commit a394d0140222bb7939cbcf3f27f2ad6ca0b7f1d7
parent 6b34745c4287464a030f2b255ece126494eada54
Author: rsiddharth <s@ricketyspace.net>
Date:   Sat, 23 Jul 2016 15:56:24 +0000

finish ex. 1.10.

Diffstat:
sicp.org | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/sicp.org b/sicp.org @@ -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)=