# 1.38

# SICP Exercise 1.38

The math was a bit tedious in this one, trying to calculate the pattern took me a while.

```
(define (e-euler k)
(+ 2.0
(cont-frac (lambda (i) 1.0)
(lambda (i)
(if (= (remainder i 3) 2)
(/ (+ i 1) 1.5)
1))
k)))
```