Roots of a function: Difference between revisions
Content added Content deleted
Line 3,293: | Line 3,293: | ||
(define (find-root f interval) |
(define (find-root f interval) |
||
(define (display-exactness root) |
(define (display-exactness root) |
||
(display (if (and (exact? root |
(display (if (and (exact? root) |
||
(exact? (f root)) |
|||
(zero? (f root))) |
|||
" (exact) " |
" (exact) " |
||
" (inexact) "))) |
" (inexact) "))) |