AuthorThomson, Norman D. author
TitleAPL Programs for the Mathematics Classroom [electronic resource] / by Norman D. Thomson
ImprintNew York, NY : Springer New York, 1989
Connect tohttp://dx.doi.org/10.1007/978-1-4612-3668-9
Descript XI, 185 p. online resource

SUMMARY

The idea for this book grew out of proposals at the APL86 conยญ ference in Manchester which led to the initiation of the I-APL (International APL) project, and through it to the availability of an interpreter which would bring the advantages of APL within the means of vast numbers of school children and their teachers. The motivation is that once school teachers have glimpsed the possibilities, there will be a place for an "ideas" book of short programs which will enable useful algorithms to be brought rapidly into classroom use, and perhaps even to be written and developed in front of the class. A scan of the contents will show how the conciseness of APL makes it possible to address a huge range of topics in a small number of pages. There is naturally a degree of idiosyncrasy in the choice of topics - the selection I have made reflects algoยญ rithms which have either proved useful in real work, or which have caught my imagination as candidates for demonstrating the value of APL as a mathematical notation. Where appropriate, notes on the programs are intended to show the naturalness with which APL deals with the mathematics concerned, and to estabยญ lish that APL is not, as is often supposed, an unreadable lanยญ guage written in a bizarre character set


CONTENT

1. Introduction -- 1.1 Graphics -- 1.2 Idioms -- 2. Arithmetic and Numbers -- 2.1. Basic Programs with Integers -- 2.2. Square and Triangular Numbers -- 2.3. Multiplication and other Tables -- 2.4. Isomorphisms -- 2.5. Primes and Factors -- 2.6. HCF and LCM -- 2.7. Recurring Decimals -- 2.8. Numbers in Different Bases -- 2.9. Roman Numerals -- 2.10. Encoding and Decoding -- 2.11. Problems involving Base 10 Digits -- 2.12. Computer Arithmetic -- 2.13. Counting Series Forwards and Backwards -- 2.14 Complex Numbers -- 3. Algebra and Sets -- 3.1. Some Basic Algebra -- 3.2. Roots of Quadratics -- 3.3. Matrix Operations -- 3.4. Polynomials -- 3.5. Arithmetic and Geometric Progressions -- 3.6. Sets -- 3.7. Polynomial Coefficients from Roots -- 4. Series -- 4.1. Recurrence Relations -- 4.2. Tests for Monotonicity -- 4.3. Convergence -- 4.4. Binomial Coefficients -- 4.5. Successive Differences of Series -- 4.6. Fibonacci Numbers -- 4.7. Series relating to pi -- 4.8. Series for e -- 4.9. A Series for ?2 -- 4.10. Trig Series -- 4.11. Continued Fractions -- 4.12. Interpolation -- 5. Formulae and Tables -- 5.1. Compound Interest -- 5.2. Mortgage Repayments -- 5.3. Triangle Formulae -- 5.4. Longest and Shortest Journeys -- 5.5. Pythagorasโs Theorem and Norms -- 5.6. Pythagorean Triples -- 6. Geometry and Pattern -- 6.1. Parametric Plotting -- 6.2. Envelopes -- 6.3. Transformations -- 6.4 Perspective Drawing -- 6.5. Co-ordinate Geometry in Two Dimensions -- 6.6. Polar and Cartesian Coordinates -- 6.7. Patterns by Plotting Large Numbers of Points -- 7. Calculus -- 7.1. Numerical Integration -- 7.2. Root Finding -- 7.3. Ordinary Differential Equations -- 8. Probability and Statistics -- 8.1. Discrete Probability Distributions -- 8.2. The Birthday Problem -- 8.3. Descriptive Statistics -- 8.4. Random Numbers from Various Distributions -- 8.5. Simulations -- 8.6. Frequency Distributions -- 8.7. Regression -- 8.8. Correlation -- 8.9. Non-parametric Tests -- 8.10. Statistical Tables -- 8.11. Sample Sizes -- 9. Combinatorics -- 9.1. Permutations in Lexical Order -- 9.2. Derangements -- 9.3. Combinations -- 9.4. Selections -- 9.5. Compositions and Partitions -- 9.6. Latin Squares -- 9.7. Magic Squares of Odd Order -- 10. Games and Miscellaneous -- 10.1. Deal a Hand at Whist -- 10.2. Chessboard -- 10.3. Mastermind -- 10.4. Life -- 10.5. Recursive Algorithms -- 10.6. Optical Illusions -- Appendix 1. Graphics -- Appendix 2. Idioms and Utilities -- A2.1. Rounding, Averaging, and Removing Duplicates -- A2.2. Sorting and Ranking -- A2.3. Statement Joining -- A2.4. Branching and Prompting -- A2.5. Matrix Manipulation -- A2.6. Replication -- A2.7. Without -- A2.8. Bit Manipulation -- A2.9. Some String Handling Functions -- A2.10. Testing for Numeric/Character -- A2.11. Timing Function Execution -- Appendix 3. Graphics Functions in I-APL -- Index of Topics -- Index of Programs and Variables


SUBJECT

  1. Mathematics
  2. Computer programming
  3. Programming languages (Electronic computers)
  4. Numerical analysis
  5. Mathematics
  6. Numerical Analysis
  7. Programming Languages
  8. Compilers
  9. Interpreters
  10. Programming Techniques