Professional Documents
Culture Documents
Mathcad Functions PDF
Mathcad Functions PDF
Mathcad Functions PDF
You can insert any built-in function by choosing Function from the Insert menu to open the
Insert Function dialog box. You may also type the names of the built-in functions directly
into Mathcad. Spelling and capitalization are important.
Trigonometric Functions
cos, cot, csc, sec, sin, sinc, tan Calculate the standard trigonometric quantities for
arguments in radians.
acos, acot, acsc, asec, asin, atan Calculate the inverse trigonometric quantities.
mean, median, gmean, and hmean Arithmetic, geometric, and harmonic means.
Characteristics of an Array
Return the trigonometric functions sine, cosine, tangent, secant, cosecant, and cotangent
of z, respectively.
Arguments:
Notes:
1
• Sin(x)/x as x approaches 0 returns 1 when x is used as the argument to sin and as
the denominator in the fraction, or if the same function f(x) = 0 is used as both
argument and denominator. In the case where g(x) = sin(x) and f(x) = x, g(x)/f(x)
returns 0, following the normal Mathcad rules for the fraction 0/0. If you wish to
guarantee you get the correct behavior, use sinc.
mean(A, B, C, ...) Returns the arithmetic mean, or average, of A, B, C, ... by summing all
elements in the arguments and dividing by the total number of elements.
median(A, B, C, ...) Returns the median of the elements in A, B, C, ... , the value above and
below which there are an equal number of values.
Arguments:
• A, B, C, ... are m x n arrays or scalars. The arithmetic mean accepts complex and
negative values, while the geometric and harmonic means accepts only positive
real numbers. The median function accepts only real values.
2
Notes:
• If there are an even number of values, the median is the arithmetic mean of the
two central values.
• The harmonic mean is the reciprocal of the arithmetic mean of the reciprocals.
• You may wish to see Mathcad's other functions for data analysis.
max(A, B, C, ...) Returns the largest value from A, B, C, ... If the elements are complex, max
returns the largest real part of any value plus i times the largest imaginary part of any value.
For example, max(2 + 3i, 3 + 2i) = 3 + 3i.
min(A, B, C, ...) Returns the smallest value from A, B, C, ... If the elements are complex, min
returns the smallest real part of any value plus i times the smallest imaginary part of any
value.
Arguments: