Difference between revisions of "IsPrime Command"

From GeoGebra Manual
Jump to: navigation, search
(added missing description)
Line 1: Line 1:
 
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}</noinclude>
 
{{command|CAS}}
 
{{command|CAS}}
 
;IsPrime[ <Number> ]
 
;IsPrime[ <Number> ]
: Returns ''true'' or ''false'' depending on whether the number is prime or not.
+
:Returns ''true'' or ''false'' depending on whether the number is prime or not.
 +
{{example| 1=<div>
 +
* <code><nowiki>IsPrime[10]</nowiki></code> yields ''false'' and
 +
* <code><nowiki>IsPrime[11]</nowiki></code> yields ''true''.
 +
</div>}}

Revision as of 11:03, 18 August 2011

© 2021 International GeoGebra Institute