sicp-solutions/ex-1.15.txt
Petar Kapriš a697f52405 Add solutions to exercises from section 1.2
To be noted: the drawing in exercise 1.14 is unfinished. I did it in a
notebook, but haven't yet had the time to put it in a txt file.
2025-02-05 13:59:25 +01:00

5 lines
212 B
Text

Every time we call sine we end up calling
(p (sine angle/3)), which becomes
(p (p (sine angle/3/3))), etc.
So we end up calling it once each time until angle reaches 0.1/
In other words ceil(log3(12.15/0.1)) = 5