Recently, I was writing code when I started thinking about how to define X from this graph. I tried using proportions, but it’s not the same because in this case the “first number” decreases, not increases.
What formula had to be used to substitute any number for the second variable and I would get X?
I have tried all the formulas known to me so far, but my mathematical knowledge is not that big.
I also looked for information on Roblox Creator Documentary, but found nothing there either.
Any ideas?
So I came up with a super stupid idea that works.
I simply subtracted X from 100 and then by proportion counted the number
.
.
.
However, thanks for the help of users @JarodOfOrbiter , @Prototrode and @nicemike40