X can be -1 to 1.8 while Y can be -1.05 to 1.25
So max = 1.8 / 1.25 and min = -1 / -1.05
Calculating the minimum value possible with both min values gets- 0.95 while the maximum possible of both values gets- 1.44
Logically, in my mind anyway, I would have concluded that any values either variable gets in between their minimum and maximum values would be between those two limits... however with input like- 1.6/0.05, you get 32.
Can somebody give me a rough explanation and maybe guide me in the right direction to getting a linear algorithm that only gives a value back between those two max and min values?
Thank you in advance!