my attempt to do the exercises in sicp.

Saturday, July 12, 2008

sicp exercise 2.13


; Exercise 2.13.  Show that under the assumption of small percentage tolerances there is a simple formula for the approximate percentage tolerance of the product of two intervals in terms of the tolerances of the factors. You may simplify the problem by assuming that all numbers are positive.


; interval 1: (c d)
; interval 2: (c' d')
;
; expressed as interval:
; (c-d c+d)  (c'-d' c'+d')
;
; product of interval (asuming all positive, dd' can be ignored)
; (cc'+cd'+c'd   cc'-cd'-c'd)
;
; interval expressed as percentage
; (cc'  (cd' + c'd)/cc')
; (cc'  d/c + d'/c')


No comments: