Learning by Example: Newton's Method
In this lesson, you will learn how to calculate the square root of a number using Newton's Method. We will then go over its implementation in Scala.
We'll cover the following
In this lesson, we will define a function which will calculate the square root of a given number. The implementation of the function will be based on Newton’s Method.
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy