summaryrefslogtreecommitdiff
path: root/coding-exercises/2/14.rkt
diff options
context:
space:
mode:
Diffstat (limited to 'coding-exercises/2/14.rkt')
-rw-r--r--coding-exercises/2/14.rkt5
1 files changed, 4 insertions, 1 deletions
diff --git a/coding-exercises/2/14.rkt b/coding-exercises/2/14.rkt
index 50d28fc..c2a0ca9 100644
--- a/coding-exercises/2/14.rkt
+++ b/coding-exercises/2/14.rkt
@@ -49,9 +49,12 @@
(print-interval-percent (mul-interval i1 i1))
(print-interval-percent (mul-interval i1 i2))))
-;; There are at least some problems as I understand:
+;; There are at least some problems as I understand from 2.14 and 2.15:
;; 1. Repeated intervals in an equation are dependent on each other
;; 2. Multiplicative identity is undefined and should not be uncertain
+;;
+;; In 2.16 I would try to rewrite the code to try to make the inverse under multiplication certain
+;; and would try to keep track of dependent intervals and maybe only introduce uncertainty once.
(define (print-lem)
(let ((i1 (make-center-percent 100.0 2.0))
(i2 (make-center-percent 200.0 3.0)))