RCALC ver. 1.2d (30-Nov-1994) Programmed by D.N.Rassokhin You may call me or my partners at (707) 884-4221 (Semi-Sentient Systems, California) There are many calculator simulating programs for IBM PC. Some of them are stand-alone DOS resident or Windows utilities, others are embedded into text editors and integrated software. However, most of the "calculator simulators" are trying to mimic sophisticated and unnatural way of calculation you have to follow with usual pocket calculator, and it makes me wonder! In order to calculate a complex formula without making errors one would rather run a BASIC interpreter, such as QBASIC or BASICA, and type something like this: PRINT 1.05E-2*(1-exp(2.3*6E3)+exp(2.3*5E3))*sin(3.1415926/6) or even use spreadsheet software, such as LOTUS, QuattroPro or Excel, or special math software. But it is the same as using a steam-hammer to crack nuts! There will be no problem with RCALC -- THE NON-RESIDENT FULL-FEATURED COMMAND-LINE SCIENTIFIC CALCULATOR written in Turbo Prolog 2.0! This utility instantly calculates the value of an arithmetic expression given as an argument on the DOS command line. Now, to find the value of the above expression all that you need is to type at the DOS prompt: rcalc 1.05E-2*(1-exp(2.3*6E3)+exp(2.3*5E3))*sin(pi/6) then press Enter and read an answer. RCALC provides a full set of common math operators and functions. Moreover, RCALC can perform statistics calculations on a set of values and even make conversions between metric and U.S. measure units! To install RCALC just copy RCALC.EXE and RCALC12C.DOC (this file) onto your hard disk into an appropriate directory. Before running RCALC you should add this directory to your DOS PATH so you can run RCALC from any directory. Run RCALC without command-line parameters to see list of operators and functions available and some other help information. NOTES: >>In version 1.2d some minor changes are made. >>In version 1.2c result output formatting is improved. >>The main difference between versions 1.2a and 1.2b is that the latter outputs to 'stdout' instead of video memory, so you can redirect output to a file or printer using DOS redirection ( > or >> filename ). Also, some bugs (due to Borland's fault!!!) have been fixed. >>Most of RCALC's built-in operators and functions have the same meaning, associativity and precedence as they have in BASIC and PASCAL. >>Factorial ! is a postfix unary operator and it has the same precedence as exponentiation operator ^ , so 2^3! evaluates as (2^3)! . >>ln is the natural (base e) logarithm; log (or lg) is the common (base 10) logarithm. >>Conversion factors for conversion from U.S. Customary units to Metric units are based on U.S.A. National Bureau of Standards (Ref.: General Electric Company. Technical Data. 1980. Printed in U.S.A. by General Electric) KNOWN BUGS: >> 0^0 gives 0 rather than Function Domain error message. HINTS: >>To perform repeating calculations with lengthy formulas, in case of a small difference between the consecutive formulas, use DOSKEY or Norton Commander so you can easily recall the last command line with only one keystroke and make necessary changes in the formula. >>When working with Windows it is still possible to run RCALC in a DOS window. Under Windows, you can take advantage of Windows "copy and paste" ability in order to transfer formulas from another Windows or DOS application to RCALC's command line and then to return the results of calculations from the DOS window to another application. Using RCALC to calculate a complex formula is much easier than using Windows' CALC. File size: 32918 32-bit CRC: F7B46FF9