qx_icon_32x32 QxCalculator for Windows™

QxCalc



https://sourceforge.net/projects/qxcalc/

...is the scriptable 'calculator'/'back end' for QxCalculator for Windows, that you may use for making a limited set of mathematical calculations. It sort of has the same capabilities as 'normal', 'basic', 'handheld' calculator, except for its scriptability. It can do a lot of work, given syntax correctness.

If you prefer scripting and the CLI to working in a GUI then you may find this backend usable. There is a syntax highlight file for vim(calc.vim).
qxcalc supports...
  1. Addition
  2. Subtraction
  3. Multiplication
  4. Division
  5. Powers
  6. Roots
  7. Equations
  8. Polynoms
  9. Binoms
  10. Monoms
  11. sine
  12. cosine
  13. tangens
  14. Logarithms(log10, ln)
Command line arguments to qxcalc are:
*************************************
qxcalc - A scriptable calculator
Version 59

http://qxcalc.sourceforge.net/
*************************************

	-h            help
	-v            version
	-d            debug information
	-p  run script
	-cd           create latex document
	-ch           create html document
	-ca           create ascii text document
	-cx           create xml document
	-nh           do not create document header nor footer
	-w            reserved words
	-c            physical constants

Running qxcalc
./qxcalc -p script.calc -cd -ch
Reserved words
 latex
 ascii
 html
 xml
 print
 def
 sin
 cos
 tan
 asin
 acos
 atan
 PI
 sqrt
 log
 log10
 pow
 nl
 scientific
 nonscientific
 eq
 eval
 e
 and s


Predefined Physical Constants

Please find below a list of predefined physical constants as found in a reasonably good book on physics. Be critical to this list, there may be errors.


physconsts

The leftmost column is the identifier for the constant, the second its name, the third it's numerical value, and the fourth its SI units.

To use a constant simply use the left-most column's identifier for the constant in question. For example, consider the following script:





...would calculate the wavelength for a given frequency(here 50MHz), using the speed of light constant which is roughly 300000km/s, about the value of _vc. The wavelength becomes 6 meters.

Last modified: July 23 2024 16:35:53.