Author Topic: For loop doesen't go over 2048?  (Read 1197 times)

Do it differently. This is not the correct way.
Then what is the correct way?

2/x = 0.0346
2 = 0.0346*x
2/0.0346 = x

You're doing 2/x
Do 2/0.0346

Why do we need a program to see that this is not possible, or try and calculate the values of X?

It should be clear straight away that 1 / i will never be larger than 2 / i.
i = -1.

And siba didn't I show you last week that you don't use loops like that to do math?