MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Calculating a given total using only given specific values tia sal22

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104294] Calculating a given total using only given specific values tia sal22
  • From: Rick T <ratulloch at gmail.com>
  • Date: Sun, 25 Oct 2009 23:26:20 -0500 (EST)

Calculating a given total using only given specific values

Greetings All

I'm trying to figure out a way to calculate a given total
using only given specific values.

Example:
The total given is 46
The numbers I can use are 56,38,20,12,4, and 1
so the numbers it should use and come back with would be highest to
lowest
so it should be 38,4,and 4 because
these will add up to 46.  Is there a name given to this type of
mathematics?

And does anyone have an example of how to do this?

tia sal22


  • Prev by Date: Summing all the elements along a dimension in a matrix
  • Next by Date: Using "/@" Effectively
  • Previous by thread: Re: Summing all the elements along a dimension in a matrix
  • Next by thread: Re: Calculating a given total using only given specific