Computer Science, asked by shahanab5998, 1 year ago

How to perform square root without using math module in Python?

Answers

Answered by amannishad0512p5zxh6
0

Logic is here,I don't no python

I am java learner.

Concept is this follow rules.

1st of all input a number.

int n=16

Store half of number n in another variable .

sq=n/2

Run a loop(do-while)

with 2 statement .

take another variable t

now write.

t=sq

t=(t+(n/t)/)2

now write test condition.

while((t-sq)!=0)

Ask again if you not got.

Hope you will understood


amannishad0512p5zxh6: Bohtt hard
Similar questions