Difference between revisions of "IsPrime Command"
From GeoGebra Manual
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=4. | + | <noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>{{betamanual|version=4.2}} |
{{command|CAS}} | {{command|CAS}} | ||
;IsPrime[ <Number> ] | ;IsPrime[ <Number> ] |
Revision as of 17:31, 12 June 2012
This page is about a feature that is supported only in GeoGebra 4.2. |
This command works in CAS View only.
- IsPrime[ <Number> ]
- Returns true or false depending on whether the number is prime or not.
- Example:
IsPrime[10]
yields false,IsPrime[11]
yields true.