New Factor Command

We have added another way to define a parameter

$a=factor(value)
$a=factor(value,low,high)

When you regenerate a parameter defined with a factor command, $a will be allocated a random value selected from the factors of the number you have selected.

For example

$a=factor(72) will mean that $a is randomly selected from the list {1, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72}

The low and high values (which are optional) allow you to restrict the factors selected.

$a=factor(72,10,40) will mean that $a is randomly selected from the list {12, 18, 24, 36}


Discover more from Efofex News

Subscribe to get the latest posts sent to your email.

Unknown's avatar

About efofexsoftware

Efofex Software produces graphic production software designed specifically for secondary mathematics and science teachers.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a comment