Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

estimating costs based on varying units

  • 13-12-2016 11:59AM
    #1
    Registered Users, Registered Users 2 Posts: 2,422 ✭✭✭


    Hi
    I want to estimate how much my computer hardware will cost per month. My problem is that the number of machines I'm paying for will increase during the high traffic and decrease during low traffic.
    Let's say at midnight I'm using 2 machines, but during the day it peaks at 10 machines and drops again to 2 at midnight.

    How do I figure out what my average is there? Is it some kind of of SIN calculation?
    Thanks!


Comments

  • Registered Users, Registered Users 2 Posts: 5,130 ✭✭✭Yakuza


    Using a simple linear model, if your usage were to increase from 2 to 10 (at midday, say) and back down to 2 over a 24-hour period, then your average use is 6 machines per day.
    Basically a constant 2 machines plus the average *extra* (rising from 0 to 8 and back down to 0 in a day - average of 4) is a total of 6.
    Think of your usage as a triangle of base 24 (hours) and height 8. /\ Your usage is the area under the triangle which is half the base times the height. This is thus 0.5 * 24 * 8, or 96 machine-hours. Divide by 24 to get machine-days and then add on your constant 2.

    (If your usage isn't as linear, then the above won't work (but you could adapt the above example by considering a series of smaller time periods (rectangles) to measure the area of, add up all these bits and divide by 24 to turn into days).


Advertisement