I need to be able to generate a simple S-shaped curve for x and y values that both range from 0 to 1.
The idea is that this is the graph of the "value" obtained (the y-axis) if you fund a project at various levels from 0 to 100% (the x-axis).
It should start by rising fairly slowly, then start to grow quickly through the middle part of the domain, then flatten out toward the end.
I suspect there will be one or more parameters that the formula requires to control the general shape. I need to be able to tune those parameters so that my customer agrees with the shape of the graph...then I'll have the formula so that I can plug in a funding level and get out a value score.
I know the general formula for an s curve is 1/(1+e^-x)...but this isn't bound to my domain or range, and my math isn't good enough to figure it out myself.
I'm perfectly happy to implement this as two exponential functions, one that covers the left portion of the domain, and one that covers the right.
I hope this is clear....please feel free to tell me if it isn't.
The idea is that this is the graph of the "value" obtained (the y-axis) if you fund a project at various levels from 0 to 100% (the x-axis).
It should start by rising fairly slowly, then start to grow quickly through the middle part of the domain, then flatten out toward the end.
I suspect there will be one or more parameters that the formula requires to control the general shape. I need to be able to tune those parameters so that my customer agrees with the shape of the graph...then I'll have the formula so that I can plug in a funding level and get out a value score.
I know the general formula for an s curve is 1/(1+e^-x)...but this isn't bound to my domain or range, and my math isn't good enough to figure it out myself.
I'm perfectly happy to implement this as two exponential functions, one that covers the left portion of the domain, and one that covers the right.
I hope this is clear....please feel free to tell me if it isn't.
Last edited: