G	General Information:

	Program KOMPLEX is a general complex number calculator program. 
	To run, type

			"komplex <expression>"
	
	where <expression> is the complex arithmetic expression to evaluate.
	Most standard arithmetic expressions are acceptable.  After starting
	KOMPLEX, continue entering expressions to evaluate.  Terminate the 
	program with a blank line.
	
	In the help file, parameters within "<...>" are parameters to be
	provided by the user without the "<>".

	Constants, the last result, the output format, and the angle mode
	are stored in file KOMPLEX.DAT for later invocations of program
	KOMPLEX.  The accumulator is not stored.

	Enter "?" to display the help file.
	
I	Input:

	The number of terms within an expression is unlimited.  The number 
	of characters in an expression is limited to 255.

	Numbers can be entered in standard forms or engineering units. 
	Engineering units use standard postfixes for powers of 10.

	Use an "i" prefix or postfix to indicate the imaginary part of a 
	number.  Use an "i" prefix if engineering postfixes are also used.
	
	Matched pairs of (), [], or {} may be used to set precedence.

	With the exception of engineering postfixes, expressions are 
	case insensitive. 

	Blanks in an expression are ignored.

A	Angles:

	Angle arguments, both the real and imaginary parts, of trigonometric
	functions (sin, cos, and tan) and the return values of inverse
	trigonometric functions (asin, acos, atan) can be either in degrees
	or radians.

	Enter "ANGLE" to toggle between degree mode and radian mode.
	Enter "SET" to display angle mode and other settings.

	For the trigonometric functions sin, cos, and tan, the current
	angle mode can be overridden by entering the engineering postfixes
	"d" or "r" to indicate degree or radian input respectively.
	These do not effect the results of the inverse trigonometric functions
	asin, acos, atan.

	Alternatively, multiply by the constant DEG (= 0.01745 radians/degree)
	to change degrees to radians, or multiply by the constant RAD
	(= 57.30 degrees/radians) to change radians to degrees.
	Multiplying by DEG when in the degree mode can give a wrong answer.
	Similarly, multiplying by RAD when in the radian mode can be wrong.

U	Accumulator:

	An accumulator register is provided for performing running sums.
	Enter

		"<expression>#"  or "<expression>$"

	to add the value of <expression> to the accumulator.
	"#" displays the intermediate result added to the accumulator.
	"$" displays the accumulator value.

	Enter:
	   A	to display the accumulator value.
	   AC	to clear the accumulator.


O	Standard Operators:
		!		complex conjugate
		** or ^	exponentiation
		*		multiplication
		/		division
		+		addition
		-		subtraction
		# or $		add to accumulator

	Precedence is !, **, (* or /), (+ or -), and # in that order.
	Expressions are evaluated left to right.

	# displays the intermediate result added to the accumulator.
	$ displays the accumulator result.

F	Allowed Functions:
		abs()		absolute value
		conj()		complex conjugate
		real()		real part
		imag()		imaginary part
		sqrt()		square root
		sin(), cos(), tan(), asin(), acos(), atan()
		sinh(), cosh(), tanh(), asinh(), acosh(), atanh()
		log()		logarithm base 10
		ln()		logarithm base e
		exp()		to base e
		sinc()		sinc function: sin(x)/x

C	Constants:
		C<n> =	Set constant C(n) = to expression
				(n = 0, 1, ... 9)
		X	Last answer

		CLE	Clear all constants C() = 0.0
		AC	Clear Accumulator

		A	Display Accumulator

	"C<n>", "X", and "A" can be used in an expression to be evaluated.

	Enter "C<n> = <expression>" to set constant <n> to the value
	of <expression>.   (n = 0, 1, 2, ... 9).

D	Defined Constants:
		pi		pi
		c		speed of light (m/sec)
		q		charge of electron (Coulomb)
		k		Boltzman's constant (Joule/K)
		G		Gravitaional Constant (Nt m^2/kg^2)
		h		Planck's constant (Joule sec)
		hc		conversion wavelength to eV (eV micron)
		hcq		conversion wavelength to joules (Joule micron)
		me		Electron mass (kg)
		mn		Neutron mass (kg)
		mp		Proton mass (kg)
		N0		Avogadro's number
		RAD		degrees per radia
		DEG		radians per degree

M	Format Conversion:
		FIX<n>		Fixed format %.nf
		FLT<n>		Floating format %.ne
		GIX<n>		Fixed/Floating format %.ng
		ENG<n>		Engineering format with "n" significant figures

		PFIX<n>	Fixed format %.nf, polar coordiantes
		PFLT<n>	Floating format %.ne, polar coordiantes
		PGIX<n>	Fixed/Floating format %.ng, polar coordiantes
		PENG<n>	Engineering format, polar coordiantes

		ANGLE		Toggle Angle mode between Degrees and Radians

		TAPE		Play back Tape of session
		SAVE		Save Tape play back on a file

		SET 		Display current format Settings
		?		Display Help file

T	Tape Playback:

	A "tape play back" of the session can be displayed by entering "TAPE".
	Save the "tape play back" on a file by entering "SAVE".  The program
	will prompt for a file name.


E	Engineering Postfixs:
		a		atto	(1e-18)
		f		femto	(1e-15)
		p		pico	(1e-12)
		n		nano 	(1e-9)
		mic		micro	(1e-6)
		m or (mil)	milli	(1e-3)
		k		kilo	(1e+3)
		M or (Meg)	mega	(1e+6)
		G		giga	(1e+9)
		T		tera	(1e+12)
		P		petra	(1e+15)
		Ex		exa	(1e+18)

		d		degree (for angles only)
		r		radians (for angles only)
