Modifying a linear function to start flat

115 Views Asked by At

Algorithm: $y = 0.00001x+0.00001$

Is it possible to convert this linear function to a mathematical algorithm that instead initially starts out flat, constantly being $0.00001$ as long as $0.00001x < 5$?

1

There are 1 best solutions below

4
On BEST ANSWER

$0.00001x<5$

$x<500000$

Therefore, your "algorithm", or equation would be:

$f(x)=0.00001$, when $x<500000$ and $f(x)=0.00001x+0.00001$ when $x\ge500000$