# Oh no! sqrt broke! [duplicate]

For some reason, the sqrt function (or equivalent) in all programming languages has broken! You must find a workaround.

# Input

The input is 1 number.

# Output

The output is the square root of the input. You must be accurate to ±0.1.

# Limitations

You may not use any built in sqrt function (or equivalent). You can not use anything equivalent to ^1/2, either. You must achieve this in the smallest byte count possible.

• Is the input always an integer? Is the input always a perfect square? – Calvin's Hobbies Nov 28 '15 at 21:33
• Borderline dupe, but that one allows raising to the .5 power. – Doorknob Nov 28 '15 at 21:35
• To what accuracy are you looking for? – Arcturus Nov 28 '15 at 21:38
• @Calvin'sHobbies First question: Yes Second question: No – ev3commander Nov 28 '15 at 21:42
• @Eridan: edited – ev3commander Nov 28 '15 at 21:42

i=input();n=0