G	General Information:

	Program KC is a general calculator program. To run, type

			"kc <expression>"
	
	where <expression> is the arithmetic expression to evaluate.
	Most standard arithmetic expressions are acceptable.	Expressions
	entered on the command line may need to be in quotes to protect
	them from DOS.  After starting KC, 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 KC.DAT for later invocations of program KC.
	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, engineering units, octal 
	or hexdecimal.  Engineering units use standard postfixes for powers 
	of 10.

	Use letter "H" or "0x" prefix for Hexdecimal input.
	Use letter "O" prefix for Octal input.

	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.

	Angles can be either in radians or degrees.	See "Angles" topic.

A	Angles:

	Angle arguments 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 and
	simple statistics.
	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.
	   A2   to display the sum of the Square of the Accumulator values.
	   AM	to display the Mean of the accumulator entries.
	   AS	to display the Standard deviation of the accumulator entries.
	   AN	to display the number of entries in the accumulator.
	   AC	to clear the accumulator.

O	Standard Operators:
		!		factorial
		%		modulus
		** 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 intermediate result added to accumulator.
	$ displays accumulator value.

F	Allowed Functions:
		abs()		absolute value
		int()		integer truncation
		nint()		nearest integer
		frac()		fractional remainder
		sqrt()		square root
		sin(), cos(), tan(), asin(), acos(), atan()
		sinh(), cosh(), tanh(), asinh(), acosh(), atanh()
		erf()		error function
		j<n>(), y<n>()	Bessel functions of order n (n = 0, 1, ...)
		log()		logarithm base 10
		ln()		logarithm base e
		exp()		to base e
		sinc()		sinc function: sin(x)/x
		dB()		change to decibels
		adB()		change from decibels to linear

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
		A2	Display the Accumulator Square
		AM	Display Mean of accumulator entries
		AS	Display Standard deviation of accumulator entries
		AN	Display Number of accumulator entries

	"C<n>", "X", "A" , "A2", AM", "AS", and "AN" 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 radian
		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
		BIN		Binary format
		OCT		Octal format
		HEX		Hexdecimal format
		BOH		Binary & Octal & Hexdecimal format
		TIME<n>	Change "n" seconds to hours/minutes/seconds
		TEMP<n><d>	Change "n" to K, C, and F.
				       "d" = K, C, or F of input

		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 Postfixes:
		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		degrees (angles only)
		r		radians (angles only)
