Usage

Basic Arithmetic:

  • 2 + 2 * 2 = 6
  • (2 + 2) * 2 = 8
  • 573/2 - 1221*6 = -7039.5

Power and Logarithms:

  • 3 ^ 2 = 9 (3 to the 2nd power)
  • sqrt(9) = 3
  • 9 ^ 0.5 = 3
  • log(2.7183) = 1.00000668491 (natural logarithm base-E)
  • log10(2.7183) = 0.434297385125 (logarithm base-10)
  • log10(100) = 2

Trigonometric Functions:

  • sin(90) = 1
  • arcsin(1) = 90 (you may also use asin instead of arcsin)
  • cos(60) = 0.5
  • arccos(0.5) = 60 <(you may also use acos instead of arccos)
  • tan(45) = 1
  • arctan(1) = 45 (you may also use atan instead of arctan)

Constants

  • PI (approximately 3.14159)
  • E (approximately 2.718)