Her har jeg brukt python for å løse oppgaven. \pythonBlock{./scripts/4.py} Output: \fbox{Iterasjoner: 7, a: 0.6932882713164431}