Go to the first, previous, next, last section, table of contents.

Amusements

Octave cannot promise that you will actually win the lotto, but it can pick your numbers for you. The function texas_lotto will select six numbers between 1 and 50.

The function list_primes (n) uses a brute-force algorithm to compute the first n primes.

Other amusing functions include casesen, flops, sombrero, exit, and quit.


Go to the first, previous, next, last section, table of contents.