What Equation Would Do This?
Posted: Sat Jul 09, 2011 11:23 pm
I've been trying to figure out for an hour an equation that would make a sigmoid shape, and have points at (0,0), (½,½), and (1,1). The range of numbers entered into this formula would only be between 0 and 1, so anything else doesn't matter.
I've toyed with instead converting the number range of 0 to 1 to -1 through 1, and then using x² for numbers above 0 and -(x²) for numbers below 0 and somehow 'resizing' the graph so (-1,-1) would be at (0,0), (0,0) at (½,½), and (1,1) being left alone, but I can't figure out how to do that final step!
Anyone have an idea? I swear I saw this formula/graph before in math class, but I can't figure it out!
Edit: I think I actually need that graph flipped and then rotated 90°; I basically need a function where I enter time in, and it speeds up to 0.5, then slows to 1.
I've toyed with instead converting the number range of 0 to 1 to -1 through 1, and then using x² for numbers above 0 and -(x²) for numbers below 0 and somehow 'resizing' the graph so (-1,-1) would be at (0,0), (0,0) at (½,½), and (1,1) being left alone, but I can't figure out how to do that final step!
Anyone have an idea? I swear I saw this formula/graph before in math class, but I can't figure it out!
Edit: I think I actually need that graph flipped and then rotated 90°; I basically need a function where I enter time in, and it speeds up to 0.5, then slows to 1.