I have a mathematical problem that is beyond my ability to solve, so I thought I would ask here:
I have a distance between two values: say 100 and 10. And I have a step value say 5. My need is that I need to reach from 100 to 10 in 5 steps (which is pretty simple). The complexity is that I need an "incremental" step, such that:
step 1 distance < step 2 distance < step 3 distance...so on till the final step. The idea is that each step should be incrementally higher than the previous step. The increment can be something I decide (I dont know how to, thought), but the thing is that there should be a structure to the increment- as in, I cant just randomly keep adding say 10 as first step, 12 as second step, 30 as third step etc.
Can anyone help me formulate something that will help solve this problem I have at hand? Any pointers is greatly appreciated!
There are a couple ways to go about it. The simplest, IMO, would be to let the first step be $x$, the second $x+d$, the third step $x+d+d$, then $x+d+d+d$, and the fifth step $x+d+d+d+d$.
This means you would have to cover the entire distance in $5x+10d$. So you set the distance equal to that. In your example of going from 100 to 10, $$90=5x+10d$$ This gives you multiple ways. For example, $d=5, x=8$ gives steps of $8,13,18,23,28$
Or $d=1,x=16$ yields $16,17,18,19,20$