I'm designing a wordpress management software that will post to a variety of blogs at once. There is a feature called Velocity. I need someone to write me the velocity function. If the velocity feature is selected this means the program will gradually schedule posts starting at a lower increment and gradually increase the number of post per day as we come closer to the end date.
ie: If we want to post to 400 domains in 10 days and velocity feature is selected. The software can come up with this possible scenario. Day 1 it will post to 10 domains, day 2 15 domains, day 3 20 domains, day 4 80 domains, etc... until it
fills out the rest of the day. I will leave it to the programmer to decide the algorithm to distribute the post to fit within the time span given.
I currently have an algorithm written but it doesn't smoothly gradually increase the blog post per day.
Here's the example of the currently fuction.
[url removed, login to view]
As you can tell, it doesn't evenly disperse the blogs and gradually increase. I need someone to fix this function for me so that the post per day just gradually increases nicely.