[GRLUG] Math Question

Michael Mol mikemol at gmail.com
Wed Nov 4 09:41:23 EST 2009


On Wed, Nov 4, 2009 at 8:48 AM, Adam Tauno Williams
<awilliam at whitemice.org> wrote:
> So maybe a bit off topic, but I know we have people here you love to
> argue about such things.
>
> I have three types of equipment: X, Y, & Z.
> Given $1.00 I know that in a year a single type X will typically consume
> 14% of that $1, type Y 30%, and type Z 56%.  So if I have x Xs, y Ys,
> and z Zs how do I calculate what percentage of the maintenance budget of
> N will typically be consumed by type X, Y, and Z?

C = consumed
D = your given 1$ (Redundant, plug in whatever you want, or factor it out.)
N = your budget

x = number of Xs
y = number of Ys
z = number of Zs

C = D * (x*0.14 + y*0.30 + z*0.56)

Percentage = N/C.

-- 
:wq


More information about the grlug mailing list