MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / get_initial_point

Function get_initial_point

maths/numerical_analysis/square_root.py:12–18  ·  view source on GitHub ↗
(a: float)

Source from the content-addressed store, hash-verified

10
11
12def get_initial_point(a: float) -> float:
13 start = 2.0
14
15 while start <= a:
16 start = math.pow(start, 2)
17
18 return start
19
20
21def square_root_iterative(

Callers 1

square_root_iterativeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected