
Help with formula (revised question)
Posted:
Nov 20, 2013 2:50 AM


I asked a similar question earlier. Thank you everyone who tried helping. However, I'd now like to revise the data and requirements. Here is the new data set:
X Y   0.0 1 0.1 1 0.5 1 0.9 1 1.0 1 1.03 2 1.5 2 1.8 2 2.0 2 2.3 3 3.0 3 3.2 4
X is a positive real number greater than or equal to zero (or 0.0). Y is an integer as seen in the second column above.
Can this data be represented with a formula that only uses either addition, subtraction, multiplication, division, modulus, or the power (^) function, or any combination of these?
The function f(x) = x + (0^x) almost works, but it needs a little bit of tweaking.
If possible, I would like to avoid using any abs() value functions, or max() functions, or "ifelse" programming logic, or roundup() functions. I'm curious if I can find a formula that only uses basic math operators.
I'd appreciate any ideas. Thank you!

