I need a function that meets certain criterias.
This is what I've got so far:
It looks like this:
And it is nearly perfect, except that I want exactly:
x = 1 --> y = 1
x = 2 --> y = 1.5
x = 0 --> y = 0
I can replace either of the 1.5's in the function above to satisfy either 1 or 2, but don't know how to find numbers that will satisfy both, though I have a hunch that it's some fancy number, involving PI.
so, I guess my question is: What function looks like the above graph and satisfies my three statements?