Computer Science, asked by adamubezoe, 10 months ago

Using the AIT Wifi for Students as an example, explain the challenge(s) you
face while accessing it, explain why the challenge(s) exist(s) and explain what
you think could be done to fix the challenge(s).

Answers

Answered by ıtʑFᴇᴇʟɓᴇãᴛ
3

def sqApprox(num):

i = 0

minsq = 0 # set lower bound

maxsq = math.ceil(num’l’num)

# set upper bound

while i< maxsq :

# set ‘while’ termination condition

if i*i< =num and i>minsq:

# complete inequality condition

minsq = i

if i*i> =num and i<maxsq:

# complete inequality condition

maxsq = i

i+=l

# update i so that ‘while’ will terminate

return (minsq, maxsq)

Similar questions
Math, 10 months ago