Linear Calculator 2 and Root 2

Send LICALC2.86G to your calculator.

Linear Calculator 2

    

LICALC2 is a program that finds the distance, midpoint, and equation between two points.  It also shows the work for all of these. (see above)

Start LICALC2 by typing LICALC2 on your calculator and press enter.  You will be prompted for x1, y1, x2, y2 for (x1,y1) & (x2,y2) is the two points.  After you enter all the information and calculation you will see a new screen.  The first line is the distance in simplified radical form, the second line is the distance as numerical approximation, third and forth line is the x value for the midpoint and the y value for the midpoint.  The last line is the equation of the line, the x coefficient is fixed at four decimal places, to view a more accurate value press F3 and go to the Eqn screen, the value is m.  Now press F3 to show work, F1 to restart the program, and F5 to exit.

If F3, you will see a new window with work for distance.  Press F1 to go to midpoint, press F1 again to go to Equation.  The work might be cryptic at first, it is because the 7 line limit of the screen.

ROOT2sp

ROOT2sp is a program that simplifies a radical with any index.

Paste ROOT2sp to the home screen and press enter.  You will be prompted for the index.  For example, a square root the index is 2.

Press enter, now you will be prompted for the radicand.  Press enter again, the black square denotes the simplified radical and the numerical approximation.

Press F1 to repeat using the same index, press F3 to change index, press F5 to exit.

If you intend to use LICALC2, do not delete Ał, SHELL, ClRAM, ROOT2sp, and DISPLAY.

If you intend to use ROOT2sp, do not delete Ał, SHELL, ClRAM, and DISPLAY.

For Programmers

ROOT2sp and DISPLAY can be configured as a subroutine.

For ROOT2sp store the index in A, store the radicand in B, store 1 in SHELL, and call ROOT2sp.  The simplified answer is D and B/(D^A) where D is the coefficient and (B/D^A) goes inside the radical sign.

For DISPLAY store a real number into SUBJ and call DISPLAY.  The length of the variable, i.e. how many spaced it take up, is stored in LEN.  This program is useful when making a pretty print program where you want to know how many spaces to skip for a number.  When SUBJ is not an integer, the length will be 4 + the length of the integer part.  For example, if SUBJ is 542.12515452214, LEN will be 7.

 

LICALC2 & ROOT2sp should not have any bugs, however, if a bug is found, please email me at siyu12345@yahoo.com

If you have any comments, questions, suggestions, hate mail, offers of money etc. then feel free to email me, I'll try to answer as quickly as possible.


____________________________________________________________________________________
Copyright (C) 2003 Hectosoft, Inc.

Click here for GNU GPL License Agreement

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA