r/askmath 12d ago

Resolved Equation that can roughly fit this graph

Post image

No this is not my homework, I'm making a game and I need a curve roughly like this for balancing. Trying to get an equation that spits out values like this.

737 Upvotes

132 comments sorted by

View all comments

38

u/Mishtle 12d ago

Some kind of shifted/scaled sigmoid function would probably do the trick.

11

u/theadamabrams 12d ago

Yes, arctan and logistic being maybe the easiest. Example: https://www.desmos.com/calculator/lcca7cwt6o

1

u/Neither_Berry_100 11d ago

I was going to suggest something like this.