I am using a square formula in a programming assignment the formula is as follows in pseudo-code:
The problem I'm having is writing this method as a mathematical forumla. I can vaugely remember using square brackets to represent repitition but I honestly can't remember. So I'm wondering if any of you guys could help???Code:INPUT number
INPUT guess
LOOP
oldguess = newguess
newguess = 1/2 * (number / oldguess + oldguess)
WHILE newguess - oldguess > 0.00005
