math quiz

Oct 28, 2010 at 12:27pm

math quiz

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

#52972
Oct 28, 2010 at 12:42pm

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

#190525
Oct 28, 2010 at 2:01pm

i hope this helps… :)
Nick

Attachments:
  1. 4RandAdd8.maxpat
#190526
Oct 28, 2010 at 2:22pm

Hello flowdesigner,

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

HTH.

#190527

You must be logged in to reply to this topic.