Warning, /office/calligra/sheets/functions/trig.xml is written in an unsupported language. File is not indexed.
0001 <!DOCTYPE KSpreadFunctions> 0002 <KSpreadFunctions> 0003 <Group> 0004 <GroupName>Trigonometric</GroupName> 0005 0006 <Function> 0007 <Name>COS</Name> 0008 <Type>Float</Type> 0009 <Parameter> 0010 <Comment>Angle (radians)</Comment> 0011 <Type>Float</Type> 0012 </Parameter> 0013 <Help> 0014 <Text>The COS() function returns the cosine of x, where x is given in radians.</Text> 0015 <Syntax>COS(Float)</Syntax> 0016 <Example>COS(0) equals 1.0</Example> 0017 <Example>COS(PI()/2) equals 0</Example> 0018 <Related>SIN</Related> 0019 <Related>ACOS</Related> 0020 </Help> 0021 </Function> 0022 0023 <Function> 0024 <Name>ACOT</Name> 0025 <Type>Float</Type> 0026 <Parameter> 0027 <Comment>Angle (radians)</Comment> 0028 <Type>Float</Type> 0029 </Parameter> 0030 <Help> 0031 <Text>The ACOT() function returns the inverse cotangent of a number.</Text> 0032 <Syntax>ACOT(Float)</Syntax> 0033 <Example>ACOT(0) equals 1.57079633</Example> 0034 </Help> 0035 </Function> 0036 0037 0038 <Function> 0039 <Name>SIN</Name> 0040 <Type>Float</Type> 0041 <Parameter> 0042 <Comment>Angle (radians)</Comment> 0043 <Type>Float</Type> 0044 </Parameter> 0045 <Help> 0046 <Text>The SIN() function returns the sine of x, where x is given in radians.</Text> 0047 <Syntax>SIN(Float)</Syntax> 0048 <Example>SIN(0) equals 0</Example> 0049 <Example>SIN(PI()/2) equals 1</Example> 0050 <Related>COS</Related> 0051 <Related>ASIN</Related> 0052 </Help> 0053 </Function> 0054 0055 <Function> 0056 <Name>TAN</Name> 0057 <Type>Float</Type> 0058 <Parameter> 0059 <Comment>Angle (radians)</Comment> 0060 <Type>Float</Type> 0061 </Parameter> 0062 <Help> 0063 <Text>The TAN() function returns the tangent of x, where x is given in radians.</Text> 0064 <Syntax>TAN(Float)</Syntax> 0065 <Example>TAN(0.7) equals 0.84228838</Example> 0066 <Example>TAN(0) equals 0</Example> 0067 <Related>ATAN</Related> 0068 </Help> 0069 </Function> 0070 0071 <Function> 0072 <Name>ACOS</Name> 0073 <Type>Float</Type> 0074 <Parameter> 0075 <Comment>Angle (radians)</Comment> 0076 <Type>Float</Type> 0077 </Parameter> 0078 <Help> 0079 <Text>The ACOS() function returns the arc cosine in radians and the value is mathematically defined to be 0 to PI (inclusive).</Text> 0080 <Syntax>ACOS(Float)</Syntax> 0081 <Example>ACOS(0.8) equals 0.6435011</Example> 0082 <Example>ACOS(0) equals 1.57079633</Example> 0083 <Related>COS</Related> 0084 </Help> 0085 </Function> 0086 0087 <Function> 0088 <Name>ASIN</Name> 0089 <Type>Float</Type> 0090 <Parameter> 0091 <Comment>Angle (radians)</Comment> 0092 <Type>Float</Type> 0093 </Parameter> 0094 <Help> 0095 <Text>The ASIN() function returns the arc sine in radians and the value is mathematically defined to be -PI/2 to PI/2 (inclusive).</Text> 0096 <Syntax>ASIN(Float)</Syntax> 0097 <Example>ASIN(0.8) equals 0.92729522</Example> 0098 <Example>ASIN(0) equals 0</Example> 0099 <Related>SIN</Related> 0100 </Help> 0101 </Function> 0102 0103 <Function> 0104 <Name>ATAN</Name> 0105 <Type>Float</Type> 0106 <Parameter> 0107 <Comment>Angle (radians)</Comment> 0108 <Type>Float</Type> 0109 </Parameter> 0110 <Help> 0111 <Text>The ATAN() function returns the arc tangent in radians and the value is mathematically defined to be -PI/2 to PI/2 (inclusive).</Text> 0112 <Syntax>ATAN(Float)</Syntax> 0113 <Example>ATAN(0.8) equals 0.67474094</Example> 0114 <Example>ATAN(0) equals 0</Example> 0115 <Related>TAN</Related> 0116 <Related>ATAN2</Related> 0117 </Help> 0118 </Function> 0119 0120 <Function> 0121 <Name>COSH</Name> 0122 <Type>Float</Type> 0123 <Parameter> 0124 <Comment>Angle (radians)</Comment> 0125 <Type>Float</Type> 0126 </Parameter> 0127 <Help> 0128 <Text>The COSH() function returns the hyperbolic cosine of x, which is defined mathematically as (exp(x) + exp(-x)) / 2.</Text> 0129 <Syntax>COSH(Float)</Syntax> 0130 <Example>COSH(0.8) equals 1.33743495</Example> 0131 <Example>COSH(0) equals 1</Example> 0132 <Related>ACOSH</Related> 0133 </Help> 0134 </Function> 0135 0136 <Function> 0137 <Name>SINH</Name> 0138 <Type>Float</Type> 0139 <Parameter> 0140 <Comment>Angle (radians)</Comment> 0141 <Type>Float</Type> 0142 </Parameter> 0143 <Help> 0144 <Text>The SINH() function returns the hyperbolic sine of x, which is defined mathematically as (exp(x) - exp(-x)) / 2.</Text> 0145 <Syntax>SINH(Float)</Syntax> 0146 <Example>SINH(0.8) equals 0.88810598</Example> 0147 <Example>SINH(0) equals 0</Example> 0148 <Related>ASINH</Related> 0149 </Help> 0150 </Function> 0151 0152 <Function> 0153 <Name>TANH</Name> 0154 <Type>Float</Type> 0155 <Parameter> 0156 <Comment>Angle (radians)</Comment> 0157 <Type>Float</Type> 0158 </Parameter> 0159 <Help> 0160 <Text>The TANH() function returns the hyperbolic tangent of x, which is defined mathematically as sinh(x)/cosh(x).</Text> 0161 <Syntax>TANH(Float)</Syntax> 0162 <Example>TANH(0.8) equals 0.66403677</Example> 0163 <Example>TANH(0) equals 0</Example> 0164 <Related>ATANH</Related> 0165 </Help> 0166 </Function> 0167 0168 <Function> 0169 <Name>ACOSH</Name> 0170 <Type>Float</Type> 0171 <Parameter> 0172 <Comment>Angle (radians)</Comment> 0173 <Type>Float</Type> 0174 </Parameter> 0175 <Help> 0176 <Text>The ACOSH() function calculates the inverse hyperbolic cosine of x. That is the value whose hyperbolic cosine is x. If x is less than 1.0, acosh() returns not-a-number (NaN) and errno is set.</Text> 0177 <Syntax>ACOSH(Float)</Syntax> 0178 <Example>ACOSH(5) equals 2.29243167</Example> 0179 <Example>ACOSH(0) equals NaN</Example> 0180 <Related>COSH</Related> 0181 </Help> 0182 </Function> 0183 0184 <Function> 0185 <Name>ASINH</Name> 0186 <Type>Float</Type> 0187 <Parameter> 0188 <Comment>Angle (radians)</Comment> 0189 <Type>Float</Type> 0190 </Parameter> 0191 <Help> 0192 <Text>The ASINH() function calculates the inverse hyperbolic sine of x; that is the value whose hyperbolic sine is x.</Text> 0193 <Syntax>ASINH(Float)</Syntax> 0194 <Example>ASINH(0.8) equals 0.73266826</Example> 0195 <Example>ASINH(0) equals 0</Example> 0196 <Related>SINH</Related> 0197 </Help> 0198 </Function> 0199 0200 <Function> 0201 <Name>ATANH</Name> 0202 <Type>Float</Type> 0203 <Parameter> 0204 <Comment>Angle (radians)</Comment> 0205 <Type>Float</Type> 0206 </Parameter> 0207 <Help> 0208 <Text>The ATANH() function calculates the inverse hyperbolic tangent of x; that is the value whose hyperbolic tangent is x. If the absolute value of x is greater than 1.0, ATANH() returns not-a-number (NaN).</Text> 0209 <Syntax>ATANH(Float)</Syntax> 0210 <Example>ATANH(0.8) equals 1.09861229</Example> 0211 <Example>ATANH(0) equals 0</Example> 0212 <Related>TANH</Related> 0213 </Help> 0214 </Function> 0215 0216 <Function> 0217 <Name>ATAN2</Name> 0218 <Type>Float</Type> 0219 <Parameter> 0220 <Comment>Angle (radians)</Comment> 0221 <Type>Float</Type> 0222 </Parameter> 0223 <Parameter> 0224 <Comment>Angle (radians)</Comment> 0225 <Type>Float</Type> 0226 </Parameter> 0227 <Help> 0228 <Text>This function calculates the arc tangent of the two variables x and y. It is similar to calculating the arc tangent of y/x, except that the signs of both arguments are used to determine the quadrant of the result.</Text> 0229 <Syntax>ATAN2(value;value)</Syntax> 0230 <Example>ATAN2(0.5;1.0) equals 1.107149</Example> 0231 <Example>ATAN2(-0.5;2.0) equals 1.815775</Example> 0232 <Related>ATAN</Related> 0233 </Help> 0234 </Function> 0235 0236 <Function> 0237 <Name>DEGREES</Name> 0238 <Type>Float</Type> 0239 <Parameter> 0240 <Comment>Angle (radians)</Comment> 0241 <Type>Float</Type> 0242 </Parameter> 0243 <Help> 0244 <Text>This function transforms a radian angle to a degree angle.</Text> 0245 <Syntax>DEGREES(Float)</Syntax> 0246 <Example>DEGREES(0.78) equals 44.69</Example> 0247 <Example>DEGREES(1) equals 57.29</Example> 0248 <Related>RADIANS</Related> 0249 </Help> 0250 </Function> 0251 0252 <Function> 0253 <Name>RADIANS</Name> 0254 <Type>Float</Type> 0255 <Parameter> 0256 <Comment>Angle (degrees)</Comment> 0257 <Type>Float</Type> 0258 </Parameter> 0259 <Help> 0260 <Text>This function transforms a degree angle to a radian angle.</Text> 0261 <Syntax>RADIANS(Float)</Syntax> 0262 <Example>RADIANS(75) equals 1.308</Example> 0263 <Example>RADIANS(90) equals 1.5707</Example> 0264 <Related>DEGREES</Related> 0265 </Help> 0266 </Function> 0267 0268 <Function> 0269 <Name>PI</Name> 0270 <Type>Float</Type> 0271 <Help> 0272 <Text>The PI() function returns the value of PI.</Text> 0273 <Syntax>PI()</Syntax> 0274 <Example>PI() equals 3.141592654...</Example> 0275 </Help> 0276 </Function> 0277 0278 <Function> 0279 <Name>CSC</Name> 0280 <Type>Float</Type> 0281 <Parameter> 0282 <Comment>Angle (radians)</Comment> 0283 <Type>Float</Type> 0284 </Parameter> 0285 <Help> 0286 <Text>The CSC() function returns the cosecant of x, where x is given in radians.</Text> 0287 <Syntax>CSC(Float)</Syntax> 0288 <Example>CSC(PI()/2) equals 1</Example> 0289 </Help> 0290 </Function> 0291 0292 <Function> 0293 <Name>CSCH</Name> 0294 <Type>Float</Type> 0295 <Parameter> 0296 <Comment>Angle (radians)</Comment> 0297 <Type>Float</Type> 0298 </Parameter> 0299 <Help> 0300 <Text>The CSCH() function returns the hyperbolic cosecant of x, where x is given in radians.</Text> 0301 <Syntax>CSCH(Float)</Syntax> 0302 <Example>CSCH(PI()/2) equals 0.434537208...</Example> 0303 </Help> 0304 </Function> 0305 0306 <Function> 0307 <Name>SEC</Name> 0308 <Type>Float</Type> 0309 <Parameter> 0310 <Comment>Angle (radians)</Comment> 0311 <Type>Float</Type> 0312 </Parameter> 0313 <Help> 0314 <Text>The SEC() function returns the secant of x, where x is given in radians.</Text> 0315 <Syntax>SEC(Float)</Syntax> 0316 <Example>SEC(0) equals 1</Example> 0317 </Help> 0318 </Function> 0319 0320 <Function> 0321 <Name>SECH</Name> 0322 <Type>Float</Type> 0323 <Parameter> 0324 <Comment>Angle (radians)</Comment> 0325 <Type>Float</Type> 0326 </Parameter> 0327 <Help> 0328 <Text>The SECH() function returns the hyperbolic secant of x, where x is given in radians.</Text> 0329 <Syntax>SECH(Float)</Syntax> 0330 <Example>SECH(0) equals 1</Example> 0331 </Help> 0332 </Function> 0333 0334 </Group> 0335 0336 </KSpreadFunctions>