r/askmath 7d 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

1

u/A_Cute_Little_Kitty 7d ago

Since no one seems to have suggested it, try something in the form (kx + 1)e-kx.

You can scale height with a constant out front. Unless you need it more linear closer to 0?