Hi guys, Im facing a serious problem and not finding an optimal way to solve it , I have to implement square root function that gets in its input double x , double toleration and the output must be the value of square root of value x , I musn't use any already built up function like pow or square , I just must use operation / + - *

the toleration parameter is actually how much error deviation possibility , I mean lets assume toleration is 0.1 , and value x is 10 then 3+0.1 is acceptable and 3-0.1 also acceptable .. toleration is the deviation of your error from the correct value of the square root of x ..

thanks alot!