From 5d7d8ae940137262e8fd575a2214bf0baf0e9c1f Mon Sep 17 00:00:00 2001 From: tagezi Date: Fri, 23 Oct 2015 00:59:22 +0300 Subject: A description of trigonometric function IM* In ODFF a phrase was rewrote in func_imsec.xhp and func_imsinh.xhp typos are corrected in AllLangHelp_scalc.mk typo is correctedo Change-Id: Ieecb11deae5a8b1da56cdaadc9f75ef08b211e3c Reviewed-on: https://gerrit.libreoffice.org/19429 Reviewed-by: Olivier Hallot Tested-by: Olivier Hallot --- source/text/scalc/01/04060116.xhp | 110 +++++++++++++++++++++++++---------- source/text/scalc/01/ODFF.xhp | 2 +- source/text/scalc/01/ful_func.xhp | 67 +++++++++++++++++++++ source/text/scalc/01/func_imcos.xhp | 76 ++++++++++++++++++++++++ source/text/scalc/01/func_imcosh.xhp | 76 ++++++++++++++++++++++++ source/text/scalc/01/func_imcot.xhp | 78 +++++++++++++++++++++++++ source/text/scalc/01/func_imcsc.xhp | 80 +++++++++++++++++++++++++ source/text/scalc/01/func_imcsch.xhp | 80 +++++++++++++++++++++++++ source/text/scalc/01/func_imsec.xhp | 80 +++++++++++++++++++++++++ source/text/scalc/01/func_imsech.xhp | 80 +++++++++++++++++++++++++ source/text/scalc/01/func_imsin.xhp | 76 ++++++++++++++++++++++++ source/text/scalc/01/func_imsinh.xhp | 77 ++++++++++++++++++++++++ source/text/scalc/01/func_imtan.xhp | 78 +++++++++++++++++++++++++ 13 files changed, 929 insertions(+), 31 deletions(-) create mode 100644 source/text/scalc/01/ful_func.xhp create mode 100644 source/text/scalc/01/func_imcos.xhp create mode 100644 source/text/scalc/01/func_imcosh.xhp create mode 100644 source/text/scalc/01/func_imcot.xhp create mode 100644 source/text/scalc/01/func_imcsc.xhp create mode 100644 source/text/scalc/01/func_imcsch.xhp create mode 100644 source/text/scalc/01/func_imsec.xhp create mode 100644 source/text/scalc/01/func_imsech.xhp create mode 100644 source/text/scalc/01/func_imsin.xhp create mode 100644 source/text/scalc/01/func_imsinh.xhp create mode 100644 source/text/scalc/01/func_imtan.xhp (limited to 'source') diff --git a/source/text/scalc/01/04060116.xhp b/source/text/scalc/01/04060116.xhp index 92448cf1d8..0a9872eef7 100644 --- a/source/text/scalc/01/04060116.xhp +++ b/source/text/scalc/01/04060116.xhp @@ -105,21 +105,46 @@ =IMARGUMENT("3+4j") returns 0.927295. -
-IMCOS function - - -IMCOS - The result is the cosine of a complex number. - Syntax - IMCOS("ComplexNumber") - - Example - - =IMCOS("3+4j") returns -27.03-3.85i (rounded). -
+
+ + + + + + +
+
+ + + + + + +
+
+ + + + + + +
+
+ + + + + + +
+
+ + + + + + +
IMDIV function @@ -241,21 +266,46 @@ =IMREAL("1+3j") returns 1.
-
-IMSIN function - - -IMSIN - The result is the sine of a complex number. - Syntax - IMSIN("ComplexNumber") - - Example - - =IMSIN("3+4j") returns 3.85+27.02j (rounded). -
+
+ + + + + + +
+
+ + + + + + +
+
+ + + + + + +
+
+ + + + + + +
+
+ + + + + + +
IMSUB function diff --git a/source/text/scalc/01/ODFF.xhp b/source/text/scalc/01/ODFF.xhp index fb312b63b3..39f0e6bfd3 100644 --- a/source/text/scalc/01/ODFF.xhp +++ b/source/text/scalc/01/ODFF.xhp @@ -16,7 +16,7 @@
-This function belongs to Open Document Formula version 1.2 Standard. +This function is part of the Open Document Format for Office Applications (OpenDocument) standard Version 1.2. (ISO/IEC 26300:2-2015)
\ No newline at end of file diff --git a/source/text/scalc/01/ful_func.xhp b/source/text/scalc/01/ful_func.xhp new file mode 100644 index 0000000000..e9c913a6d1 --- /dev/null +++ b/source/text/scalc/01/ful_func.xhp @@ -0,0 +1,67 @@ + + + + + + Frequently Used Lexemes + text/scalc/01/ful_func.xhp + + + + + Title in descriptions of functions + + + + Syntax + + + + + Examples + + + + Notes for functions + + + + Complex_number is a complex number that is entered in the form "a+bi" or "a+bj", or is the result of a string operation with other functions, cell references, or expressed by concatenating (&) other strings, resulting in a string in the form "a+bi" or "a+bj". + + + + + If Complex_number is actually a real number (b=0), then it can be either a string expression or a number value. + + + + Warnings for functions + + + + The function always returns a string representing a complex number. + + + + + If the result is a complex number with one of its parts (a or b) equal to zero, that part is not displayed. + + + + + Complex_number - A string representing a complex number, a real number in either string or number format, or a reference to a cell containing a complex number + + + + + The imaginary part is equal to zero, so it is not displayed in the result. + + + + diff --git a/source/text/scalc/01/func_imcos.xhp b/source/text/scalc/01/func_imcos.xhp new file mode 100644 index 0000000000..16e4743372 --- /dev/null +++ b/source/text/scalc/01/func_imcos.xhp @@ -0,0 +1,76 @@ + + + + + + IMCOS function + /text/scalc/01/func_imcos.xhp + + + +
+ + + IMCOS function + cosine;complex number + + + + IMCOS + function + + + + + Returns the cosine of a complex number. The cosine of a complex number "a+bi" can be expressed by: + + + +
+ + cos(a+bi) = cos(a)cosh(b) - sin(a)sinh(b)i + + + + + IMCOS(Complex_number) + + + whose cosine is to be calculated. + + +
+ +
+ +
+ +
+ + + + =("4-3i") + + returns -6.58066304055116-7.58155274274654i. + + + + =(2) + + returns -0.416146836547142 as a string. + +
+ + , + , + + +
+ +
\ No newline at end of file diff --git a/source/text/scalc/01/func_imcosh.xhp b/source/text/scalc/01/func_imcosh.xhp new file mode 100644 index 0000000000..e2f8d43336 --- /dev/null +++ b/source/text/scalc/01/func_imcosh.xhp @@ -0,0 +1,76 @@ + + + + + + IMCOSH function + /text/scalc/01/func_imcosh.xhp + + + +
+ + + IMCOSH function + hyperbolic cosine;complex number + + + + IMCOSH + function + + + + + Returns the hyperbolic cosine of a complex number. The hyperbolic cosine of a complex number "a+bi" can be expressed by: + + + +
+ + cosh(a+bi)=cosh(a)cos(b)+sinh(a)sin(b)i + + + + + IMCOSH(Complex_number) + + + whose hyperbolic cosine is to be calculated. + + +
+ +
+ +
+ +
+ + + + =("4-3i") + + returns -27.0349456030742-3.85115333481178i. + + + + =(2) + + returns 3.76219569108363 as a string. + +
+ + , + , + + +
+ +
\ No newline at end of file diff --git a/source/text/scalc/01/func_imcot.xhp b/source/text/scalc/01/func_imcot.xhp new file mode 100644 index 0000000000..cc0bb7f14c --- /dev/null +++ b/source/text/scalc/01/func_imcot.xhp @@ -0,0 +1,78 @@ + + + + + + IMCOT function + /text/scalc/01/func_imcot.xhp + + + +
+ + + IMCOT function + cotangent;complex number + + + + IMCOT + function + + + + + Returns the cotangent of a complex number. The cotangent of a complex number "a+bi" can be expressed by: + + + +
+ + + + cot(a+bi)=cos(a+bi)/sin(a+bi) + + + + + + + IMCOT(Complex_number) + + + whose cotangent is to be calculated. + + +
+ +
+ +
+ +
+ + + + =("4-3i") + + returns 0.00490118239430447+0.999266927805902i. + + + + =(2) + + returns -0.457657554360286 as a string. + +
+ + + +
+ +
\ No newline at end of file diff --git a/source/text/scalc/01/func_imcsc.xhp b/source/text/scalc/01/func_imcsc.xhp new file mode 100644 index 0000000000..e340a429a5 --- /dev/null +++ b/source/text/scalc/01/func_imcsc.xhp @@ -0,0 +1,80 @@ + + + + + + IMCSC function + text/scalc/01/func_imcsc.xhp + + + +
+ + + IMCSC function + cosecant;complex number + + + + IMCSC + function + + + + + Returns the cosecant of a complex number. The cosecant of a complex number "a+bi" can be expressed by: + + + +
+ + + + csc(a+bi)=1/sin(a+bi) + + + + + + + IMCSC(Complex_number) + + + whose cosecant needs to be calculated. + + +
+ +
+ +
+ +
+ + + + =("4-3i") + + returns -0.0754898329158637-0.0648774713706355i. + + + + =(2) + + returns 1.09975017029462 as a string. + +
+ + , + , + + +
+ +
diff --git a/source/text/scalc/01/func_imcsch.xhp b/source/text/scalc/01/func_imcsch.xhp new file mode 100644 index 0000000000..b5786ac4d1 --- /dev/null +++ b/source/text/scalc/01/func_imcsch.xhp @@ -0,0 +1,80 @@ + + + + + + IMCSCH function + text/scalc/01/func_imcsch.xhp + + + +
+ + + IMCSCH function + hyperbolic cosecant;complex number + + + + IMCSCH + function + + + + + Returns the hyperbolic cosecant of a complex number. The hyperbolic cosecant of a complex number "a+bi" can be expressed by: + + + +
+ + + + csch(a+bi)=1/sinh(a+bi) + + + + + + + IMCSCH(Complex_number) + + + whose hyperbolic cosecant needs to be calculated. + + +
+ +
+ +
+ +
+ + + + =("4-3i") + + returns -0.036275889628626+0.0051744731840194i. + + + + =(2) + + returns 0.275720564771783 as a string. + +
+ + , + , + + +
+ +
diff --git a/source/text/scalc/01/func_imsec.xhp b/source/text/scalc/01/func_imsec.xhp new file mode 100644 index 0000000000..347c5ebdac --- /dev/null +++ b/source/text/scalc/01/func_imsec.xhp @@ -0,0 +1,80 @@ + + + + + + IMSEC function + text/scalc/01/func_imsec.xhp + + + +
+ + + IMSEC function + secant;complex number + + + + IMSEC + function + + + + + Returns the secant of a complex number. The secant of a complex number "a+bi" can be expressed by: + + + +
+ + + + sec(a+bi)=1/cos(a+bi) + + + + + + + IMSEC(Complex_number) + + + whose secant needs to be calculated. + + +
+ +
+ +
+ +
+ + + + =("4-3i") + + returns -0.0652940278579471+0.0752249603027732i. + + + + =(2) + + returns -2.40299796172238 as a string. + +
+ + , + , + + +
+ +
diff --git a/source/text/scalc/01/func_imsech.xhp b/source/text/scalc/01/func_imsech.xhp new file mode 100644 index 0000000000..66aa95d348 --- /dev/null +++ b/source/text/scalc/01/func_imsech.xhp @@ -0,0 +1,80 @@ + + + + + + IMSECH function + text/scalc/01/func_imsech.xhp + + + +
+ + + IMSECH function + hyperbolic secant;complex number + + + + IMSECH + function + + + + + Returns the hyperbolic secant of a complex number. The hyperbolic secant of a complex number "a+bi" can be expressed by: + + + +
+ + + + sech(a+bi)=1/cosh(a+bi) + + + + + + + IMSECH(Complex_number) + + + whose hyperbolic secant needs to be calculated. + + +
+ +
+ +
+ +
+ + + + =("4-3i") + + returns -0.0362534969158689+0.00516434460775318i. + + + + =(2) + + returns 0.26580222883408 as a string. + +
+ + , + , + + +
+ +
diff --git a/source/text/scalc/01/func_imsin.xhp b/source/text/scalc/01/func_imsin.xhp new file mode 100644 index 0000000000..e204822d3b --- /dev/null +++ b/source/text/scalc/01/func_imsin.xhp @@ -0,0 +1,76 @@ + + + + + + IMSIN function + text/scalc/01/func_imsin.xhp + + + +
+ + + IMSIN function + sine;complex number + + + + IMSIN + function + + + + + Returns the sine of a complex number. The sine of a complex number "a+bi" can be expressed by: + + + +
+ + sin(a+bi)=sin(a)cosh(b)+cos(a)sinh(b)i + + + + + IMSIN(Complex_number) + + + whose sine needs to be calculated. + + +
+ +
+ +
+ +
+ + + + =("4-3i") + + returns -7.61923172032141+6.548120040911i. + + + + =(2) + + returns 0.909297426825682 as a string. + +
+ + , + , + + +
+ +
diff --git a/source/text/scalc/01/func_imsinh.xhp b/source/text/scalc/01/func_imsinh.xhp new file mode 100644 index 0000000000..56b4b8b668 --- /dev/null +++ b/source/text/scalc/01/func_imsinh.xhp @@ -0,0 +1,77 @@ + + + + + + IMSINH function + text/scalc/01/func_imsinh.xhp + + + +
+ + + IMSINH function + hyperbolic sine;complex number + + + + IMSINH + function + + + + + Returns the hyperbolic sine of a complex number. The hyperbolic sine of a complex number is calculated by the following rule: + + + +
+ + + sinh(a+bi)=sinh(a)cos(b)+cosh(a)sin(b)i + + + + + IMSINH(Complex_number) + + + whose hyperbolic sine needs to be calculated. + + +
+ +
+ +
+ +
+ + + + =("4-3i") + + returns -27.0168132580039-3.85373803791938i. + + + + =(2) + + returns 3.62686040784702 as a string. + +
+ + , + , + + +
+ +
diff --git a/source/text/scalc/01/func_imtan.xhp b/source/text/scalc/01/func_imtan.xhp new file mode 100644 index 0000000000..42b42ce0e2 --- /dev/null +++ b/source/text/scalc/01/func_imtan.xhp @@ -0,0 +1,78 @@ + + + + + + IMTAN function + text/scalc/01/func_imtan.xhp + + + +
+ + + IMTAN function + tangent;complex number + + + + IMTAN + function + + + + + Returns the tangent of a complex number. The tangent of a complex number "a+bi" can be expressed by: + + + +
+ + + + tan(a+bi)=sin(a+bi)/cos(a+bi) + + + + + + + IMTAN(Complex_number) + + + whose tangent is to be calculated. + + +
+ +
+ +
+ +
+ + + + =("4-3i") + + returns 0.00490825806749606-1.00070953606723i. + + + + =(2) + + returns -2.18503986326152 as a string. + +
+ + + +
+ +
\ No newline at end of file -- cgit