Integrated Graphics
312 Nevada St.
Northfield, MN 55057

E-mail: hansonr@stolaf.edu

wmfcalc1.zip    Calculate 2.5/MW(C2H5O), x^2/(1-x)=0.01, etc.

ABSTRACT
--------
WMFCALC.EXE, Molecular Formula Calculator for Windows incorporates
the type of calculations used by chemists--especially at the 
introductory level--into a simple Windows-based calculator. In
particular, the MW() function complements LOG() LN() and EXP(). Also
included is single-variable SIMPLEX evaluation of expressions  
such as x^2/(1-x)=0.01 commonly used in equilibrium analysis. All
results are stored on a scrolling list for later recall. The most
recent result is stored on the clipboard, so a simple WordPerfect or
Microsoft Word macro can run the program and return with the result 
straight to a word processor.

INSTALLATION
------------
WMFCALC1.ZIP can be unzipped using PKUNZIP, PKUNZJR, or WINZIP. 
If you do not have one of these programs, you can probably find
one on the site from which you got WMFCALC.ZIP. In addition, 
you will need VBRUN300.DLL, as this program was produced using
Microsoft Visual Basic 3.0 for Windows.

1. Create a new temporary directory or choose one already on 
   your hard disk.

2. Move WMFCALC1.zip to this directory and unzip it there.

3. From the Windows file manager Run...   thatdirectory\setup

   If you get a STOP message that VER.DL_->C:\WINDOWS\VER.DL, 
   then look in your windows directory for VER.DL, rename it
   something like VER.DL0, and repeat step 3.

   You will be asked to enter a directory into which to install 
   WMFCALC.EXE (default is C:\WMFCALC). Installation should 
   complete in a few seconds.  

4. Files in the temporary directory may be deleted.  

RUNNING THE PROGRAM
-------------------

Enter calculations into the calculator by typing. 
Essentials include:

  functions EXP(), LN(), LOG(), SQRT(), MW(), and ! (factorial)
  for MW(), write exactly what you would expect to write: MW(H2O)
  do not include charges on ions: MW(SO4)
  period (.) used for indicating hydration: CoCl6.2H2O 
  leading numbers are ok: 3CO2
  also + means chemical equation-like plus: 5H2O + 5CO2 
  the "MW(" and ")" can be omitted if not part of a larger calculation
  brackets are OK and function just like parentheses: Co[C2H2H8]3
  "x" in a formula uses the previous result: 5x/20
  "x" and "=" in a formula is a request to do a 
     simplex calculation: x^2/(0.1-x)=0.001
  multiplication can be implied: (1-3x) or 3 MW(H2O) 
  use standard calculator notation for scientific notation: 1e-5

The calculation ends up in the clipboard. Thus, the slick way to use 
WMFCALC is to integrate it into your word processor. For WordPerfect, 
the macro is:

Application (A1; "WordPerfect"; Default; "US")
CR = NtoC(0F90Ah)
if (?selectedtext="") SelectWord endif
prompt("WMFCALC calculation in progress: "+CR+CR+
  ?selectedtext+CR+CR+"   press CTRL-V to retrieve when done")
appexecute("wmfcalc "+?selectedtext)
endprompt

Neat, eh?

HARDWARE REQUIREMENTS
---------------------
Any computer capable of running Windows 3.1 should be adequate. 

REGISTRATION AND LICENSING
--------------------------
MolecularFormula Calculator is FREEWARE. It is fully distributable.

FEEDBACK
--------

Your feedback is greatly appreciated. If there is ANYTHING that you don't
like or anything that you would like to see, please E-mail it to me. I can
install a newer test version on ftp.stolaf.edu/pub/origami/win ususally within
a day.

Have fun! 

Bob Hanson
Integrated Graphics
312 Nevada St.
Northfield, Minnesota  55057-2345
hansonr@stolaf.edu


