PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
SEARCH MATHEMATICA 8 DOCUMENTATION
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
Mathematica
>
Mathematics and Algorithms
>
Formula Manipulation
>
Algebraic Transformations
>
Trigonometric Functions
>
Mathematica
>
Mathematics and Algorithms
>
Mathematical Functions
>
Elementary Functions
>
Trigonometric Functions
>
Built-in
Mathematica
Symbol
Elementary Transcendental Functions
Tutorials »
|
Tan
Coth
Cos
ArcCot
Degree
TrigToExp
TrigExpand
See Also »
|
Trigonometric Functions
More About »
Cot
Cot
[
z
]
gives the cotangent of
z
.
MORE INFORMATION
Mathematical function, suitable for both symbolic and numerical manipulation.
The argument of
Cot
is assumed to be in radians. (Multiply by
Degree
to convert from degrees.)
.
Cos
[
z
]/
Sin
[
z
]
is automatically converted to
Cot
[
z
]
.
TrigFactorList
[
expr
]
does decomposition.
For certain special arguments,
Cot
automatically evaluates to exact values.
Cot
can be evaluated to arbitrary numerical precision.
Cot
automatically threads over lists.
EXAMPLES
CLOSE ALL
Basic Examples
(4)
The argument is given in radians:
Use
Degree
to specify an argument in degrees:
The argument is given in radians:
In[1]:=
Out[1]=
Use
Degree
to specify an argument in degrees:
In[1]:=
Out[1]=
In[1]:=
Out[1]=
In[1]:=
Out[1]=
Scope
(12)
Evaluate numerically:
Evaluate to high precision:
The precision of the output tracks the precision of the input:
The precision of the output can be much smaller than the precision of the input:
Cot
threads element-wise over lists and matrices:
Evaluate for complex arguments:
Simple exact values are generated automatically:
More complicated cases require explicit use of
FunctionExpand
:
Convert multiple-angle expressions:
Convert sums of trigonometric functions to products:
Expand assuming real variables:
Convert to complex exponentials:
TraditionalForm
formatting:
Generalizations & Extensions
(4)
Cot
can deal with real-valued intervals:
Infinite arguments give symbolic results:
Cot
can be applied to power series:
Cot
threads element-wise over sparse arrays as well as lists:
Applications
(3)
Generate a plot with poles removed:
Generate a plot over the complex argument plane:
The cotangent function conformally maps a parabola into the unit disk:
Properties & Relations
(12)
Basic parity and periodicity properties of the cotangent function are automatically applied:
Use
TrigFactorList
to factor
Cot
into
Sin
and
Cos
:
Complicated expressions containing trigonometric functions do not simplify automatically:
Simplify with assumptions on parameters:
Compose with inverse functions:
Solve a trigonometric equation:
Solve for zeros and poles:
Numerically find a root of a transcendental equation:
Integrals:
Cot
appears in special cases of many mathematical functions:
Calculate residue symbolically and numerically:
Cot
is a numeric function:
Possible Issues
(2)
Machine-precision input is insufficient to give a correct answer:
With exact input, the answer is correct:
A larger setting for
$MaxExtraPrecision
is needed:
Neat Examples
(6)
Plot
Cot
at integer points:
The continued fraction is highly regular:
SEE ALSO
Tan
Coth
Cos
ArcCot
Degree
TrigToExp
TrigExpand
TUTORIALS
Elementary Transcendental Functions
RELATED LINKS
MathWorld
The Wolfram Functions Site
NKS|Online
(
A New Kind of Science
)
MORE ABOUT
Trigonometric Functions
New in 1 | Last modified in 3