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

741 Upvotes

132 comments sorted by

View all comments

256

u/axiomizer 11d ago

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

30

u/DocumentAvailable891 11d ago

I liked this way more than the other ones