Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
12
def
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
21
def
square_root_iterative(
Callers
1
square_root_iterative
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected