Sample Command

From GeoGebra Manual
Jump to: navigation, search



Sample[ <List L>, <Size n> ]
Returns list of n randomly chosen elements of L; elements can be chosen more times.
Sample[ <List L>, <Size n>, <Boolean for replacement> ]
Returns list of n randomly chosen elements of L. Elements can be chosen more times if and only if the last parameter is true.

CAS Syntax

© 2024 International GeoGebra Institute