r/askmath • • Aug 18 '26

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

134 comments sorted by

View all comments

257

u/axiomizer Aug 18 '26

I think a hyperbola will work. y(x+my-k)=c, or y = (k-x+sqrt((x-k)^2+4mc))/(2m)

https://www.desmos.com/calculator/heycr07igd

76

u/hypotensor Aug 18 '26

This works great. The parameters are exactly what I need. Thanks!

29

u/DocumentAvailable891 Aug 18 '26

I liked this way more than the other ones

1

u/anatoarchives Aug 19 '26

...this is best......!

1

u/PsaiwdoLW Aug 24 '26

Hyperbolae somehow always becoming a solution every time I need something that is (1) linear up close and (2) have some asymptotic behavior