How to get GeoGebra to choose 3 integers randomly so that their product is >-144 and <= 144 ?

Aritmometer shared this question 2 years ago
Answered

How to get GeoGebra to choose 3 integers randomly so that their product is >= -144 and <= 144 ?

Comments (4)

photo
1

May be as in the joined file

Files: alea.ggb
photo
1

How big do you want them? How about 0 * 1 * 10000000000000000?

photo
1

a possibility

(could be extended to a version without repeating)

photo
1

Thank you for your inputs and ideas.

Both ways is nice to know for different purposes.

I looked through frndmrsi’s script first, which let me create a script so that all the three integers is between -12 and 12, so its possible for the students to calculate the product without using a calculator. Which they have to do to their written exam.

I’ll publish the script later here in case others would like to use it later on and its quite simple...

© 2023 International GeoGebra Institute