Hello, I am trying to extrapolate a formula for a square-like root function. I know that e^1/2ln(x) is the formula for finding x from y in the formula x^2 = y but now i need to change this into a variation of the square root to find x from y in the formula x^2+(x-1)^2 = y. I honestly don't have any clue how to change the formula for square root into this variation, but i DO know how to do this functionally with loops.
a = 0
p = 4
x = 0
while (a < y)
{
a += p
p += 4
x++
}
And this would come out with x in this function. If anyone can help me reverse engineer the square root equation of e^1/2ln(x) to work for x^2+(x-1)^2 I will be very appreciative!!!! Thank you for any help
a = 0
p = 4
x = 0
while (a < y)
{
a += p
p += 4
x++
}
And this would come out with x in this function. If anyone can help me reverse engineer the square root equation of e^1/2ln(x) to work for x^2+(x-1)^2 I will be very appreciative!!!! Thank you for any help