| MATHXDEM.APL FILE  Copyright 1990 By David W. Denker |
| For MATHX V2.00 |
#1:z''=info:z'''=int((z''-int(z''/10000)*10000)/1000)
digl6:digr6:if z'''<>1}2
dsp n" Sorry, the MATHXDEM.APL file will not work with MATHXR! ":wait4:quit
#2:boff:bc7:cls:xon
title= MATH EXTRA DEMO 
HEAD B0F13"  Select by the FIRST LETTER or use MOUSE or  CURSOR keys."
X=4:i=0:j=0:windd bb4bf15b2f14wr(X)wc22r5c27"
 Go to main program
 Run MATHX Demo"
#3:call60:if r=4}q:if r=5}c8
if j=2}800:if j=1}q:tone50:go3
#8:j=data k{0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0}:ret
#60:mon2
i=mloc:if i>9999}60
#61:k=kyck:if k<>0}62:I=MLOC:IF I>9999}}IF I<10079}66
i=mlin:if i=0}61:if i>99}64:if i>x-2}61:if i=j}61:j=i:goto63
#62:if k=13}65:if k=27}69
if k=272}}if j>0}}j=j-1:if k=280}}if j<x-2}}j=j+1
if k=275}67:if k=277}68:if k>64}}if k<91}}k=k+32:if k>96}}if k<123}70
#63:wlcc L(j):goto61
#64:i=i-int(i/100)*100:j=i:i=mloc:if i>9999}}if i<10079}66
#65:r=0:ret
#66:r=1:ret:|top bar|
#67:r=2:ret:|<--|
#68:r=3:ret:|-->|
#69:r=4:ret:|ESC|
#70:r=5:k=k-97:ret:|A to Z|
#800:CLS:hoff
CC0:BC7:dsp f0"  COPYRIGHT 1990, by David Denker, Box 115, Isanti, Mn. 55040



  WELCOME TO THE "F4"MATH EXTRA"f0" DEMO PROGRAM.


       The MATH EXTRA programs are general purpose scientific math software

  programs  for the IBM PC/XT/AT and 100% compatible computers.   There are

  two  different  programs available depending on your requirements.   Both

  are programmable  using a simple easy to learn language and both are very

  powerful math programs.   This demo file is a file written on an ordinary

  word processor for use by this math program as an instruction tool.  More

  on that later.  Lets look at what this program can do.

  "f1"Hit any key when ready."f0
call810:cls
dsp d27d24"컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴�78 columns컴컴컴컴컴컴컴컴컴컴"
dsp"컴컴컴컴컴컴"d26" �"n" �"n" �"n"7 rows"n" �"ns1d25
windd r9c4bb1bf15b14f0wr9wc68;
 Instructions, commands or problems are given to the math program
 using the instruction line.   The  instruction  line  has 7 rows 
 of 78 columns  that  form  a  546  character  instruction  area.
 (The  MATH EXTRA RESIDENT  version  has  4  rows of 78 columns.)
 This is where a math problem is entered  or  commands are given.

;f4; Hit any key to continue.
;f0:call810:cls
dsp "100+200
         300"
windd r9wr9wc66;
 To get the answer to a math problem,  simply enter the problem
 using  normal  computer  math  symbals and numbers and hit the
 ENTER  key for the answer.   It is as simple as that!    No on
 screen  "calculator"  to figure out, just direct problem input
 and a fast answer back.

;f4; Hit any key to continue.
;f0
call810:cls
head "  Hit the ESC key if you want to quit."
dsp "12*144+10"n"       1,738"n
dsp "156 * SIN 30"n"          78"n
dsp"�(14.4*10)"n"          12"n
dsp "25-32*3"n"         -71"n
dsp "pi*6.1234"n"          19.2372285"n
dsp "45 - 144 / 6 + 15.25"n"          36.25"
windd f0wr7wc58r2c18;
     Here are some examples  of  problems  entered  and
 the answers returned.  The instruction line moves down
 the screen as each problem is done.

;f4; Hit any key to continue.
;f0
call810
windd wc40c35f0wr16"
 Notice on the last example displayed
 that  the answer does not agree with
 your  calculator if you enter it the
 way it is written.   The  MATH EXTRA
 programs use a  priority system that
 is common for  math computers.   The
 math  operations  multiplication and
 division have priority over addition
 and  subtraction  so  they  are done
 first.   See  the  help  information
 window or the manual for more on the
 priority of calculations.

"f4" Hit any key to continue"
call810:woff
dsp n"45 - 144 / 6 + 15.25"
windd wc40f0wr8c30"
 If you make a mistake on the problem
 you last entered,  just hit the  F10
 key  and  the previous entry will be
 brought back for your editing.  When
 done editing hit  ENTER  for the new
 answer.

"f4" Hit any key to continue"
wait10:dsp" * 2"n:wait3:woff
dsp"          51.5":windd wr10:call810
cls
dsp r0c0"DIGR 2:X=10:I=.10:S=10000:#1:S=S+S*I:X=X-1:IF X<>0}1:DSP(S)"
windd f0"
    As you have just seen,  the  MATH EXTRA  programs are easy to use.
 The  examples given were simple math problems,  but  the  MATH EXTRA
 programs can do some harder problems too.   Take a look at the above
 problem for instance.  This problem will show you how much money you
 will have after  X  years starting with  S amount at I interest rate.

 "f4" Hit any key to continue
"wr9wc73r10c1
call 810
dsp n"        25,937.42"
WINDD f0wc76;
    The first statement on the line  is  DIGR 2.   This sets up a display
 parameter so only  2 digits right of the decimal point will be displayed.
 The next 3 instructions give values to variables X, I and S.  "X" is the
 number of years,  "I" is the interest rate (10%) and "S" is the starting
 amount of dollars.   The #1 is a jump location.   This is where the loop
 starts for the 10 year cycle.   The  :  characters  in  the  problem are
 statement  and  math  expression  separators  so the program knows where
 each  statement  and  math  expression starts and ends.   Then comes the
 math  statements  required  to  do  the  problem.   After  that  is a IF
 statement to check if  X  does not equal 0  (if it doesn't it jumps back
 to location #1).   Then at the end is the display of the final result.

;f4" Hit any key to continue
"wr15r5c1:call 810
windd f0c2;
    Very complex problems can be solved by the  MATHX EXTRA programs
 using this easy and logical method that is very similar to  "BASIC"
 except its in a math environment.  
    The  above  problem  could  have been set up to include a yearly,
 monthly, or  weekly contribution and display the results each month.
 MATH EXTRA  comes with an  application  program  that does this kind
 of problem much better then this.  All you have to do is answer some
 questions and it gives you the answers!

;f4" Hit any key to continue
"wr12r7wc72:call 810:cls
head B6F14" "B2F15" COMMANDS "B6F14" PARAMETERS  INFORMATION  LOAD�APL
  UTILITIES "
DSP r10;
       Now lets look at the environment header line and the pop-down menus
  available to the MATH EXTRA user.   When a mouse is available,  the main
  screen will look similar to this after clicking the  mouse cursor on the
  word "COMMANDS".  Clinking on one of the other header words will display
  a different pop-down menu.   The  mouse  can  then be used to select any
  line of the menu to be done by MATH EXTRA.   If you do not have a mouse,
  use the shift-function keys  (Shift-F1)  to select the menu,  the cursor
  up/down keys to select the menu item, then hit the Enter key.  (You will
  not get the normal environment header until you hit the Shift-F1 keys)

;f4"  Hit any key to continue."
windd wr10wc20r1c1BB2BF15B2F0"�      �
 Clear the Screen
 Clear Inst. Line
 Run Application
 Go To DOS Shell
 Save Inst. Line
 Get saved Line
 Edit Application"F4"
 QUIT MATH EXTRA
"
call810:cls
HEAD B6F14"  COMMANDS "B2F15" PARAMETERS "B6F14" INFORMATION  LOAD�APL 
 UTILITIES "
DSP R15;
      By clicking the mouse on  the  word  "PARAMETERS".   A menu with the
  current parameter settings will be displayed.  Hitting the shift-F2 keys
  will also display this menu.   (If you have a  color  monitor,  two more
  items will be available on this menu.)

;f4"  Hit any key to continue."
windd wr14wc31r1c11f0;�        �
 Printer Disabled
 DEGREE Angular Mode
 Display Negative HEX
 Answer using COMMAs
 ROUND OFF Answer
 Scientific Notation uses E
 SCIENTIFIC NOTATION Enabled
 DIGITS LEFT  of "." =    9
 DIGITS RIGHT of "." =    6
 EREQ statement      =    7
 Quiet Mode Disabled
 SAVE PARAMETERS SETUP!
;
call810:cls
HEAD B6F14"  COMMANDS  PARAMETERS "B2F15" INFORMATION "B6F14" LOAD�APL 
 UTILITIES "
dsp r9;
     The INFORMATION menu can be used to get help information, get the
  function key definitions,  or list the string memories or variables.
  You should take a look at the HELP information from this menu to get
  a better look at how this math program works and what it can do  for
  you.

;f4"  Hit any key to continue."
WINDD WR7WC22R1C23f0"�         �
 HELP Information
 List FUNCTION Keys
 List MEMORIES
 List VARIABLES
 About Math Extra"
call810:cls
HEAD B6F14"  COMMANDS  PARAMETERS  INFORMATION "B2F15" LOAD�APL 
"B6F14" UTILITIES "
DSP R8;
     The LOAD�APL menu lists all the application files available.
  Selecting a file from this menu will load that file into MATHX
  and can be run at any time using the RUN APPLICATION selection
  from the COMMANDS pop-down menu.   The name of the file loaded
  will be displayed at the top right side of the top information
  bar.

;f4"  Hit any key to continue."
WINDD WR5WC16R1C36f0"�      �
 MATHXDEM.APL
 INTEREST.APL
 ONEARM.APL "
call810:cls
dsp r8;
      The utilities menu lists the utility files available.   MATH EXTRA
  comes with a conversion utility that has over  500  metric and english
  weights,  volume,  area  and measurement conversions.    Any number of
  utilities can be added to the program.    You  can  program  your  own 
  utilities using any word file editor.

;f4"  Hit any key to continue."
windd wr4wc16R1C46"�       �
 CONVERT.UTL  
 FACTOR'L.UTL "
HEAD B6F14"  COMMANDS  PARAMETERS  INFORMATION  LOAD�APL 
"B2F15" UTILITIES "B6F14""
call810:cls
HEAD B6F14"  COMMANDS  PARAMETERS  INFORMATION  LOAD�APL  UTILITIES 
          "B2F15" MENU�APL "B6f14" "
dsp r9;
       MATH EXTRA comes with a  loans  and  savings application file that
  loads an application menu into the environment.   This menu can be used
  to pick a specific function of an application file.   This file too can
  be changed by the user using any word file editor.  Any application can
  have a menu available in the environment.    Whenever an application is
  loaded, MATH EXTRA looks for a file of the same name with the extension
  .ENV.    If one is found it is loaded onto the environment and the pop-
  down  MENU�APL  is available to the user.   Now a specific operation of
  an application can be run just by selecting it from this menu.
  
;f14"  Hit any key for the main program.  "f4"Thank-you. "
x=8:WINDD WR(x)wc22r1c57BB2BF15B2F0;컴컴컴컴컴켸      �
 Amortization table
 Earnings rate
 Help information
 Loan interest rate
 Payments for loan
 Savings table
;
call810:quit
#810:i=kyin:if i=27}q:ret
