diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
| commit | 97d5c458cfa039d857301e1ca7d5af3beb37131d (patch) | |
| tree | b460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man6/arithmetic.6 | |
| parent | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff) | |
build: Better Build System
Diffstat (limited to 'static/unix-v10/man6/arithmetic.6')
| -rw-r--r-- | static/unix-v10/man6/arithmetic.6 | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/static/unix-v10/man6/arithmetic.6 b/static/unix-v10/man6/arithmetic.6 new file mode 100644 index 00000000..063daec3 --- /dev/null +++ b/static/unix-v10/man6/arithmetic.6 @@ -0,0 +1,71 @@ +.TH ARITHMETIC 6 +.CT 1 inst_info +.SH NAME +arithmetic \- drill in number facts +.SH SYNOPSIS +.B /usr/games/arithmetic +[ +.B +-x/ +] +[ +.I range +] +.SH DESCRIPTION +.I Arithmetic +types out simple arithmetic problems, +and waits for an answer to be typed in. +If the answer is correct, +it types back +.LR Right! , +and a new problem. +If the answer is wrong, +it replies +.L What? , +and waits for another answer. +Every twenty problems, it publishes +statistics on correctness and the time required +to answer. +.PP +To quit the program, +type an interrupt (delete). +.PP +The first optional argument determines the kind of problem +to be generated; +.B +-x/ +get +addition, subtraction, multiplication, and division +problems respectively. +One or more characters can be given; +if more than one is given, the different types of +problems will be mixed in random order; default is +.B +- +.PP +.I Range +is a decimal number; +all addends, subtrahends, differences, multiplicands, divisors, +and quotients will be less than or equal to the value of +.IR range . +Default +.I range +is 10. +.PP +At the start, all numbers less than or equal to +.I range +are equally likely +to appear. +If the respondent makes a mistake, +the numbers in the problem which was missed +become more likely to reappear. +.PP +As a matter of educational philosophy, the program will +not give correct answers, +since the learner should, in principle, +be able to calculate them. +Thus the program is intended to provide drill for +someone just past the first learning stage, +not to teach number facts +.I de +.IR novo . +For almost all users, +the relevant statistic should be +time per problem, not percent correct. |
