Difference between revisions of "Documentation/How Tos/Calc: Mathematical functions"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
| (35 intermediate revisions by 7 users not shown) | |||
| Line 1: | Line 1: | ||
| − | ==List of Calc Mathematical functions== | + | {{DISPLAYTITLE:Mathematical functions}} |
| + | {{Documentation/CalcFunc MathematicalTOC | ||
| + | |ShowPrevPage={{{ShowPrevPage}}} | ||
| + | |PrevPage={{{PrevPage}}} | ||
| + | |ShowNextPage={{{ShowNextPage}}} | ||
| + | |NextPage={{{NextPage}}} | ||
| + | |bookid=CalcFunctions | ||
| + | |booktitle=<div style="padding: 8px; font-size: 140%; font-weight: bold; background-color: #9BC0F5;">[[Documentation/Reference/Calc_functions|CALC FUNCTIONS]]</div> | ||
| + | |ShowParttitle=block | ||
| + | |parttitle=[[Documentation/How_Tos/Calc:_Mathematical_functions|<div style="font-size: 140%;">Mathematical Functions]] | ||
| + | |ShowPrevPart=block | ||
| + | |PrevPart=Documentation/How_Tos/Calc:_Logical_functions | ||
| + | |ShowNextPart=block | ||
| + | |NextPart=Documentation/How_Tos/Calc:_Number Conversion_functions | ||
| + | |toccontent= <div style="padding: 4px; font-size: 130%; font-weight: hidden; background-color:#DCE9FC;">FUNCTIONS</div> | ||
| + | }}__NOTOC__ | ||
| + | |||
| + | [[File:open.jpg]] | ||
| + | |||
| + | ==<big>List of Calc Mathematical functions</big>== | ||
{| border="0" cellpadding="0" cellspacing="10" align="left" | {| border="0" cellpadding="0" cellspacing="10" align="left" | ||
| + | |||
|-valign="top" | |-valign="top" | ||
| − | |[[Documentation/How_Tos/Calc: | + | |colspan="2"|'''<big> Trigonometric</big>''' |
| + | |||
| + | |-valign="top" | ||
| + | |[[Documentation/How_Tos/Calc: COS function|'''COS''']] | ||
|Returns the cosine of an angle. | |Returns the cosine of an angle. | ||
| Line 49: | Line 72: | ||
|[[Documentation/How_Tos/Calc: PI function|'''PI''']] | |[[Documentation/How_Tos/Calc: PI function|'''PI''']] | ||
|Returns the value of PI. | |Returns the value of PI. | ||
| + | |||
| + | |-valign="top" | ||
| + | |colspan="2"|'''<big> Hyperbolic</big>''' | ||
|-valign="top" | |-valign="top" | ||
| Line 81: | Line 107: | ||
|[[Documentation/How_Tos/Calc: ATANH function|'''ATANH''']] | |[[Documentation/How_Tos/Calc: ATANH function|'''ATANH''']] | ||
|Returns the inverse hyperbolic tangent of a number. | |Returns the inverse hyperbolic tangent of a number. | ||
| + | |||
| + | |-valign="top" | ||
| + | |colspan="2"|'''<big> Rounding and remainders</big>''' | ||
|-valign="top" | |-valign="top" | ||
| Line 116: | Line 145: | ||
|-valign="top" | |-valign="top" | ||
|[[Documentation/How_Tos/Calc: MROUND function|'''MROUND''']] | |[[Documentation/How_Tos/Calc: MROUND function|'''MROUND''']] | ||
| − | |Returns a number rounded to the nearest multiple of another number | + | |Returns a number rounded to the nearest multiple of another number. |
|-valign="top" | |-valign="top" | ||
| Line 124: | Line 153: | ||
|-valign="top" | |-valign="top" | ||
|[[Documentation/How_Tos/Calc: QUOTIENT function|'''QUOTIENT''']] | |[[Documentation/How_Tos/Calc: QUOTIENT function|'''QUOTIENT''']] | ||
| − | |Returns the integer result of a division operation | + | |Returns the integer result of a division operation. |
|-valign="top" | |-valign="top" | ||
|[[Documentation/How_Tos/Calc: MOD function|'''MOD''']] | |[[Documentation/How_Tos/Calc: MOD function|'''MOD''']] | ||
|Returns the remainder when one integer is divided by another. | |Returns the remainder when one integer is divided by another. | ||
| + | |||
| + | |-valign="top" | ||
| + | |colspan="2"|'''<big> Logarithm / powers</big>''' | ||
|-valign="top" | |-valign="top" | ||
| Line 149: | Line 181: | ||
|[[Documentation/How_Tos/Calc: LOG10 function|'''LOG10''']] | |[[Documentation/How_Tos/Calc: LOG10 function|'''LOG10''']] | ||
|Returns the base-10 logarithm of a number. | |Returns the base-10 logarithm of a number. | ||
| + | |||
| + | |-valign="top" | ||
| + | |colspan="2"|'''<big> Bessel functions</big>''' | ||
| + | |||
| + | |-valign="top" | ||
| + | |[[Documentation/How_Tos/Calc: BESSELI function|'''BESSELI''']] | ||
| + | |Calculates the modified Bessel function of the first kind. | ||
| + | |||
| + | |-valign="top" | ||
| + | |[[Documentation/How_Tos/Calc: BESSELJ function|'''BESSELJ''']] | ||
| + | |Calculates the Bessel function of the first kind. | ||
| + | |||
| + | |-valign="top" | ||
| + | |[[Documentation/How_Tos/Calc: BESSELK function|'''BESSELK''']] | ||
| + | |Calculates the modified Bessel function of the second kind. | ||
| + | |||
| + | |-valign="top" | ||
| + | |[[Documentation/How_Tos/Calc: BESSELY function|'''BESSELY''']] | ||
| + | |Calculates the Bessel function of the second kind (the Neumann or Weber function). | ||
| + | |||
| + | |-valign="top" | ||
| + | |colspan="2"|'''<big> Miscellaneous</big>''' | ||
|-valign="top" | |-valign="top" | ||
| Line 165: | Line 219: | ||
|[[Documentation/How_Tos/Calc: CONVERT function|'''CONVERT''']] | |[[Documentation/How_Tos/Calc: CONVERT function|'''CONVERT''']] | ||
|Converts between legacy European currencies and Euros. | |Converts between legacy European currencies and Euros. | ||
| + | |||
| + | |-valign="top" | ||
| + | |[[Documentation/How_Tos/Calc: CONVERT_ADD function|'''CONVERT_ADD''']] | ||
| + | |Converts a number from one measurement system to another. | ||
|-valign="top" | |-valign="top" | ||
| Line 173: | Line 231: | ||
|[[Documentation/How_Tos/Calc: COUNTIF function|'''COUNTIF''']] | |[[Documentation/How_Tos/Calc: COUNTIF function|'''COUNTIF''']] | ||
|Counts the number of cells in a range that meet a specified condition. | |Counts the number of cells in a range that meet a specified condition. | ||
| + | |||
| + | |-valign="top" | ||
| + | |[[Documentation/How_Tos/Calc: DELTA function|'''DELTA''']] | ||
| + | |Returns 1 if two numbers are equal, and 0 otherwise. | ||
| + | |||
| + | |-valign="top" | ||
| + | |[[Documentation/How_Tos/Calc: ERF function|'''ERF''']] | ||
| + | |Calculates the error function (Gauss error function). | ||
| + | |||
| + | |-valign="top" | ||
| + | |[[Documentation/How_Tos/Calc: ERFC function|'''ERFC''']] | ||
| + | |Calculates the complementary error function (complementary Gauss error function). | ||
|-valign="top" | |-valign="top" | ||
| Line 188: | Line 258: | ||
|-valign="top" | |-valign="top" | ||
|[[Documentation/How_Tos/Calc: GCD_ADD function|'''GCD_ADD''']] | |[[Documentation/How_Tos/Calc: GCD_ADD function|'''GCD_ADD''']] | ||
| − | |Returns the greatest common divisor of a list of numbers | + | |Returns the greatest common divisor of a list of numbers. |
| + | |||
| + | |-valign="top" | ||
| + | |[[Documentation/How_Tos/Calc: GESTEP function|'''GESTEP''']] | ||
| + | |Returns 1 if a number is greater than or equal to a step number, or 0 otherwise. | ||
|-valign="top" | |-valign="top" | ||
| Line 204: | Line 278: | ||
|-valign="top" | |-valign="top" | ||
|[[Documentation/How_Tos/Calc: LCM_ADD function|'''LCM_ADD''']] | |[[Documentation/How_Tos/Calc: LCM_ADD function|'''LCM_ADD''']] | ||
| − | |Returns the lowest common multiple of a list of numbers | + | |Returns the lowest common multiple of a list of numbers. |
|-valign="top" | |-valign="top" | ||
|[[Documentation/How_Tos/Calc: MULTINOMIAL function|'''MULTINOMIAL''']] | |[[Documentation/How_Tos/Calc: MULTINOMIAL function|'''MULTINOMIAL''']] | ||
| − | |Returns the factorial of the sum divided by the product of the factorials | + | |Returns the factorial of the sum divided by the product of the factorials. |
|-valign="top" | |-valign="top" | ||
| Line 220: | Line 294: | ||
|-valign="top" | |-valign="top" | ||
|[[Documentation/How_Tos/Calc: RANDBETWEEN function|'''RANDBETWEEN''']] | |[[Documentation/How_Tos/Calc: RANDBETWEEN function|'''RANDBETWEEN''']] | ||
| − | |Returns an integer random number in a specified range | + | |Returns an integer random number in a specified range. |
|-valign="top" | |-valign="top" | ||
|[[Documentation/How_Tos/Calc: SERIESSUM function|'''SERIESSUM''']] | |[[Documentation/How_Tos/Calc: SERIESSUM function|'''SERIESSUM''']] | ||
| − | |Sums the first terms of a power series | + | |Sums the first terms of a power series. |
|-valign="top" | |-valign="top" | ||
| Line 236: | Line 310: | ||
|-valign="top" | |-valign="top" | ||
|[[Documentation/How_Tos/Calc: SQRTPI function|'''SQRTPI''']] | |[[Documentation/How_Tos/Calc: SQRTPI function|'''SQRTPI''']] | ||
| − | |Returns the square root of (PI times a number) | + | |Returns the square root of (PI times a number). |
|-valign="top" | |-valign="top" | ||
| Line 257: | Line 331: | ||
<br style="clear:both;" /> | <br style="clear:both;" /> | ||
<!-- why on earth is this necessary? --> | <!-- why on earth is this necessary? --> | ||
| + | <!-- It breaks formatting if removed! DiGro 20240131 --> | ||
| − | + | {{SeeAlso|EN| | |
| − | + | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | |
| − | + | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]] | |
| − | + | }} | |
| + | [[Category: Documentation/Reference/Calc]] | ||
Latest revision as of 16:21, 1 February 2024
Trigonometric
Hyperbolic
Rounding and remainders
Logarithm/Powers
Bessel functions
Miscellaneous
| [[{{{PrevPage}}}|< Previous Page
]] |
[[{{{NextPage}}}|Next Page
>]] |
List of Calc Mathematical functions
| Trigonometric | |
| COS | Returns the cosine of an angle. |
| SIN | Returns the sine of an angle. |
| TAN | Returns the tangent of an angle. |
| COT | Returns the cotangent of an angle. |
| ACOS | Returns the inverse cosine of a number. |
| ACOT | Returns the inverse cotangent of a number. |
| ASIN | Returns the inverse sine of a number. |
| ATAN | Returns the inverse tangent of a number. |
| ATAN2 | Returns the inverse tangent for specified x and y coordinates. |
| DEGREES | Converts radians into degrees. |
| RADIANS | Converts degrees into radians. |
| PI | Returns the value of PI. |
| Hyperbolic | |
| COSH | Returns the hyperbolic cosine of an angle. |
| SINH | Returns the hyperbolic sine of an angle. |
| TANH | Returns the hyperbolic tangent of an angle. |
| COTH | Returns the hyperbolic cotangent of a given number (angle). |
| ACOSH | Returns the inverse hyperbolic cosine of a number. |
| ACOTH | Returns the inverse hyperbolic cotangent of the given number. |
| ASINH | Returns the inverse hyperbolic sine of a number. |
| ATANH | Returns the inverse hyperbolic tangent of a number. |
| Rounding and remainders | |
| TRUNC | Truncates a number by removing decimal places. |
| ROUND | Rounds a number to a certain precision. |
| ROUNDDOWN | Rounds a number down, toward zero, to a certain precision. |
| ROUNDUP | Rounds a number up, away from zero, to a certain precision. |
| CEILING | Returns a number rounded up to a multiple of another number. |
| FLOOR | Rounds a number down to the nearest multiple of another number. |
| EVEN | Rounds a number to the next even integer away from zero. |
| ODD | Rounds a number up to the next highest odd integer. |
| MROUND | Returns a number rounded to the nearest multiple of another number. |
| INT | Rounds a number down to the nearest integer. |
| QUOTIENT | Returns the integer result of a division operation. |
| MOD | Returns the remainder when one integer is divided by another. |
| Logarithm / powers | |
| EXP | Returns e raised to the power of a number. |
| POWER | Returns a number raised to a power. |
| LOG | Returns the natural logarithm of a number. |
| LN | Returns the logarithm of a number to the specified base. |
| LOG10 | Returns the base-10 logarithm of a number. |
| Bessel functions | |
| BESSELI | Calculates the modified Bessel function of the first kind. |
| BESSELJ | Calculates the Bessel function of the first kind. |
| BESSELK | Calculates the modified Bessel function of the second kind. |
| BESSELY | Calculates the Bessel function of the second kind (the Neumann or Weber function). |
| Miscellaneous | |
| ABS | Returns the absolute value of a number. |
| COMBIN | Returns the number of combinations of a subset of items. |
| COMBINA | Returns the number of ordered combinations of a subset of items. |
| CONVERT | Converts between legacy European currencies and Euros. |
| CONVERT_ADD | Converts a number from one measurement system to another. |
| COUNTBLANK | Returns the number of empty cells. |
| COUNTIF | Counts the number of cells in a range that meet a specified condition. |
| DELTA | Returns 1 if two numbers are equal, and 0 otherwise. |
| ERF | Calculates the error function (Gauss error function). |
| ERFC | Calculates the complementary error function (complementary Gauss error function). |
| FACT | Returns the factorial of a number, n!. |
| FACTDOUBLE | Returns the double factorial of a number, n!!. |
| GCD | Returns the greatest common divisor of two or more integers. |
| GCD_ADD | Returns the greatest common divisor of a list of numbers. |
| GESTEP | Returns 1 if a number is greater than or equal to a step number, or 0 otherwise. |
| ISEVEN | Returns TRUE if the value is an even number. |
| ISODD | Returns TRUE if the value is an odd number. |
| LCM | Returns the least common multiple of one or more integers. |
| LCM_ADD | Returns the lowest common multiple of a list of numbers. |
| MULTINOMIAL | Returns the factorial of the sum divided by the product of the factorials. |
| PRODUCT | Multiplies all the numbers given as arguments and returns the product. |
| RAND | Returns a random number between 0 and 1. |
| RANDBETWEEN | Returns an integer random number in a specified range. |
| SERIESSUM | Sums the first terms of a power series. |
| SIGN | Returns the sign of a number. |
| SQRT | Returns the positive square root of a number. |
| SQRTPI | Returns the square root of (PI times a number). |
| SUBTOTAL | Returns SUM, AVERAGE, STDDEV, etc. results for filtered data. |
| SUM | Sums the contents of cells. |
| SUMIF | Conditionally sums the contents of cells in a range. |
| SUMSQ | Returns the sum of the squares of numbers. |
See Also
