www.delorie.com/gnu/docs/calc/calc_213.html   search  
Buy the book!

GNU Emacs Calc 2.02 Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

9. Scientific Functions

The functions described here perform trigonometric and other transcendental calculations. They generally produce floating-point answers correct to the full current precision. The H (Hyperbolic) and I (Inverse) flag keys must be used to get some of these functions from the keyboard.

One miscellanous command is shift-P (calc-pi), which pushes the value of pi (at the current precision) onto the stack. With the Hyperbolic flag, it pushes the value e, the base of natural logarithms. With the Inverse flag, it pushes Euler's constant gamma (about 0.5772). With both Inverse and Hyperbolic, it pushes the "golden ratio" phi (about 1.618). (At present, Euler's constant is not available to unlimited precision; Calc knows only the first 100 digits.) In Symbolic mode, these commands push the actual variables `pi', `e', `gamma', and `phi', respectively, instead of their values; see section 7.4.5 Symbolic Mode.

The Q (calc-sqrt) [sqrt] function is described elsewhere; see section 8.1 Basic Arithmetic. With the Inverse flag [sqr], this command computes the square of the argument.

See section 4.7 Numeric Prefix Arguments, for a discussion of the effect of numeric prefix arguments on commands in this chapter which do not otherwise interpret a prefix argument.

9.1 Logarithmic Functions  
9.2 Trigonometric/Hyperbolic Functions  
9.3 Advanced Mathematical Functions  
9.4 Branch Cuts and Principal Values  
9.5 Random Numbers  
9.6 Combinatorial Functions  
9.7 Probability Distribution Functions  

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003