Make a function of this graph. That's like an anti-graph!
November 22, 2007 9:24 AM
Subscribe
Help me create a function from a graph, details inside.
I want to create a function from this
xkcd webcomic that depicts the so-called Ballmer Peak. To make it simple, I want the y-axis to peak at 10. Get out your calculators!
posted by hammerthyme to education (6 comments total)
1 user marked this as a favorite
For instance,
y = 4 exp{-x^2/(0.1)^2} + 9 exp{-(x-0.13)^2/(1e-5)}
With a bit more work, you can constrain the coefficients to always have a certain maximum, like 10, but these seem to give you something close.
posted by fatllama at 9:39 AM on November 22, 2007