Many example programs are provided with roo!.
Some of these provide helpful solutions to a variety of math challenges, notably:
| All r4 example programs can be executed by roo!. The following additional example programs are provided with roo! : | |
alarmer | perform commands by time of day |
blueMoonGenie | discovers next blue moon |
chiSquaredAssessment_ice | computes: "chi-squared" value, and associated significance, for a series of data values. |
checksum | computes a numeric checksum of file contents |
csv2xml | converts a comma-separated value (CSV) file to an XML equivalent |
deal | deals a hand of cards, initial program |
dir2csv | prepares a summary of the current directory as a comma-separated value (CSV) file |
folie | displays a graph of Descartes' folie: x3 + y3 - 3 x y = 0 |
fullMoon_ice | external procedure, computes base date of Nth full moon after January 1, 2000 |
getHtmlKeywords | extracts keywords from HTML file meta information |
getModuleSizeAndChecksum | extracts information from multiple lines produced by a command |
in2out | copies default input stream contents to default output stream |
linearFit_ice | computes the line that best fits a series of points, and the mean absolute deviation. |
linearProgram | finds optimal solution for a series of linear inequalities |
lottery | shows 6 lottery picks, between 1 and 49 |
make | a program that processes a MAKE script |
matrixOperation | a program that performs various linear algebra (matrix algebra) computations -- simultaneous equations, determinants, matrix inverse, characteristic polynomial, quadratic formula, eigen values, eigen vector matrix, etc. |
meanAssessment_ice | computes: "Student's t" value, and associated significance, for a series of data values. |
MineSwp | a Java & roo! implementation of the MineSweeper game |
polynomialMultiplication | multiplies 2 polynomials |
qt | query time, with various output destinations |
qtVoice | query time, with voice output, once |
qtVoiceEndless | query time, with voice output, endlessly |
quipDuJour | shows a quip du jour, from a file argument |
rootFinder | discovers the roots of a polynomial equation, having one variable |
rooTry | an interactive command shell |
showQuip | show a quip du jour, from the default input stream |
solveIt | solves a family of simultaneous equations (a TopHat! program) |
sumDisk | disk space summarization |
tickler | a tickler file reminder program |
towersOfHanoi | towers of hanoi, initial program |
winlist | lists active windows .. using ExternalClass 'winlist.dll' |
xmlTree | converts an XML file to a tree, and prints the tree |
| The following additional programs display graphs of various mathematical functions : | |
| naturalLogarithmGraph | plots ln( x ) |
| naturalPowerGraph | plots ex |
| sineGraph | plots sine( x ) |
| cosineGraph | plots cosine( x ) |
| tangentGraph | plots tangent( x ) |
| cosecantGraph | plots cosecant( x ) |
| secantGraph | plots secant( x ) |
| cotangentGraph | plots cotangent( x ) |
| arcSineGraph | plots sin-1( x ) |
| arcCosineGraph | plots cos-1( x ) |
| arcTangentGraph | plots tan-1( x ) |
| arcCosecantGraph | plots csc-1( x ) |
| arcSecantGraph | plots sec-1( x ) |
| arcCotangentGraph | plots cot-1( x ) |
| hyperbolicSineGraph | plots sinh( x ) |
| hyperbolicCosineGraph | plots cosh( x ) |
| hyperbolicTangentGraph | plots tanh( x ) |
| hyperbolicCosecantGraph | plots csch( x ) |
| hyperbolicSecantGraph | plots sech( x ) |
| hyperbolicCotangentGraph | plots coth( x ) |
| inverseHyperbolicSineGraph | plots sinh-1( x ) |
| inverseHyperbolicCosineGraph | plots cosh-1( x ) |
| inverseHyperbolicTangentGraph | plots tanh-1( x ) |
| inverseHyperbolicCosecantGraph | plots csch-1( x ) |
| inverseHyperbolicSecantGraph | plots sech-1( x ) |
| inverseHyperbolicCotangentGraph | plots coth-1( x ) |
| The following example programs are provided with r4 : | |
|
AnnVal Anova Anova2 Asc2html Ascii Caldisp Caldisp2 Combine CompVal CsvDef CsvMaker Csv2xml DatePick Deal Difference Easter Factor Factorial FileDef FinCalc Gcm GetContact Hanoi1 Hanoi2 HtmlMiner Intersection KinematicEquations Lcm LoanCalc Lottery Make Messager MetricArea MetricDistance MetricVolume MetricWeight MetricTemperature ParabolaGraph Permute Picker Powers2 PresVal PrimeFactors Prompter QuadraticFormula Qt Rexxtry Roman Sayit Sieve Sqrt Sumdisk TopoSort Union |
Compute compounded value of an annuity (used with Bizzy.TopHat form) Analyze the variance of multiple columns of statistics Analyze the variance of multiple columns of statistics -- DETAILED Converts a marked up Ascii text file to HTML Dislays the Ascii character code table A calendar preparation program A faster calendar preparation program Mathematical 'combinations' -- i.e. C(52,5) Perform compound interest computation (used with Bizzy.TopHat form) Defines a new comma-separated value (CSV) file Generates comma-separated value (CSV) file form and addition program Converts comma-separated value (CSV) files to XML files Demonstration of program that uses DATEPICK.EXE Deals a hand of cards in Bridge format Computes difference between two sets Calculates Easter Identifies all of the factors that can divide a number Calculates factorial File selection dialog -- uses FileDlg accessory Financial ratio computations (used with TopHat) Computes greatest common divisor of two numbers Get contact information (used with Contact.TopHat form) A 'towers of hanoi' program Animated 'towers of hanoi' program Extracts text from an HTML file that is not within tags -- an HTML miner Computes intersection of two sets Kinematic equation solver (Physics) Computes least common multiple of two numbers Perform loan computations (used with Bizzy.TopHat form) Picks 6 lottery numbers Perform directives in a make file script Demonstration of program that uses MSGBOX.EXE Metric area conversions (used with Metric.TopHat form) Metric distance conversions (used with Metric.TopHat form) Metric volume conversions (used with Metric.TopHat form) Metric weight conversions (used with Metric.TopHat form) Metric temperature conversions (used with Metric.TopHat form) Prepares a graph of a parabola, using the Poof! GraphIt program Mathematical 'permutations' -- i.e. P(52,5) Demonstration of program that uses PICKLIST.EXE Shows 'powers of 2' table Perform present value computation (used with Bizzy.TopHat form) Identifies all of the unique prime factors that can divide a number Demonstration of program that uses PROMPT.EXE Computes roots of a quadratic equation Shows the present time in English An interactive REXX shell Converts a number to roman numerals A tiny full function calculator Prime number algorithm -- the 'sieve of Eratosthenes' algorithm Computes square root using Newton's algorithm -- an external procedure Summarizes disk space usage Topological sort -- dependency analysis Computes union of two sets |