comparison man/calc.texi @ 60313:6847050e3bad

(Trigonometric and Hyperbolic Functions): Mention additional functions. (Algebraic Simplifications): Mention additional simplifications.
author Jay Belanger <jay.p.belanger@gmail.com>
date Tue, 01 Mar 2005 04:53:02 +0000
parents 6df729e8a501
children e837dbaed2bf e4694597cbf4
comparison
equal deleted inserted replaced
60312:789a36c2bc56 60313:6847050e3bad
18471 @samp{[@var{cos}, @var{sin}]}. 18471 @samp{[@var{cos}, @var{sin}]}.
18472 With the Inverse flag [@code{arcsincos}], this command takes a two-element 18472 With the Inverse flag [@code{arcsincos}], this command takes a two-element
18473 vector as an argument and computes @code{arctan2} of the elements. 18473 vector as an argument and computes @code{arctan2} of the elements.
18474 (This command does not accept the Hyperbolic flag.) 18474 (This command does not accept the Hyperbolic flag.)
18475 18475
18476 @pindex calc-sec
18477 @tindex sec
18478 @pindex calc-csc
18479 @tindex csc
18480 @pindex calc-cot
18481 @tindex cot
18482 @pindex calc-sech
18483 @tindex sech
18484 @pindex calc-csch
18485 @tindex csch
18486 @pindex calc-coth
18487 @tindex coth
18488 The remaining trigonometric functions, @code{calc-sec} [@code{sec}],
18489 @code{calc-csc} [@code{csc}] and @code{calc-sec} [@code{sec}], are also
18490 available. With the Hyperbolic flag, these compute their hyperbolic
18491 counterparts, which are also available separately as @code{calc-sech}
18492 [@code{sech}], @code{calc-csch} [@code{csch}] and @code{calc-sech}
18493 [@code{sech}]. (These commmands do not accept the Inverse flag.)
18494
18476 @node Advanced Math Functions, Branch Cuts, Trigonometric and Hyperbolic Functions, Scientific Functions 18495 @node Advanced Math Functions, Branch Cuts, Trigonometric and Hyperbolic Functions, Scientific Functions
18477 @section Advanced Mathematical Functions 18496 @section Advanced Mathematical Functions
18478 18497
18479 @noindent 18498 @noindent
18480 Calc can compute a variety of less common functions that arise in 18499 Calc can compute a variety of less common functions that arise in
22728 22747
22729 @tex 22748 @tex
22730 \bigskip 22749 \bigskip
22731 @end tex 22750 @end tex
22732 22751
22733 Trigonometric functions are simplified in several ways. First, 22752 Trigonometric functions are simplified in several ways. Whenever a
22734 @expr{@tfn{sin}(@tfn{arcsin}(x))} is simplified to @expr{x}, and 22753 products of two trigonometric functions can be replaced by a single
22735 similarly for @code{cos} and @code{tan}. If the argument to 22754 function, the replacement is made; for example,
22736 @code{sin} is negative-looking, it is simplified to 22755 @expr{@tfn{tan}(x) @tfn{cos}(x)} is simplified to @expr{@tfn{sin}(x)}.
22737 @expr{-@tfn{sin}(x),}, and similarly for @code{cos} and @code{tan}. 22756 Reciprocals of trigonometric functions are replaced by their reciprocal
22738 Finally, certain special values of the argument are recognized; 22757 function; for example, @expr{1/@tfn{sec}(x)} is simplified to
22739 @pxref{Trigonometric and Hyperbolic Functions}. 22758 @expr{@tfn{cos}(x)}. The corresponding simplifications for the
22740 22759 hyperbolic functions are also handled.
22760
22761 Trigonometric functions of their inverse functions are
22762 simplified. The expression @expr{@tfn{sin}(@tfn{arcsin}(x))} is
22763 simplified to @expr{x}, and similarly for @code{cos} and @code{tan}.
22741 Trigonometric functions of inverses of different trigonometric 22764 Trigonometric functions of inverses of different trigonometric
22742 functions can also be simplified, as in @expr{@tfn{sin}(@tfn{arccos}(x))} 22765 functions can also be simplified, as in @expr{@tfn{sin}(@tfn{arccos}(x))}
22743 to @expr{@tfn{sqrt}(1 - x^2)}. 22766 to @expr{@tfn{sqrt}(1 - x^2)}.
22767
22768 If the argument to @code{sin} is negative-looking, it is simplified to
22769 @expr{-@tfn{sin}(x)}, and similarly for @code{cos} and @code{tan}.
22770 Finally, certain special values of the argument are recognized;
22771 @pxref{Trigonometric and Hyperbolic Functions}.
22744 22772
22745 Hyperbolic functions of their inverses and of negative-looking 22773 Hyperbolic functions of their inverses and of negative-looking
22746 arguments are also handled, as are exponentials of inverse 22774 arguments are also handled, as are exponentials of inverse
22747 hyperbolic functions. 22775 hyperbolic functions.
22748 22776