LIB12-Mathematical and Graphing Routines
BASIC8-30
Submitted by: Geoffrey Chase
Abstract: A series of twelve programs written on 8K-2 user Edu-20.
Routines include:

UNFLOT-The user inputs, in octal form, three 12-bit (4-digit) numbers representing the high, middle and low words of the floating AC; the program returns with the equivalent decimal value.

PERFCT-A fast program for finding perfect numbers up to 12 digits of precision.

SORTS-Actually 3 programs: (1) TREES--a binary tree (heap) sort; (2)

TOP1-a fast version of the "top" sort; (3) TOP2-slower, but it remembers the input order.

CALEND-Prints a calendar for the current year. User inputs year (1969 or later).

POLY-Brute force polynomial search and reduction; user information and control are maximized. If and when quadratic level is reached, both roots (real or imaginary or complex) are calculated and printed.

CUBIC-G. Ruth's general solution of the quartic is in DECUS NO.

FOCAL8-263. This program handles only cubics and quadratics, but allows for possible upward expansion by the user.

FRCADD-Adds fractions as fractions, finding L.C.D. and reducing answers to lowest terms. Written primarily for Edu-20/25, since these allow direct fractional input.

REPTER-A string of up to 6 digits, specified as repeating (9.0 repeating means 9.0909090 ... ) or terminating (9.0 terminating is just 9) is converted to a proper or improper fraction reduced to lowest terms.

SINCOS-Graphs sine & cosine curves, with some attention to speed in execution.

ELLHYP-Tangent ellipse/hyperbola, with asymptotes of the latter.

POINTS-A series of graphs, on increasingly larger scales, of the hyper- bolic curves of addition and cancellation of radiation from 2 point sources.

HARMON-A series of curves successively approximating a sawtooth or a square wave (user choice).

Media Price Code: D4, G16
Catalog: August 1978