Contents

# Mathematical Functions

This category contains the Mathematical functions for Calc. To open the Function Wizard, choose Insert - Function.

## [text/scalc/01/func_aggregate.xhp#aggregate_head not found].

This function returns an aggregate result of the calculations in the range. You can use different aggregate functions listed below. The Aggregate function enables you to omit hidden rows, errors, SUBTOTAL and other AGGREGATE function results in the calculation.

## RAWSUBTRACT

Subtracts a set of numbers and gives the result without eliminating small roundoff errors.

## SUM

Adds a set of numbers.

## SUMIF

Determines which values in a range of cells meet a specified criterion, then returns the sum of the matching values. Alternatively the function can determine which values in one range of cells meet a criterion, then return the sum of values in the corresponding cells in a second range of cells.

## САНА

Return a numeric value calculated by a combination of three colors (red, green and blue) and the alpha channel, in the RGBA color system. The result depends on the color system used by your computer.

## SUMIFS

Returns the sum of the values of cells in a range that meets multiple criteria in multiple ranges.

## ABS

Рақами бутуни ададро бармегардонад.

#### Syntax

YEAR(рақам)

Number арзише, ки арзишии бутуни он ҳисоб карда мешавад.

#### Example

Дохилкунии -56 арзиши 56 ро бармегардонад.

Дохилкунии 56 арзиши 56 ро бармегардонад.

Арксинуси -1 ба -1.57 баробар аст.

## ACOS

Арксинуси рақамро медиҳад.

#### Syntax

YEAR(рақам)

Number арзиши ҳисобшаванда.

To return the angle in degrees, use the DEGREES function.

#### Example

Арксинуси -1 арзиши 3.14 ро медиҳад.

=DEGREES(ACOS(0.5)) returns 60. The cosine of 60 degrees is 0.5.

## ACOSH

Косинуси гиперболии арзишро медиҳад.

#### Syntax

YEAR(рақам)

Numberарзише, ки Косинуси гиперболии он ҳисоб карда мешавад.

Number must be greater than or equal to 1.

#### Example

Косинуси гиперболии 1 ба 0 баробар аст.

Косинуси гиперболии 1 ба 0 баробар аст.

## ACOT

Котангенси гиперболии арзишро медиҳад.

#### Syntax

YEAR(рақам)

Numberарзише, ки Котангенси гиперболии он ҳисоб карда мешавад.

To return the angle in degrees, use the DEGREES function.

#### Example

Котангенси гиперболии -1 ба 2.36 баробар аст.

=DEGREES(ACOT(1)) returns 45. The tangent of 45 degrees is 1.

## ACOTH

Котангенси гиперболии арзишро медиҳад.

#### Syntax

YEAR(рақам)

Number арзише, ки Котангенси гиперболии он ҳисоб карда мешавад.

An error results if Number is between -1 and 1 inclusive.

#### Example

Котангенси гиперболии 1.1 ба 1.52 баробар аст.

## ASIN

Арксинуси арзишро медиҳад.

#### Syntax

YEAR(рақам)

Number арзише, ки арксинуси он ҳисоб карда мешавад.

To return the angle in degrees, use the DEGREES function.

#### Example

Арксинуси -1 ба -1.57 баробар аст.

Арктангенси -1 ба -0.79 баробар аст.

=DEGREES(ASIN(0.5)) returns 30. The sine of 30 degrees is 0.5.

## ASINH

Косинуси гиперболии арзишро медиҳад.

#### Syntax

YEAR(рақам)

Number арзише, ки Косинуси гиперболии он ҳисоб карда мешавад.

#### Example

Косинуси гиперболии -90 ба -5.19 баробар аст.

Арксинуси -1 ба -1.57 баробар аст.

## ATAN

Арктангенси рақарро бармегардонад.

#### Syntax

YEAR(рақам)

Number арзише, ки арктангенсаш ҳисоб карда мешавад.

To return the angle in degrees, use the DEGREES function.

#### Example

Арктангенси -1 ба -0.79 баробар аст.

=DEGREES(ATAN(1)) returns 45. The tangent of 45 degrees is 1.

## ATAN2

Returns the angle (in radians) between the x-axis and a line from the origin to the point (NumberX|NumberY).

This function is part of the Open Document Format for Office Applications (OpenDocument) standard Version 1.2. (ISO/IEC 26300:2-2015)

#### Syntax

ATAN2(NumberX; NumberY)

NumberX is the value of the x coordinate.

Number y арзиши y.

Programming languages have usually the opposite order of arguments for their atan2() function.

ATAN2 returns the angle (in radians) between the x-axis and a line from the origin to the point (NumberX|NumberY)

#### Example

=ATAN2(-5;9) returns 2.07789 radians.

To get the angle in degrees apply the DEGREES function to the result.

=DEGREES(ATAN2(12.3;12.3)) returns 45. The tangent of 45 degrees is 1.

LibreOffice results 0 for ATAN2(0;0).

The function can be used in converting cartesian coordinates to polar coordinates.

=DEGREES(ATAN2(-8;5)) returns φ = 147.9 degrees

## ATANH

Арзиши муқобили тангенси гипербохии рақамро медиҳад.

#### Syntax

YEAR(рақам)

Number ададе, ки тангенси муқобили гиперболиаш ҳисоб карда мешавад.

Number must obey the condition -1 < number < 1.

#### Example

Тангенси муқобили гиперболии 0.99 ба 2.65 баробар аст.

## COMBIN

Шумораи комбинатсияҳоро барои объектҳои додашуда ҳисоб мекунад.

#### Syntax

COMBIN(Count1; Count2)

Count 1 шумораи умумии элементҳо.

Count 2 шумораи интихоби элемент.

COMBIN returns the number of ordered ways to choose these items. For example if there are 3 items A, B and C in a set, you can choose 2 items in 3 different ways, namely AB, AC and BC.

COMBIN implements the formula: Count1!/(Count2!*(Count1-Count2)!)

#### Example

Дохилкунии 2 дар қуттии Count 1 ва 2, натиҷаи 1 медиҳад.

## COMBINA

Шумораи комбинатсияҳоро барои объектҳои додашуда ҳисоб мекунад (бо такрор).

#### Syntax

COMBINA(Count1; Count2)

Count 1 шумораи умумии элементҳо.

Count 2 шумораи интихоби элемент.

COMBINA returns the number of unique ways to choose these items, where the order of choosing is irrelevant, and repetition of items is allowed. For example if there are 3 items A, B and C in a set, you can choose 2 items in 6 different ways, namely AA, AB, AC, BB, BC and CC.

COMBINA implements the formula: (Count1+Count2-1)! / (Count2!(Count1-1)!)

#### Example

Дохилкунии 2 дар қуттии Count 1 ва 2, натиҷаи 3 медиҳад.

## CONVERT_OOO

Converts to euros a currency value expressed in one of the legacy currencies of 19 member states of the Eurozone, and vice versa. The conversion uses the fixed exchange rates at which the legacy currencies entered the euro.

We recommend using the more flexible EUROCONVERT function for converting between these currencies. CONVERT_OOO is not a standardized function and is not portable.

#### Syntax

CONVERT_OOO(Value; "Text1"; "Text2")

Value is the amount of the currency to be converted.

Text1 is a three-character string that specifies the currency to be converted from.

Text2 is a three-character string that specifies the currency to be converted to.

Text1 and Text2 must each take one of the following values: "ATS", "BEF", "CYP", "DEM", "EEK", "ESP", "EUR", "FIM", "FRF", "GRD", "IEP", "ITL", "LTL", "LUF", "LVL", "MTL", "NLG", "PTE", "SIT", and "SKK".

One, and only one, of Text1 or Text2 must be equal to "EUR".

#### Example

=CONVERT_OOO(100;"ATS";"EUR") returns the euro value of 100 Austrian schillings.

=CONVERT_OOO(100;"EUR";"DEM") converts 100 euros into German marks.

Refer to the CONVERT_OOO wiki page for more details about this function.

## COS

Косинуси рақамро медиҳад.

#### Syntax

YEAR(рақам)

Number арзиш.

To return the cosine of an angle in degrees, use the RADIANS function.

#### Example

Кунҷи 6.28 (2Pi) косинуси 1 ро медиҳад.

Кунҷи 3.14 (2Pi) косинуси -1 ро медиҳад.

## COSH

Косинуси гиперболии рақамро медиҳад.

#### Syntax

YEAR(рақам)

Number арзиш.

#### Example

Арзиши -5 косинуси гиперболии 74.21 ро медиҳад.

## COT

Котангенси кунҷи додашударо медиҳад.

#### Syntax

YEAR(рақам)

Number арзиш.

To return the cotangent of an angle in degrees, use the RADIANS function.

The cotangent of an angle is equivalent to 1 divided by the tangent of that angle.

### Намуна:

Кунҷи -45 Котангенси -0.62 ро медиҳад.

Кунҷи 90 Котангенси -0.5 ро медиҳад.

## COTH

Котангенси гиперболии кунҷро медиҳад.

#### Syntax

YEAR(рақам)

Number арзиш.

#### Example

Арзиши 90 Котангенси гиперболии 1 ро медиҳад.

## CSC

Returns the cosecant of the given angle (in radians). The cosecant of an angle is equivalent to 1 divided by the sine of that angle

This function is available since LibreOffice 3.5.

#### Syntax

YEAR(рақам)

Number арзиш.

To return the cosecant of an angle in degrees, use the RADIANS function.

#### Example

=CSC(PI()/4) returns approximately 1.4142135624, the inverse of the sine of PI/4 radians.

Кунҷи 3.14 (2Pi) косинуси -1 ро медиҳад.

## CSCH

Косинуси гиперболии рақамро медиҳад.

This function is available since LibreOffice 3.5.

#### Syntax

YEAR(рақам)

Number арзиш.

#### Example

=CSCH(1) returns approximately 0.8509181282, the hyperbolic cosecant of 1.

## DEGREES

Радианро ба дараҷа табдил медиҳад.

#### Syntax

DEGREES(Number)

Number арзиш.

#### Example

=DEGREES(PI()) returns 180 degrees.

## EUROCONVERT

Converts between old European national currency and to and from Euros.

#### Syntax

EUROCONVERT(Value; "From_currency"; "To_currency" [; full_precision [; triangulation_precision]])

Value суммаи арзи табдилшаванда.

Text номи расмии арз (мисол, "EUR"). Аввалин параметриText арзиши рамзи табдилшаванда, дуюми Text арзиши арзӣ ниҳоӣ мебошад.

Full_precision is optional. If omitted or False, the result is rounded according to the decimals of the To currency. If Full_precision is True, the result is not rounded.

Triangulation_precision is optional. If Triangulation_precision is given and >=3, the intermediate result of a triangular conversion (currency1,EUR,currency2) is rounded to that precision. If Triangulation_precision is omitted, the intermediate result is not rounded. Also if To currency is "EUR", Triangulation_precision is used as if triangulation was needed and conversion from EUR to EUR was applied.

### Намуна:

=CONVERT(100;"ATS";"EUR") 100 Шиллинги Австралиро ба Евро мегардонад.

=CONVERT(100;"EUR";"DEM") 100 Евроро ба Маркаи Олмони мегардонад.

## EVEN

Ададро ба наздиктарин адади бутуни ҷуфт табдил медиҳад.

#### Syntax

YEAR(рақам)

Number арзиш.

#### Example

Агар шумо адади 0.01-ро дохил кунед, натиҷа 2 мешавад.

Агар шумо адади 0.01-ро дохил кунед, натиҷа 2 мешавад.

Арксинуси -1 ба -1.57 баробар аст.

Агар шумо адади 0.01-ро дохил кунед, натиҷа 2 мешавад.

## EXP

Returns e raised to the power of a number. The constant e has a value of approximately 2.71828182845904.

#### Syntax

YEAR(рақам)

Number дараҷае, ки ба он е бардошта мешавад.

#### Example

=EXP(1) returns 2.71828182845904, the mathematical constant e to Calc's accuracy.

## FACT

Returns the factorial of a non-negative integer.

#### Syntax

FACT(Integer)

Returns Integer!, the factorial of Integer, calculated as 1*2*3*4* ... * Integer.

Returns the "invalid argument" error if the argument is negative integer.

Returns the #VALUE! error if the argument is greater than 170, cause too large integer (approximately 7E+306.

=FACT(0) returns 1 by definition.

If the argument is a non-integer number, it is converted to its floor integer value.

#### Example

FACT(10) 3628800 ро бармегардонад.

=FACT(3.8) returns 6.

FACT(0) 1ро бармегардонад.

## GCD

Тақсимкунандаи умумии ду ва зиёда ададҳоро медиҳад.

The greatest common divisor is the positive largest integer which will divide, without remainder, each of the given integers.

#### Syntax

GCD(Integer 1 [; Integer 2 [; … [; Integer 255]]])

Integer 1; Integer 2; … ; Integer 255 are integers, references to cells or to cell ranges of integers.

This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.

#### Example

=GCD(16;32;24) gives the result 8, because 8 is the largest number that can divide 16, 24 and 32 without a remainder.

=GCD(B1:B3) where cells B1, B2, B3 contain 9, 12, 9 gives 3.

## GCD_EXCEL2003

The result is the greatest common divisor of a list of numbers.

The functions whose names end with _ADD or _EXCEL2003 return the same results as the corresponding Microsoft Excel 2003 functions without the suffix. Use the functions without suffix to get results based on international standards.

#### Syntax

GCD_EXCEL2003(Number 1 [; Number 2 [; … [; Number 255]]])

Number 1; Number 2; … ; Number 255 are numbers, references to cells or to cell ranges of numbers.

#### Example

=GCD_EXCEL2003(5;15;25) returns 5.

## INT

Рақамро ба наздиктарин адади бутун табдил медиҳад.

#### Syntax

YEAR(рақам)

Number арзиш.

Negative numbers round down to the integer below.

#### Example

Адади -0.1, -1 ро медиҳад.

Адади -23.74, 23 ро медиҳад.

## LCM

Хурдтарин зарбшавандаи умумии ду ва зиёда ададро медиҳад.

#### Syntax

LCM(Integer 1 [; Integer 2 [; … [; Integer 255]]])

Integer 1; Integer 2; … ; Integer 255 are integers, references to cells or to cell ranges of integers.

This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.

#### Example

If you enter the numbers 512; 1024 and 2000 as Integer 1;2 and 3, then 128000 will be returned.

## LCM_EXCEL2003

The result is the lowest common multiple of a list of numbers.

The functions whose names end with _ADD or _EXCEL2003 return the same results as the corresponding Microsoft Excel 2003 functions without the suffix. Use the functions without suffix to get results based on international standards.

#### Syntax

LCM_EXCEL2003(Number 1 [; Number 2 [; … [; Number 255]]])

Number 1; Number 2; … ; Number 255 are numbers, references to cells or to cell ranges of numbers.

#### Example

=LCM_EXCEL2003(5;15;25) returns 75.

## LN

Логарифми натуралии e-и (2.71828182845904) рақамро медиҳад.

#### Syntax

YEAR(рақам)

Number арзиши рақам.

#### Example

Логарифми натуралӣ ба асоси е-и 3 ба 1.1 баробар аст.

Агар шумо адади 0.01-ро дохил кунед, натиҷа 2 мешавад.

## LOG

Логарифми ададро ба асоси додашуда ҳисоб мекунад.

#### Syntax

LOG(Number [; Base])

Numberарзиши адад.

Base асос.

#### Example

Логарифми адади 10 бо асоси 3 ба 2.1 баробар аст.

Адади -0.1, -1 ро медиҳад.

## LOG10

Логарифми асоси 10 -и ададро медиҳад.

#### Syntax

LOG10(Number)

Number арзиши адад.

#### Example

Логарифми адади 3 бо асоси 10 ба 0.48 баробар аст.

## MOD

Бақияро бармегардонаб пас тақсим.

#### Syntax

MOD(Dividend; Divisor)

Dividend ададе, ки аз он бақия гирифта мешавад.

Divisor тақсимкунанда.

#### Example

Арзиши17 дар қутти тақсимшаванда ба тақсимкунандаи -1.4 тақсим карда мешавад.Натиҷа (бақия) -1.2.

Дохилкунии 56 арзиши 56 ро бармегардонад.

## MROUND

Натиҷа адади бутуни зарби рақамҳост.

#### Syntax

MROUND(Number; Multiple)

Returns Number rounded to the nearest multiple of Multiple.

An alternative implementation would be Multiple * ROUND(Number/Multiple).

#### Example

Кадом адади бутун зарби 3 ба 15.5 наздиктар аст?

=MROUND(1.6;0.5) натиҷа 1.5

## MULTINOMIAL

Returns the factorial of the sum of the arguments divided by the product of the factorials of the arguments.

#### Syntax

MULTINOMIAL(Number 1 [; Number 2 [; … [; Number 255]]])

Number 1; Number 2; … ; Number 255 are numbers, references to cells or to cell ranges of numbers.

This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.

#### Example

=MULTINOMIAL(F11:H11) натиҷа 1260, агар F11 то H11 арзишҳои 2, 3 ва 4 дошта бошанд. Ин ба формулаи =(2+3+4)! / (2!*3!*4!) мувофиқ аст

## ODD

Рақамро ба наздиктарин рақами тоқ бутун месозад.

#### Syntax

YEAR(рақам)

Number арзиш.

#### Example

Дохилкунии рақами 1.01, натиҷаи 3 медиҳад.

Дохилкунии рақами 1.01, натиҷаи 3 медиҳад.

Дохилкунии рақами 1.01, натиҷаи 3 медиҳад.

Дохилкунии рақами 1.01, натиҷаи 3 медиҳад.

## POWER

Натиҷа ба дараҷа бардоштани адад мебошад.

#### Syntax

POWER(base; power) ё base ^ power

Base адади ба дараҷа бардошташаванда.

The same result may be achieved by using the exponentiation operator ^: Base^Exponent

=POWER(0,0) returns 1; =POWER(0,X) reports the #NUM! error when exponent X is negative.

=POWER(B,X) may or may not report a #NUM! error when B is negative and X is not an integer.

#### Example

=POWER(4;3) returns 64, which is 4 to the power of 3.

=4^3 also returns 4 to the power of 3.

=POWER(2;-3) returns 0.125.

=POWER(-2;1/3) returns -1.25992104989487.

=POWER(-2;2/3) returns the #NUM! error.

## PRODUCT

Ҳосили зарби ададҳои додашударо медиҳад.

#### Syntax

PRODUCT(Number 1 [; Number 2 [; … [; Number 255]]])

Number 1; Number 2; … ; Number 255 are numbers, references to cells or to cell ranges of numbers.

This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.

#### Example

Дохилкунии 2; 3 ва 4 дар қуттии Number 1; 2 ва 3, натиҷаи 24 медиҳад.

## QUOTIENT

Returns the integer part of a division operation.

#### Syntax

QUOTIENT(Numerator; Denominator)

Returns the integer part of Numerator divided by Denominator.

QUOTIENT is equivalent to INT(numerator/denominator) for same-sign numerator and denominator, except that it may report errors with different error codes. More generally, it is equivalent to INT(numerator/denominator/SIGN(numerator/denominator))*SIGN(numerator/denominator).

#### Example

=QUOTIENT(11;3) returns 3. The remainder of 2 is lost.

## RADIANS

Дараҷаро ба радиан табдил медиҳад.

#### Syntax

RADIANS(Number)

Number кунҷ дар дараҷа.

#### Example

=RADIANS(90) returns 1.5707963267949, which is PI/2 to Calc's accuracy.

## RAND

Рақами тақрибиро аз фосилаи аз 0 то 1 медиҳад.

This function is always recalculated whenever a recalculation occurs.

#### Syntax

RAND()

This function produces a new random number each time Calc recalculates. To force Calc to recalculate manually press F9.

To generate random numbers which never recalculate, either:

- Copy cells each containing =RAND(), and use Edit - Paste Special (with Paste All and Formulas not marked and Numbers marked).

- Use the Fill Cell command with random numbers (Sheet - Fill Cells - Fill Random Numbers).

- Use the RAND.NV() function for non-volatile random numbers.

#### Example

=RAND() returns a random number between 0 and 1.

## RAND.NV

Returns a non-volatile random number between 0 and 1.

#### Syntax

RAND.NV()

This function produces a non-volatile random number on input. A non-volatile function is not recalculated at new input events. The function does not recalculate when pressing F9, except when the cursor is on the cell containing the function or using the Recalculate Hard command (Shift+Command Ctrl+F9). The function is recalculated when opening the file.

#### Example

=RAND.NV() returns a non-volatile random number between 0 and 1.

#### Technical information

This function is available since LibreOffice 7.0.

This function is NOT part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

ORG.LIBREOFFICE.RAND.NV

## RANDBETWEEN

Адади бутуни тақрибиро аз фосилаи ду адад медиҳад - Bottom ва Top (ҳарду дохиланд). Барои азнарҳисобкунӣ Shift+Ctrl+F9 пахш кунед.

This function is always recalculated whenever a recalculation occurs.

#### Syntax

RANDBETWEEN(Bottom; Top)

Returns an integer random number between integers Bottom and Top (both inclusive).

This function produces a new random number each time Calc recalculates. To force Calc to recalculate manually press F9.

To generate random numbers which never recalculate, copy cells containing this function, and use Edit - Paste Special (with Paste All and Formulas not marked and Numbers marked).

#### Example

=RANDBETWEEN (20;30) адади бутунро аз миёни 20 ва 30 медиҳад.

## RANDBETWEEN.NV

Returns an non-volatile integer random number in a specified range.

#### Syntax

RANDBETWEEN.NV(Bottom; Top)

Returns an non-volatile integer random number between integers Bottom and Top (both inclusive). A non-volatile function is not recalculated at new input events or pressing F9. However, the function is recalculated when pressing F9 with the cursor on the cell containing the function, when opening the file, when using the Recalculate Hard command (Shift+Command Ctrl+F9) and when Top or Bottom are recalculated.

#### Example

=RANDBETWEEN.NV(20;30) returns a non-volatile integer between 20 and 30.

=RANDBETWEEN.NV(A1;30) returns a non-volatile integer between the value of cell A1 and 30. The function is recalculated when the contents of cell A1 change.

#### Technical information

This function is available since LibreOffice 7.0.

This function is NOT part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

ORG.LIBREOFFICE.RANDBETWEEN.NV

## ROUND

Rounds a number to a certain number of decimal places.

#### Syntax

ROUND(Number [; Count])

number арзиш.

This function rounds to the nearest number. See ROUNDDOWN and ROUNDUP for alternatives.

#### Example

Агар адади 17.546 дар қуттии number ва 1 шумораи бутункунӣ, 17.5 баргардонида мешавад.

=ROUND(-32.4834; 3) натиҷа -32.483.

Агар адади 17.546 дар қуттии number ва 1 шумораи бутункунӣ, 17.5 баргардонида мешавад.

Дохилкунии рақами 1.01, натиҷаи 3 медиҳад.

Дохилкунии 123.343 ва арзиши 2 дар қуттии count натиҷаи 123.35 медиҳад.

## ROUNDDOWN

Truncates a number while keeping a specified number of decimal digits.

## ROUNDUP

Рақамро ба боло бутун месозад, мувофиқи шумораи додашуда.

#### Syntax

ROUNDUP(Number [; Count])

number арзиш.

This function rounds away from zero. See ROUNDDOWN and ROUND for alternatives.

#### Example

Дохилкунии 123.343 ва арзиши 2 дар қуттии count натиҷаи 123.35 медиҳад.

Дохилкунии 567.567 ва арзиши 2 дар қуттии count натиҷаи 567.56 медиҳад.

Дохилкунии 123.343 ва арзиши 2 дар қуттии count натиҷаи 123.35 медиҳад.

Дохилкунии -4.5, натиҷаи -1 медиҳад.

Дохилкунии 123.343 ва арзиши 2 дар қуттии count натиҷаи 123.35 медиҳад.

## SEC

Returns the secant of the given angle (in radians). The secant of an angle is equivalent to 1 divided by the cosine of that angle

This function is available since LibreOffice 3.5.

#### Syntax

YEAR(рақам)

Number кунҷ дар радиан.

To return the secant of an angle in degrees, use the RADIANS function.

#### Example

=SEC(PI()/4) returns approximately 1.4142135624, the inverse of the cosine of PI/4 radians.

Кунҷи 3.14 (2Pi) косинуси -1 ро медиҳад.

## SECH

Синуси гиперболии ададро медиҳад.

This function is available since LibreOffice 3.5.

#### Syntax

YEAR(рақам)

Number арзиш.

#### Example

Дохилкунии арзиши -5 натиҷаи 74.2 медиҳад.

## SERIESSUM

Суммаи дараҷаҳои x ро медиҳад мувофиқи:

SERIESSUM(x;n;m;c) = c1xn + c2xn+m + c3xn+2m + ... + cixn + (i-1)m.

#### Syntax

SERIESSUM(X; N; M; Coefficients)

x: арзиш

n: дараҷа

m: қадам

coefficients: коэффитсиетҳо.

#### Example

=SERIESSUM(A1; 0; 1; {1; 2; 3}) calculates the value of 1+2x+3x2, where x is the value in cell A1. If A1 contains 1, the formula returns 6; if A1 contains 2, the formula returns 17; if A1 contains 3, the formula returns 34; and so on.

Refer to the SERIESSUM wiki page for more details about this function.

## SIGN

Синуси рақамро медиҳад.

#### Syntax

YEAR(рақам)

Number арзиш.

#### Example

Дохилкунии 3.4, натиҷаи 1 медиҳад.

Дохилкунии -4.5, натиҷаи -1 медиҳад.

## SIN

Синуси рақами додашударо медиҳад.

#### Syntax

YEAR(рақам)

Number кунҷ дар радиан.

To return the sine of an angle in degrees, use the RADIANS function.

#### Example

Синуси радиании 3.14 (Pi) 0 аст.

Кунҷи 3.14 (2Pi) косинуси -1 ро медиҳад.

## SINH

Синуси гиперболии ададро медиҳад.

#### Syntax

YEAR(рақам)

Number арзиш.

#### Example

Дохилкунии арзиши -5 натиҷаи 74.2 медиҳад.

## SQRT

Решаи квадратии мутлақи ададро медиҳад.

#### Syntax

YEAR(рақам)

Number арзиш.

Number must be positive.

#### Example

Решаи квадратии 16 ба 4 баробар аст.

=SQRT(-16) returns an invalid argument error.

## SQRTPI

Решаи квадратии адад *PI-ро медиҳад.

#### Syntax

YEAR(рақам)

Returns the positive square root of (PI multiplied by Number).

This is equivalent to SQRT(PI()*Number).

#### Example

=SQRTPI(2) натиҷа 2.506628.

## SUBTOTAL

Зерсуммаҳоро ҳисоб мекунад. Агар диапазон аллакай зерсумма дошта бошад, онгоҳ ин истифода намешавад.

#### Syntax

SUBTOTAL(Function; Range)

Function рақаме, ки ба яке аз ин функтсияҳо мувофиқ аст:

Индекси функтсия (includes hidden values) | Function index (ignores hidden values) | Функтсия
--- | --- | ---
1 | 101 | АРЗМИЁНА
2 | 102 | ШУМОРА
3 | 103 | ШУМОРАИA
4 | 104 | МАКС
5 | 105 | МИН
6 | 106 | ҲОСИЛ
7 | 107 | ФАРҚРСТАНД
8 | 108 | ФАРҚРСТАНД
9 | 109 | СУММА
10 | 110 | ФАР
11 | 111 | ФАРП

Use numbers 1-11 to include manually hidden rows or 101-111 to exclude them; filtered-out cells are always excluded.

Range диапазоне, ки арзишҳояш дохил шудаанд.

This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.

#### Example

You have a table in the cell range A1:B6 containing a bill of material for 10 students.

| A | B
--- | --- | ---
1 | ITEM | QUANTITY
2 | Pen | 10
3 | Pencil | 10
4 | Notebook | 10
5 | Rubber | 10
6 | Sharpener | 10

Let's say one row is manually hidden, then the first formula shows the sum of the 5 figures filtered; the second, only the sum of the 4 figures displayed.

=SUBTOTAL(9;B2:B6) returns 50.

=SUBTOTAL(109;B2:B6) returns 40.

## SUMSQ

Calculates the sum of the squares of a set of numbers.

#### Syntax

SUMSQ(Number 1 [; Number 2 [; … [; Number 255]]])

Number 1; Number 2; … ; Number 255 are numbers, references to cells or to cell ranges of numbers.

This function ignores any text or empty cell within a data range. If you suspect wrong results from this function, look for text in the data ranges. To highlight text contents in a data range, use the value highlighting feature.

#### Example

If you enter the numbers 2; 3 and 4 in the Number 1; 2 and 3 arguments, 29 is returned as the result.

## TAN

Тангенси кунҷи додашударо медиҳад.

#### Syntax

YEAR(рақам)

Number кунҷ дар радиан.

To return the tangent of an angle in degrees, use the RADIANS function.

#### Example

Тангенси кунҷи (дар радиан) 3.14 (Pi) 0 аст.

Кунҷи 90 Котангенси -0.5 ро медиҳад.

## TANH

Тангенси гиперболии рақамро медиҳад.

#### Syntax

YEAR(рақам)

Number арзиш.

#### Example

Дохилкунии арзиши -5 натиҷаи -1 медиҳад.

## TRUNC

Truncates a number while keeping a specified number of decimal digits.

## ПӢ

Returns 3.14159265358979, the value of the mathematical constant PI to 14 decimal places.

#### Syntax

PI()

#### Example

=PI() returns 3.14159265358979.

Мавзӯҳои алоқаманд

Functions by Category

Please support us!