Forums > MaxMSP

math quiz


October 28, 2010 | 12:27 pm

Hi,

I have a math question for you IQ people :)

I need a random number generator that feeds 4 max int objects, and the sum of the max int objects should always be 8,
with the random numbers evenly distributed over the 4 max int objects.

Could this be easily done with very basic objects? Thanks

October 28, 2010 | 12:42 pm

Yeah.

If you’re not using negative ints, then there aren’t many groups of 4 ints which add up to 8. I’d start by listing them all.

-A

October 28, 2010 | 2:01 pm

i hope this helps… :)
Nick

Attachments:
  1. 4RandAdd8.maxpat
Viewing 3 posts - 1 through 3 (of 3 total)