added assignment 2 ex 1

This commit is contained in:
2025-02-25 13:52:14 +01:00
parent 8639e2854a
commit 17b5c3adeb
2 changed files with 18 additions and 1 deletions

View File

@ -15,4 +15,4 @@ def sqrt(x: Double, approx: Double): Double = if (
sqrt(x, improve(x, approx))
}
sqrt(612, 10)
sqrt(612, 10)