Loading...
Engaged Employer
How do you estimate square root of 5?
Anonymous
Use newton's method
Bisection method
To make up the newton's method. Consider function f(x) = x^2 - 5. we are seeking the root. f(x + dx) = f(x) + f'(x) dx x_new = x + dx
taylor expansion sqrt(5) = sqrt(4 + 1) first order: sqrt(5) ~= 2 + 1/4 = 2.25 second order: sqrt(5) ~= 2 + 1/4 - 1/64 = 2.2344 third order: sqrt(5) ~= 2 + 1/4 - 1/64 + 1/512 = 2.2363 ...
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalized job recommendations and updates by starting your searches.