read
[CODE]
(define (n-e i) 1.0)
(define (d-e i)
(if (= 2 (remainder i 3))
1.0
(* 2 (/ (+ i 1) 3))))
[/CODE]
> (+ 2 (cont-frac n-e d-e 10))
2.4813757546665216
>
[CODE]
(define (n-e i) 1.0)
(define (d-e i)
(if (= 2 (remainder i 3))
1.0
(* 2 (/ (+ i 1) 3))))
[/CODE]
> (+ 2 (cont-frac n-e d-e 10))
2.4813757546665216
>