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

October 28, 2010 | 2:22 pm

Hello flowdesigner,

have a look on this old thread : http://cycling74.com/forums/topic.php?id=24411 ;

HTH.


Viewing 4 posts - 1 through 4 (of 4 total)