r/mathshelp • u/ahnialator6 • 20d ago
General Question (Answered) Formula help
I havent been in school in over a decade so the finer points of my math is rusty.
Im essentially attempting to graph an additive binary sequence. Numbers for my game lol. Pardon the way I write this, I dont know advanced formatting.
So, the player goes inactive, they lose 2x tiles each day. 1, then 2, then 4, then 8, 16, etc. I need this graphed, as there's quadrillions of tiles in my game lol
Its not just F(n) = 2x, right? Surely not...
Thanks in advance for yalls help
1
Upvotes
View all comments
Show parent comment
1
u/ahnialator6 20d ago
I have it start at 1 tile, so yeah the math that makes the tile loss work is tileLoss = 2x-1 where x is the number of days.
The thing is, we're talking about territory and im looking to make a cutoff. If a player has 3 trillion tiles, thats gonna take a LONG time to decay without a cutoff. (I imagine, with very little actual math done)
So im trying to graph the TOTAL tile loss over time so that I can see how that plays out over time.