3 (define (smooth stream)
4 (cons-stream (/ (+ (stream-car stream)
5 (stream-car (stream-cdr stream)))
7 (smooth (stream-cdr stream))))
9 (define (make-zero-crossings input-stream last-value)
11 (sign-change-detector (stream-car input-stream) last-value)
12 (make-zero-crossings (stream-cdr input-stream)
13 (stream-car input-stream))))
15 (define zero-crossings (make-zero-crossings (smooth sense-data) 0))