1<?xml version="1.0" encoding="UTF-8"?> 2<helpdocument version="1.0"> 3 4<!--*********************************************************** 5 * 6 * Licensed to the Apache Software Foundation (ASF) under one 7 * or more contributor license agreements. See the NOTICE file 8 * distributed with this work for additional information 9 * regarding copyright ownership. The ASF licenses this file 10 * to you under the Apache License, Version 2.0 (the 11 * "License"); you may not use this file except in compliance 12 * with the License. You may obtain a copy of the License at 13 * 14 * http://www.apache.org/licenses/LICENSE-2.0 15 * 16 * Unless required by applicable law or agreed to in writing, 17 * software distributed under the License is distributed on an 18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19 * KIND, either express or implied. See the License for the 20 * specific language governing permissions and limitations 21 * under the License. 22 * 23 ***********************************************************--> 24 25 26 27 28<meta> 29 <topic id="textscalc0104060116xml" indexer="include"> 30 <title xml-lang="en-US" id="tit">Add-in Functions, List of Analysis Functions Part Two</title> 31 <filename>/text/scalc/01/04060116.xhp</filename> 32 </topic> 33 </meta> 34 <body> 35<bookmark xml-lang="en-US" branch="index" id="bm_id3145074"><bookmark_value>imaginary numbers in analysis functions</bookmark_value> 36 <bookmark_value>complex numbers in analysis functions</bookmark_value> 37</bookmark> 38<paragraph xml-lang="en-US" id="hd_id3154659" role="heading" level="1" l10n="U" oldref="1">Add-in Functions, List of Analysis Functions Part Two</paragraph> 39 <section id="howtoget"> 40 <embed href="text/scalc/00/00000404.xhp#addinana"/> 41 </section> 42 <section id="relatedtopics"> 43 <paragraph xml-lang="en-US" id="par_id3151242" role="paragraph" l10n="U" oldref="174"><link href="text/scalc/01/04060108.xhp" name="Category Statistics">Category Statistics</link></paragraph> 44 <paragraph xml-lang="en-US" id="par_id3148869" role="paragraph" l10n="U" oldref="5"><link href="text/scalc/01/04060115.xhp" name="Analysis Functions Part One">Analysis Functions Part One</link></paragraph> 45 <paragraph xml-lang="en-US" id="par_id3147072" role="paragraph" l10n="U" oldref="240"><link href="text/scalc/01/04060111.xhp" name="Back to the Overview">Back to the Overview</link></paragraph> 46 </section> 47<sort> 48<section id="imabs"> 49 <paragraph xml-lang="en-US" id="par_id3145074" role="paragraph" l10n="E" oldref="166" 50 localize="false"/> 51<bookmark xml-lang="en-US" branch="index" id="bm_id3154959"><bookmark_value>IMABS function</bookmark_value> 52</bookmark> 53<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMABS" id="bm_id3154541" localize="false"/> 54<paragraph xml-lang="en-US" id="hd_id3154959" role="heading" level="2" oldref="44">IMABS</paragraph> 55 <paragraph xml-lang="en-US" id="par_id3149895" role="paragraph" l10n="U" oldref="45"><ahelp hid="HID_AAI_FUNC_IMABS">The result is the absolute value of a complex number.</ahelp></paragraph> 56 <paragraph xml-lang="en-US" id="hd_id3155382" role="heading" level="3" l10n="U" 57 oldref="46">Syntax</paragraph> 58 <paragraph xml-lang="en-US" id="par_id3151302" role="code" l10n="U" oldref="47">IMABS("ComplexNumber")</paragraph> 59 <paragraph xml-lang="en-US" id="par_id3153974" role="paragraph" l10n="CHG" oldref="48"><variable id="complex"><emph>ComplexNumber</emph> is a complex number that is entered in the form "x+yi" or "x+yj". 60</variable><comment>no blanks allowed, see i82522</comment></paragraph> 61 <paragraph xml-lang="en-US" id="hd_id3149697" role="heading" level="3" l10n="U" 62 oldref="49">Example</paragraph> 63 <paragraph xml-lang="en-US" id="par_id3143222" role="paragraph" l10n="U" oldref="50"> 64 <item type="input">=IMABS("5+12j")</item> returns 13.</paragraph> 65 </section> 66 <section id="imaginary"> 67<bookmark xml-lang="en-US" branch="index" id="bm_id3145357"><bookmark_value>IMAGINARY function</bookmark_value> 68</bookmark> 69<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMAGINARY" id="bm_id3154651" localize="false"/> 70<paragraph xml-lang="en-US" id="hd_id3145357" role="heading" level="2" oldref="51">IMAGINARY</paragraph> 71 <paragraph xml-lang="en-US" id="par_id3146965" role="paragraph" l10n="U" oldref="52"><ahelp hid="HID_AAI_FUNC_IMAGINARY">The result is the imaginary coefficient of a complex number.</ahelp></paragraph> 72 <paragraph xml-lang="en-US" id="hd_id3153555" role="heading" level="3" l10n="U" 73 oldref="53">Syntax</paragraph> 74 <paragraph xml-lang="en-US" id="par_id3155522" role="code" l10n="U" oldref="54">IMAGINARY("ComplexNumber")</paragraph> 75 <embed href="text/scalc/01/04060116.xhp#complex"/> 76 <paragraph xml-lang="en-US" id="hd_id3151193" role="heading" level="3" l10n="U" 77 oldref="56">Example</paragraph> 78 <paragraph xml-lang="en-US" id="par_id3155592" role="paragraph" l10n="U" oldref="57"> 79 <item type="input">=IMAGINARY("4+3j")</item> returns 3.</paragraph> 80 </section> 81 <section id="impower"> 82<bookmark xml-lang="en-US" branch="index" id="bm_id3146106"><bookmark_value>IMPOWER function</bookmark_value> 83</bookmark> 84<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMPOWER" id="bm_id3155755" localize="false"/> 85<paragraph xml-lang="en-US" id="hd_id3146106" role="heading" level="2" oldref="58">IMPOWER</paragraph> 86 <paragraph xml-lang="en-US" id="par_id3147245" role="paragraph" l10n="U" oldref="59"><ahelp hid="HID_AAI_FUNC_IMPOWER">The result is the integer power of a complex number.</ahelp></paragraph> 87 <paragraph xml-lang="en-US" id="hd_id3150954" role="heading" level="3" l10n="U" 88 oldref="60">Syntax</paragraph> 89 <paragraph xml-lang="en-US" id="par_id3147501" role="code" l10n="U" oldref="61">IMPOWER("ComplexNumber"; Number)</paragraph> 90 <embed href="text/scalc/01/04060116.xhp#complex"/> 91 <paragraph xml-lang="en-US" id="par_id3155743" role="paragraph" l10n="U" oldref="63"> 92 <emph>Number</emph> is the exponent.</paragraph> 93 <paragraph xml-lang="en-US" id="hd_id3149048" role="heading" level="3" l10n="U" 94 oldref="64">Example</paragraph> 95 <paragraph xml-lang="en-US" id="par_id3151393" role="paragraph" l10n="U" oldref="65"> 96 <item type="input">=IMPOWER("2+3i";2)</item> returns -5+12i.</paragraph> 97 </section> 98 <section id="imargument"> 99<bookmark xml-lang="en-US" branch="index" id="bm_id3148748"><bookmark_value>IMARGUMENT function</bookmark_value> 100</bookmark> 101<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMARGUMENT" id="bm_id3147297" localize="false"/> 102<paragraph xml-lang="en-US" id="hd_id3148748" role="heading" level="2" oldref="66">IMARGUMENT</paragraph> 103 <paragraph xml-lang="en-US" id="par_id3151341" role="paragraph" l10n="U" oldref="67"><ahelp hid="HID_AAI_FUNC_IMARGUMENT">The result is the argument (the phi angle) of a complex number.</ahelp></paragraph> 104 <paragraph xml-lang="en-US" id="hd_id3150533" role="heading" level="3" l10n="U" 105 oldref="68">Syntax</paragraph> 106 <paragraph xml-lang="en-US" id="par_id3156402" role="code" l10n="U" oldref="69">IMARGUMENT("ComplexNumber")</paragraph> 107 <embed href="text/scalc/01/04060116.xhp#complex"/> 108 <paragraph xml-lang="en-US" id="hd_id3153019" role="heading" level="3" l10n="U" 109 oldref="71">Example</paragraph> 110 <paragraph xml-lang="en-US" id="par_id3159125" role="paragraph" l10n="U" oldref="72"> 111 <item type="input">=IMARGUMENT("3+4j")</item> returns 0.927295.</paragraph> 112 </section> 113 <section id="imcos"> 114<bookmark xml-lang="en-US" branch="index" id="bm_id3149146"><bookmark_value>IMCOS function</bookmark_value> 115</bookmark> 116<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMCOS" id="bm_id3150378" localize="false"/> 117<paragraph xml-lang="en-US" id="hd_id3149146" role="heading" level="2" oldref="73">IMCOS</paragraph> 118 <paragraph xml-lang="en-US" id="par_id3149725" role="paragraph" l10n="U" oldref="74"><ahelp hid="HID_AAI_FUNC_IMCOS">The result is the cosine of a complex number.</ahelp></paragraph> 119 <paragraph xml-lang="en-US" id="hd_id3159116" role="heading" level="3" l10n="U" 120 oldref="75">Syntax</paragraph> 121 <paragraph xml-lang="en-US" id="par_id3147415" role="code" l10n="U" oldref="76">IMCOS("ComplexNumber")</paragraph> 122 <embed href="text/scalc/01/04060116.xhp#complex"/> 123 <paragraph xml-lang="en-US" id="hd_id3152980" role="heading" level="3" l10n="U" 124 oldref="78">Example</paragraph> 125 <paragraph xml-lang="en-US" id="par_id3157901" role="paragraph" l10n="U" oldref="79"> 126 <item type="input">=IMCOS("3+4j") </item>returns -27.03-3.85i (rounded).</paragraph> 127 </section> 128 <section id="imdiv"> 129<bookmark xml-lang="en-US" branch="index" id="bm_id3150024"><bookmark_value>IMDIV function</bookmark_value> 130</bookmark> 131<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMDIV" id="bm_id3154679" localize="false"/> 132<paragraph xml-lang="en-US" id="hd_id3150024" role="heading" level="2" oldref="80">IMDIV</paragraph> 133 <paragraph xml-lang="en-US" id="par_id3145825" role="paragraph" l10n="U" oldref="81"><ahelp hid="HID_AAI_FUNC_IMDIV">The result is the division of two complex numbers.</ahelp></paragraph> 134 <paragraph xml-lang="en-US" id="hd_id3150465" role="heading" level="3" l10n="U" 135 oldref="82">Syntax</paragraph> 136 <paragraph xml-lang="en-US" id="par_id3146942" role="code" l10n="U" oldref="83">IMDIV("Numerator"; "Denominator")</paragraph> 137 <paragraph xml-lang="en-US" id="par_id3150741" role="paragraph" l10n="CHG" oldref="84"> 138 <emph>Numerator</emph>, <emph>Denominator</emph> are complex numbers that are entered in the form "x+yi" or "x+yj".</paragraph> 139 <paragraph xml-lang="en-US" id="hd_id3151229" role="heading" level="3" l10n="U" 140 oldref="85">Example</paragraph> 141 <paragraph xml-lang="en-US" id="par_id3148440" role="paragraph" l10n="U" oldref="86"> 142 <item type="input">=IMDIV("-238+240i";"10+24i")</item> returns 5+12i.</paragraph> 143 </section> 144 <section id="imexp"> 145<bookmark xml-lang="en-US" branch="index" id="bm_id3153039"><bookmark_value>IMEXP function</bookmark_value> 146</bookmark> 147<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMEXP" id="bm_id3147468" localize="false"/> 148<paragraph xml-lang="en-US" id="hd_id3153039" role="heading" level="2" oldref="87">IMEXP</paragraph> 149 <paragraph xml-lang="en-US" id="par_id3144741" role="paragraph" l10n="CHG" oldref="88"><ahelp hid="HID_AAI_FUNC_IMEXP">The result is the power of e and the complex number.</ahelp> The constant e has a value of approximately 2.71828182845904.</paragraph> 150 <paragraph xml-lang="en-US" id="hd_id3145591" role="heading" level="3" l10n="U" 151 oldref="89">Syntax</paragraph> 152 <paragraph xml-lang="en-US" id="par_id3154810" role="code" l10n="U" oldref="90">IMEXP("ComplexNumber")</paragraph> 153 <embed href="text/scalc/01/04060116.xhp#complex"/> 154 <paragraph xml-lang="en-US" id="hd_id3148581" role="heading" level="3" l10n="U" 155 oldref="92">Example</paragraph> 156 <paragraph xml-lang="en-US" id="par_id3149253" role="paragraph" l10n="U" oldref="93"> 157 <item type="input">=IMEXP("1+j") </item>returns 1.47+2.29j (rounded).</paragraph> 158 </section> 159 <section id="imconjugate"> 160<bookmark xml-lang="en-US" branch="index" id="bm_id3149955"><bookmark_value>IMCONJUGATE function</bookmark_value> 161</bookmark> 162<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMCONJUGATE" id="bm_id3152782" localize="false"/> 163<paragraph xml-lang="en-US" id="hd_id3149955" role="heading" level="2" oldref="94">IMCONJUGATE</paragraph> 164 <paragraph xml-lang="en-US" id="par_id3155263" role="paragraph" l10n="U" oldref="95"><ahelp hid="HID_AAI_FUNC_IMCONJUGATE">The result is the conjugated complex complement to a complex number.</ahelp></paragraph> 165 <paragraph xml-lang="en-US" id="hd_id3148750" role="heading" level="3" l10n="U" 166 oldref="96">Syntax</paragraph> 167 <paragraph xml-lang="en-US" id="par_id3153082" role="code" l10n="U" oldref="97">IMCONJUGATE("ComplexNumber")</paragraph> 168 <embed href="text/scalc/01/04060116.xhp#complex"/> 169 <paragraph xml-lang="en-US" id="hd_id3153326" role="heading" level="3" l10n="U" 170 oldref="99">Example</paragraph> 171 <paragraph xml-lang="en-US" id="par_id3149688" role="paragraph" l10n="U" oldref="100"> 172 <item type="input">=IMCONJUGATE("1+j")</item> returns 1-j.</paragraph> 173 </section> 174 <section id="imln"> 175<bookmark xml-lang="en-US" branch="index" id="bm_id3150898"><bookmark_value>IMLN function</bookmark_value> 176</bookmark> 177<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMLN" id="bm_id3149190" localize="false"/> 178<paragraph xml-lang="en-US" id="hd_id3150898" role="heading" level="2" oldref="101">IMLN</paragraph> 179 <paragraph xml-lang="en-US" id="par_id3146853" role="paragraph" l10n="CHG" oldref="102"><ahelp hid="HID_AAI_FUNC_IMLN">The result is the natural logarithm (to the base e) of a complex number.</ahelp> The constant e has a value of approximately 2.71828182845904.</paragraph> 180 <paragraph xml-lang="en-US" id="hd_id3150008" role="heading" level="3" l10n="U" 181 oldref="103">Syntax</paragraph> 182 <paragraph xml-lang="en-US" id="par_id3155954" role="code" l10n="U" oldref="104">IMLN("ComplexNumber")</paragraph> 183 <embed href="text/scalc/01/04060116.xhp#complex"/> 184 <paragraph xml-lang="en-US" id="hd_id3153565" role="heading" level="3" l10n="U" 185 oldref="106">Example</paragraph> 186 <paragraph xml-lang="en-US" id="par_id3153736" role="paragraph" l10n="U" oldref="107"> 187 <item type="input">=IMLN("1+j")</item> returns 0.35+0.79j (rounded).</paragraph> 188 </section> 189 <section id="imlog10"> 190<bookmark xml-lang="en-US" branch="index" id="bm_id3155929"><bookmark_value>IMLOG10 function</bookmark_value> 191</bookmark> 192<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMLOG10" id="bm_id3148765" localize="false"/> 193<paragraph xml-lang="en-US" id="hd_id3155929" role="heading" level="2" oldref="108">IMLOG10</paragraph> 194 <paragraph xml-lang="en-US" id="par_id3149882" role="paragraph" l10n="CHG" oldref="109"><ahelp hid="HID_AAI_FUNC_IMLOG10">The result is the common logarithm (to the base 10) of a complex number.</ahelp></paragraph> 195 <paragraph xml-lang="en-US" id="hd_id3154327" role="heading" level="3" l10n="U" 196 oldref="110">Syntax</paragraph> 197 <paragraph xml-lang="en-US" id="par_id3150128" role="code" l10n="U" oldref="111">IMLOG10("ComplexNumber")</paragraph> 198 <embed href="text/scalc/01/04060116.xhp#complex"/> 199 <paragraph xml-lang="en-US" id="hd_id3149003" role="heading" level="3" l10n="U" 200 oldref="113">Example</paragraph> 201 <paragraph xml-lang="en-US" id="par_id3151021" role="paragraph" l10n="U" oldref="114"> 202 <item type="input">=IMLOG10("1+j")</item> returns 0.15+0.34j (rounded).</paragraph> 203 </section> 204 <section id="imlog2"> 205<bookmark xml-lang="en-US" branch="index" id="bm_id3155623"><bookmark_value>IMLOG2 function</bookmark_value> 206</bookmark> 207<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMLOG2" id="bm_id3157975" localize="false"/> 208<paragraph xml-lang="en-US" id="hd_id3155623" role="heading" level="2" oldref="115">IMLOG2</paragraph> 209 <paragraph xml-lang="en-US" id="par_id3150932" role="paragraph" l10n="U" oldref="116"><ahelp hid="HID_AAI_FUNC_IMLOG2">The result is the binary logarithm of a complex number.</ahelp></paragraph> 210 <paragraph xml-lang="en-US" id="hd_id3153046" role="heading" level="3" l10n="U" 211 oldref="117">Syntax</paragraph> 212 <paragraph xml-lang="en-US" id="par_id3145355" role="code" l10n="U" oldref="118">IMLOG2("ComplexNumber")</paragraph> 213 <embed href="text/scalc/01/04060116.xhp#complex"/> 214 <paragraph xml-lang="en-US" id="hd_id3148768" role="heading" level="3" l10n="U" 215 oldref="120">Example</paragraph> 216 <paragraph xml-lang="en-US" id="par_id3149536" role="paragraph" l10n="U" oldref="121"> 217 <item type="input">=IMLOG2("1+j")</item> returns 0.50+1.13j (rounded).</paragraph> 218 </section> 219 <section id="improduct"> 220<bookmark xml-lang="en-US" branch="index" id="bm_id3145626"><bookmark_value>IMPRODUCT function</bookmark_value> 221</bookmark> 222<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMPRODUCT" id="bm_id3150661" localize="false"/> 223<paragraph xml-lang="en-US" id="hd_id3145626" role="heading" level="2" oldref="122">IMPRODUCT</paragraph> 224 <paragraph xml-lang="en-US" id="par_id3153545" role="paragraph" l10n="U" oldref="123"><ahelp hid="HID_AAI_FUNC_IMPRODUCT">The result is the product of up to 29 complex numbers.</ahelp></paragraph> 225 <paragraph xml-lang="en-US" id="hd_id3149388" role="heading" level="3" l10n="U" 226 oldref="124">Syntax</paragraph> 227 <paragraph xml-lang="en-US" id="par_id3149027" role="code" l10n="U" oldref="125">IMPRODUCT("ComplexNumber"; "ComplexNumber1"; ...)</paragraph> 228 <embed href="text/scalc/01/04060116.xhp#complex"/> 229 <paragraph xml-lang="en-US" id="hd_id3153228" role="heading" level="3" l10n="U" 230 oldref="127">Example</paragraph> 231 <paragraph xml-lang="en-US" id="par_id3155815" role="paragraph" l10n="U" oldref="128"> 232 <item type="input">=IMPRODUCT("3+4j";"5-3j")</item> returns 27+11j.</paragraph> 233 </section> 234 <section id="imreal"> 235<bookmark xml-lang="en-US" branch="index" id="bm_id3147539"><bookmark_value>IMREAL function</bookmark_value> 236</bookmark> 237<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMREAL" id="bm_id3148596" localize="false"/> 238<paragraph xml-lang="en-US" id="hd_id3147539" role="heading" level="2" oldref="129">IMREAL</paragraph> 239 <paragraph xml-lang="en-US" id="par_id3155372" role="paragraph" l10n="U" oldref="130"><ahelp hid="HID_AAI_FUNC_IMREAL">The result is the real coefficient of a complex number.</ahelp></paragraph> 240 <paragraph xml-lang="en-US" id="hd_id3154951" role="heading" level="3" l10n="U" 241 oldref="131">Syntax</paragraph> 242 <paragraph xml-lang="en-US" id="par_id3153927" role="code" l10n="U" oldref="132">IMREAL("ComplexNumber")</paragraph> 243 <embed href="text/scalc/01/04060116.xhp#complex"/> 244 <paragraph xml-lang="en-US" id="hd_id3155409" role="heading" level="3" l10n="U" 245 oldref="134">Example</paragraph> 246 <paragraph xml-lang="en-US" id="par_id3155986" role="paragraph" l10n="U" oldref="135"> 247 <item type="input">=IMREAL("1+3j")</item> returns 1.</paragraph> 248 </section> 249 <section id="imsin"> 250<bookmark xml-lang="en-US" branch="index" id="bm_id3148431"><bookmark_value>IMSIN function</bookmark_value> 251</bookmark> 252<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMSIN" id="bm_id3153716" localize="false"/> 253<paragraph xml-lang="en-US" id="hd_id3148431" role="heading" level="2" oldref="136">IMSIN</paragraph> 254 <paragraph xml-lang="en-US" id="par_id3152591" role="paragraph" l10n="U" oldref="137"><ahelp hid="HID_AAI_FUNC_IMSIN">The result is the sine of a complex number.</ahelp></paragraph> 255 <paragraph xml-lang="en-US" id="hd_id3149822" role="heading" level="3" l10n="U" 256 oldref="138">Syntax</paragraph> 257 <paragraph xml-lang="en-US" id="par_id3150387" role="code" l10n="U" oldref="139">IMSIN("ComplexNumber")</paragraph> 258 <embed href="text/scalc/01/04060116.xhp#complex"/> 259 <paragraph xml-lang="en-US" id="hd_id3150613" role="heading" level="3" l10n="U" 260 oldref="141">Example</paragraph> 261 <paragraph xml-lang="en-US" id="par_id3154310" role="paragraph" l10n="U" oldref="142"> 262 <item type="input">=IMSIN("3+4j")</item> returns 3.85+27.02j (rounded).</paragraph> 263 </section> 264 <section id="imsub"> 265<bookmark xml-lang="en-US" branch="index" id="bm_id3163826"><bookmark_value>IMSUB function</bookmark_value> 266</bookmark> 267<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMSUB" id="bm_id3152481" localize="false"/> 268<paragraph xml-lang="en-US" id="hd_id3163826" role="heading" level="2" oldref="143">IMSUB</paragraph> 269 <paragraph xml-lang="en-US" id="par_id3149277" role="paragraph" l10n="U" oldref="144"><ahelp hid="HID_AAI_FUNC_IMSUB">The result is the subtraction of two complex numbers.</ahelp></paragraph> 270 <paragraph xml-lang="en-US" id="hd_id3149264" role="heading" level="3" l10n="U" 271 oldref="145">Syntax</paragraph> 272 <paragraph xml-lang="en-US" id="par_id3149710" role="code" l10n="U" oldref="146">IMSUB("ComplexNumber1"; "ComplexNumber2")</paragraph> 273 <embed href="text/scalc/01/04060116.xhp#complex"/> 274 <paragraph xml-lang="en-US" id="hd_id3155833" role="heading" level="3" l10n="U" 275 oldref="148">Example</paragraph> 276 <paragraph xml-lang="en-US" id="par_id3150963" role="paragraph" l10n="U" oldref="149"> 277 <item type="input">=IMSUB("13+4j";"5+3j")</item> returns 8+j.</paragraph> 278 </section> 279 <section id="imsum"> 280<bookmark xml-lang="en-US" branch="index" id="bm_id3156312"><bookmark_value>IMSUM function</bookmark_value> 281</bookmark> 282<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMSUM" id="bm_id3149454" localize="false"/> 283<paragraph xml-lang="en-US" id="hd_id3156312" role="heading" level="2" oldref="150">IMSUM</paragraph> 284 <paragraph xml-lang="en-US" id="par_id3153215" role="paragraph" l10n="U" oldref="151"><ahelp hid="HID_AAI_FUNC_IMSUM">The result is the sum of up to 29 complex numbers.</ahelp></paragraph> 285 <paragraph xml-lang="en-US" id="hd_id3156095" role="heading" level="3" l10n="U" 286 oldref="152">Syntax</paragraph> 287 <paragraph xml-lang="en-US" id="par_id3152930" role="code" l10n="U" oldref="153">IMSUM("ComplexNumber1"; "ComplexNumber2"; ...)</paragraph> 288 <embed href="text/scalc/01/04060116.xhp#complex"/> 289 <paragraph xml-lang="en-US" id="hd_id3154640" role="heading" level="3" l10n="U" 290 oldref="155">Example</paragraph> 291 <paragraph xml-lang="en-US" id="par_id3147081" role="paragraph" l10n="U" oldref="156"> 292 <item type="input">=IMSUM("13+4j";"5+3j")</item> returns 18+7j.</paragraph> 293 </section> 294 <section id="imsqrt"> 295<bookmark xml-lang="en-US" branch="index" id="bm_id3147570"><bookmark_value>IMSQRT function</bookmark_value> 296</bookmark> 297<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMSQRT" id="bm_id3151189" localize="false"/> 298<paragraph xml-lang="en-US" id="hd_id3147570" role="heading" level="2" oldref="167">IMSQRT</paragraph> 299 <paragraph xml-lang="en-US" id="par_id3156131" role="paragraph" l10n="U" oldref="168"><ahelp hid="HID_AAI_FUNC_IMSQRT">The result is the square root of a complex number.</ahelp></paragraph> 300 <paragraph xml-lang="en-US" id="hd_id3145202" role="heading" level="3" l10n="U" 301 oldref="169">Syntax</paragraph> 302 <paragraph xml-lang="en-US" id="par_id3150760" role="code" l10n="U" oldref="170">IMSQRT("ComplexNumber")</paragraph> 303 <embed href="text/scalc/01/04060116.xhp#complex"/> 304 <paragraph xml-lang="en-US" id="hd_id3147268" role="heading" level="3" l10n="U" 305 oldref="172">Example</paragraph> 306 <paragraph xml-lang="en-US" id="par_id3152807" role="paragraph" l10n="U" oldref="173"> 307 <item type="input">=IMSQRT("3+4i")</item> returns 2+1i.</paragraph> 308 </section> 309 <section id="complexfunc"> 310<bookmark xml-lang="en-US" branch="index" id="bm_id3154054"><bookmark_value>COMPLEX function</bookmark_value> 311</bookmark> 312<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_COMPLEX" id="bm_id3156116" localize="false"/> 313<paragraph xml-lang="en-US" id="hd_id3154054" role="heading" level="2" oldref="157">COMPLEX</paragraph> 314 <paragraph xml-lang="en-US" id="par_id3156111" role="paragraph" l10n="U" oldref="158"><ahelp hid="HID_AAI_FUNC_COMPLEX">The result is a complex number which is returned from a real coefficient and an imaginary coefficient.</ahelp></paragraph> 315 <paragraph xml-lang="en-US" id="hd_id3154744" role="heading" level="3" l10n="U" 316 oldref="159">Syntax</paragraph> 317 <paragraph xml-lang="en-US" id="par_id3155999" role="code" l10n="U" oldref="160">COMPLEX(RealNum; INum; Suffix)</paragraph> 318 <paragraph xml-lang="en-US" id="par_id3153626" role="paragraph" l10n="U" oldref="161"> 319 <emph>RealNum</emph> is the real coefficient of the complex number.</paragraph> 320 <paragraph xml-lang="en-US" id="par_id3149135" role="paragraph" l10n="U" oldref="162"> 321 <emph>INum</emph> is the imaginary coefficient of the complex number.</paragraph> 322 <paragraph xml-lang="en-US" id="par_id3155849" role="paragraph" l10n="U" oldref="163"> 323 <emph>Suffix</emph> is a list of options, "i" or "j".</paragraph> 324 <paragraph xml-lang="en-US" id="hd_id3145659" role="heading" level="3" l10n="U" 325 oldref="164">Example</paragraph> 326 <paragraph xml-lang="en-US" id="par_id3143229" role="paragraph" l10n="U" oldref="165"> 327 <item type="input">=COMPLEX(3;4;"j")</item> returns 3+4j.</paragraph> 328 </section> 329 <section id="oct2bin"> 330<bookmark xml-lang="en-US" branch="index" id="bm_id3155103"><bookmark_value>OCT2BIN function</bookmark_value> 331 <bookmark_value>converting;octal numbers, into binary numbers</bookmark_value> 332</bookmark><comment>mw added one entry</comment> 333<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_OCT2BIN" id="bm_id3149290" localize="false"/> 334<paragraph xml-lang="en-US" id="hd_id3155103" role="heading" level="2" l10n="E" 335 oldref="217">OCT2BIN</paragraph> 336 <paragraph xml-lang="en-US" id="par_id3146898" role="paragraph" l10n="U" oldref="218"><ahelp hid="HID_AAI_FUNC_OCT2BIN">The result is the binary number for the octal number entered.</ahelp></paragraph> 337 <paragraph xml-lang="en-US" id="hd_id3146088" role="heading" level="3" l10n="U" 338 oldref="219">Syntax</paragraph> 339 <paragraph xml-lang="en-US" id="par_id3154303" role="code" l10n="U" oldref="220">OCT2BIN(Number; Places)</paragraph> 340 <paragraph xml-lang="en-US" id="par_id3156013" role="paragraph" l10n="U" oldref="221"> 341 <emph>Number</emph> is the octal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.</paragraph> 342 <paragraph xml-lang="en-US" id="par_id3153984" role="paragraph" l10n="U" oldref="222"> 343 <emph>Places</emph> is the number of places to be output.</paragraph> 344 <paragraph xml-lang="en-US" id="hd_id3147493" role="heading" level="3" l10n="U" 345 oldref="223">Example</paragraph> 346 <paragraph xml-lang="en-US" id="par_id3147260" role="paragraph" l10n="U" oldref="224"> 347 <item type="input">=OCT2BIN(3;3)</item> returns 011.</paragraph> 348 </section> 349 <section id="oct2dec"> 350<bookmark xml-lang="en-US" branch="index" id="bm_id3152791"><bookmark_value>OCT2DEC function</bookmark_value> 351 <bookmark_value>converting;octal numbers, into decimal numbers</bookmark_value> 352</bookmark><comment>mw added one entry</comment> 353<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_OCT2DEZ" id="bm_id3151168" localize="false"/> 354<paragraph xml-lang="en-US" id="hd_id3152791" role="heading" level="2" oldref="225">OCT2DEC</paragraph> 355 <paragraph xml-lang="en-US" id="par_id3149199" role="paragraph" l10n="U" oldref="226"><ahelp hid="HID_AAI_FUNC_OCT2DEZ">The result is the decimal number for the octal number entered.</ahelp></paragraph> 356 <paragraph xml-lang="en-US" id="hd_id3159337" role="heading" level="3" l10n="U" 357 oldref="227">Syntax</paragraph> 358 <paragraph xml-lang="en-US" id="par_id3153902" role="code" l10n="U" oldref="228">OCT2DEC(Number)</paragraph> 359 <paragraph xml-lang="en-US" id="par_id3155326" role="paragraph" l10n="U" oldref="229"> 360 <emph>Number</emph> is the octal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.</paragraph> 361 <paragraph xml-lang="en-US" id="hd_id3154698" role="heading" level="3" l10n="U" 362 oldref="230">Example</paragraph> 363 <paragraph xml-lang="en-US" id="par_id3154930" role="paragraph" l10n="U" oldref="231"> 364 <item type="input">=OCT2DEC(144)</item> returns 100.</paragraph> 365 </section> 366 <section id="oct2hex"> 367<bookmark xml-lang="en-US" branch="index" id="bm_id3155391"><bookmark_value>OCT2HEX function</bookmark_value> 368 <bookmark_value>converting;octal numbers, into hexadecimal numbers</bookmark_value> 369</bookmark><comment>mw added one entry</comment> 370<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_OCT2HEX" id="bm_id3149904" localize="false"/> 371<paragraph xml-lang="en-US" id="hd_id3155391" role="heading" level="2" oldref="232">OCT2HEX</paragraph> 372 <paragraph xml-lang="en-US" id="par_id3148831" role="paragraph" l10n="U" oldref="233"><ahelp hid="HID_AAI_FUNC_OCT2HEX"> The result is the hexadecimal number for the octal number entered.</ahelp></paragraph> 373 <paragraph xml-lang="en-US" id="hd_id3146988" role="heading" level="3" l10n="U" 374 oldref="234">Syntax</paragraph> 375 <paragraph xml-lang="en-US" id="par_id3150523" role="code" l10n="U" oldref="235">OCT2HEX(Number; Places)</paragraph> 376 <paragraph xml-lang="en-US" id="par_id3159162" role="paragraph" l10n="U" oldref="236"> 377 <emph>Number</emph> is the octal number. The number can have a maximum of 10 places. The most significant bit is the sign bit, the following bits return the value. Negative numbers are entered as two's complement.</paragraph> 378 <paragraph xml-lang="en-US" id="par_id3145420" role="paragraph" l10n="U" oldref="237"> 379 <emph>Places</emph> is the number of places to be output.</paragraph> 380 <paragraph xml-lang="en-US" id="hd_id3150504" role="heading" level="3" l10n="U" 381 oldref="238">Example</paragraph> 382 <paragraph xml-lang="en-US" id="par_id3148802" role="paragraph" l10n="U" oldref="239"> 383 <item type="input">=OCT2HEX(144;4)</item> returns 0064.</paragraph> 384 </section> 385 <section id="convertadd"> 386<bookmark xml-lang="en-US" branch="index" id="bm_id3148446"><bookmark_value>CONVERT_ADD function</bookmark_value> 387</bookmark> 388<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_CONVERT" id="bm_id3150773" localize="false"/> 389<paragraph xml-lang="en-US" id="hd_id3148446" role="heading" level="2" l10n="CHG" 390 oldref="175">CONVERT_ADD</paragraph> 391 <paragraph xml-lang="en-US" id="par_id3154902" role="paragraph" l10n="U" oldref="176"><ahelp hid="HID_AAI_FUNC_CONVERT">Converts a value from one unit of measure to the corresponding value in another unit of measure.</ahelp> Enter the units of measures directly as text in quotation marks or as a reference. If you enter the units of measure in cells, they must correspond exactly with the following list which is case sensitive: For example, in order to enter a lower case l (for liter) in a cell, enter the apostrophe ' immediately followed by l.</paragraph> 392 <table id="tbl_id3149771"> 393 <tablerow> 394 <tablecell> 395 <paragraph xml-lang="en-US" id="par_id3153055" role="tablehead" l10n="U" oldref="177">Property</paragraph> 396 </tablecell> 397 <tablecell> 398 <paragraph xml-lang="en-US" id="par_id3147234" role="tablehead" l10n="U" oldref="178">Units</paragraph> 399 </tablecell> 400 </tablerow> 401 <tablerow> 402 <tablecell> 403 <paragraph xml-lang="en-US" id="par_id3147512" role="tablecontent" l10n="U" oldref="179">Weight</paragraph> 404 </tablecell> 405 <tablecell> 406 <paragraph xml-lang="en-US" id="par_id3148476" role="tablecontent" l10n="U" oldref="180">g, sg, lbm, u, ozm, stone, ton, grain, pweight, hweight, shweight</paragraph> 407 </tablecell> 408 </tablerow> 409 <tablerow> 410 <tablecell> 411 <paragraph xml-lang="en-US" id="par_id3155361" role="tablecontent" l10n="U" oldref="181">Length</paragraph> 412 </tablecell> 413 <tablecell> 414 <paragraph xml-lang="en-US" id="par_id3148925" role="tablecontent" l10n="U" oldref="182">m, mi, Nmi, in, ft, yd, ang, Pica, ell, parsec</paragraph> 415 </tablecell> 416 </tablerow> 417 <tablerow> 418 <tablecell> 419 <paragraph xml-lang="en-US" id="par_id3158429" role="tablecontent" l10n="U" oldref="183">Time</paragraph> 420 </tablecell> 421 <tablecell> 422 <paragraph xml-lang="en-US" id="par_id3150707" role="tablecontent" l10n="U" oldref="184">yr, day, hr, mn, sec</paragraph> 423 </tablecell> 424 </tablerow> 425 <tablerow> 426 <tablecell> 427 <paragraph xml-lang="en-US" id="par_id3153238" role="tablecontent" l10n="U" oldref="185">Pressure</paragraph> 428 </tablecell> 429 <tablecell> 430 <paragraph xml-lang="en-US" id="par_id3166437" role="tablecontent" l10n="U" oldref="186">Pa, atm, mmHg, Torr, psi</paragraph> 431 </tablecell> 432 </tablerow> 433 <tablerow> 434 <tablecell> 435 <paragraph xml-lang="en-US" id="par_id3152944" role="tablecontent" l10n="U" oldref="187">Force</paragraph> 436 </tablecell> 437 <tablecell> 438 <paragraph xml-lang="en-US" id="par_id3155582" role="tablecontent" l10n="U" oldref="188">N, dyn, pond</paragraph> 439 </tablecell> 440 </tablerow> 441 <tablerow> 442 <tablecell> 443 <paragraph xml-lang="en-US" id="par_id3153686" role="tablecontent" l10n="U" oldref="189">Energy</paragraph> 444 </tablecell> 445 <tablecell> 446 <paragraph xml-lang="en-US" id="par_id3153386" role="tablecontent" l10n="U" oldref="190">J, e, c, cal, eV, HPh, Wh, BTU</paragraph> 447 </tablecell> 448 </tablerow> 449 <tablerow> 450 <tablecell> 451 <paragraph xml-lang="en-US" id="par_id3154100" role="tablecontent" l10n="U" oldref="191">Power</paragraph> 452 </tablecell> 453 <tablecell> 454 <paragraph xml-lang="en-US" id="par_id3149915" role="tablecontent" l10n="U" oldref="192">W, HP, PS</paragraph> 455 </tablecell> 456 </tablerow> 457 <tablerow> 458 <tablecell> 459 <paragraph xml-lang="en-US" id="par_id3148988" role="tablecontent" l10n="U" oldref="193">Field strength</paragraph> 460 </tablecell> 461 <tablecell> 462 <paragraph xml-lang="en-US" id="par_id3148616" role="tablecontent" l10n="U" oldref="194">T, ga</paragraph> 463 </tablecell> 464 </tablerow> 465 <tablerow> 466 <tablecell> 467 <paragraph xml-lang="en-US" id="par_id3151120" role="tablecontent" l10n="U" oldref="195">Temperature</paragraph> 468 </tablecell> 469 <tablecell> 470 <paragraph xml-lang="en-US" id="par_id3148659" role="tablecontent" l10n="U" oldref="196">C, F, K, Reau, Rank</paragraph> 471 </tablecell> 472 </tablerow> 473 <tablerow> 474 <tablecell> 475 <paragraph xml-lang="en-US" id="par_id3154610" role="tablecontent" l10n="U" oldref="197">Volume</paragraph> 476 </tablecell> 477 <tablecell> 478 <paragraph xml-lang="en-US" id="par_id3149423" role="tablecontent" l10n="U" oldref="198">l, tsp, tbs, oz, cup, pt, qt, gal, m3, mi3, Nmi3, in3, ft3, yd3, ang3, Pica3, barrel, bushel, regton, Schooner, Middy, Glass</paragraph> 479 </tablecell> 480 </tablerow> 481 <tablerow> 482 <tablecell> 483 <paragraph xml-lang="en-US" id="par_id3149244" role="tablecontent" l10n="U" oldref="199">Area</paragraph> 484 </tablecell> 485 <tablecell> 486 <paragraph xml-lang="en-US" id="par_id3150425" role="tablecontent" l10n="U" oldref="200">m2, mi2, Nmi2, in2, ft2, yd2, ang2, Pica2, Morgen, ar, acre, ha</paragraph> 487 </tablecell> 488 </tablerow> 489 <tablerow> 490 <tablecell> 491 <paragraph xml-lang="en-US" id="par_id3150629" role="tablecontent" l10n="U" oldref="201">Speed</paragraph> 492 </tablecell> 493 <tablecell> 494 <paragraph xml-lang="en-US" id="par_id3159246" role="tablecontent" l10n="U" oldref="202">m/s, m/h, mph, kn, admkn</paragraph> 495 </tablecell> 496 </tablerow> 497 </table> 498 499 <paragraph xml-lang="en-US" id="par_id3143277" role="paragraph" l10n="U" oldref="203">Each unit of measure can be preceded by a prefix character from the following list:</paragraph> 500 <table id="tbl_id3144759"> 501 <tablerow> 502 <tablecell> 503 <paragraph xml-lang="en-US" id="par_id3148422" role="tablehead" l10n="U" oldref="204">Permitted prefix characters</paragraph> 504 </tablecell> 505 <tablecell> 506</tablecell> 507 </tablerow> 508 <tablerow> 509 <tablecell> 510 <paragraph xml-lang="en-US" id="par_id3149490" role="tablecontent" l10n="U" oldref="205">10^(<0)</paragraph> 511 </tablecell> 512 <tablecell> 513 <paragraph xml-lang="en-US" id="par_id3149931" role="tablecontent" l10n="U" oldref="206">d, c, m, u, n, p, f, a, z, y</paragraph> 514 </tablecell> 515 </tablerow> 516 <tablerow> 517 <tablecell> 518 <paragraph xml-lang="en-US" id="par_id3149589" role="tablecontent" l10n="U" oldref="207">10^(>0)</paragraph> 519 </tablecell> 520 <tablecell> 521 <paragraph xml-lang="en-US" id="par_id3151248" role="tablecontent" l10n="U" oldref="208">e, h, k, M, G, T, P, E, Z, Y</paragraph> 522 </tablecell> 523 </tablerow> 524 <tablerow> 525 <tablecell> 526 <paragraph xml-lang="en-US" id="par_id0908200903061174" role="tablecontent" l10n="NEW">Information units "bit" and "byte" may also be prefixed by one of the following IEC 60027-2 / IEEE 1541 prefixes:</paragraph> 527 </tablecell> 528 <tablecell> 529 <paragraph xml-lang="en-US" id="par_id0908200903090966" role="code" l10n="NEW">ki kibi 1024</paragraph> 530 <paragraph xml-lang="en-US" id="par_id0908200903090958" role="code" l10n="NEW">Mi mebi 1048576</paragraph> 531 <paragraph xml-lang="en-US" id="par_id0908200903090936" role="code" l10n="NEW">Gi gibi 1073741824</paragraph> 532 <paragraph xml-lang="en-US" id="par_id0908200903090975" role="code" l10n="NEW">Ti tebi 1099511627776</paragraph> 533 <paragraph xml-lang="en-US" id="par_id0908200903090930" role="code" l10n="NEW">Pi pebi 1125899906842620</paragraph> 534 <paragraph xml-lang="en-US" id="par_id0908200903091070" role="code" l10n="NEW">Ei exbi 1152921504606850000</paragraph> 535 <paragraph xml-lang="en-US" id="par_id0908200903091097" role="code" l10n="NEW">Zi zebi 1180591620717410000000</paragraph> 536 <paragraph xml-lang="en-US" id="par_id0908200903091010" role="code" l10n="NEW">Yi yobi 1208925819614630000000000</paragraph> 537 </tablecell> 538 </tablerow> 539 </table> 540 <embed href="text/scalc/01/04060102.xhp#ADD_note"/> 541 <paragraph xml-lang="en-US" id="hd_id3146125" role="heading" level="3" l10n="U" 542 oldref="209">Syntax</paragraph> 543 <paragraph xml-lang="en-US" id="par_id3153695" role="code" l10n="U" oldref="210">CONVERT_ADD(Number; "FromUnit"; "ToUnit")</paragraph> 544 <paragraph xml-lang="en-US" id="par_id3147522" role="paragraph" l10n="U" oldref="211"> 545 <emph>Number</emph> is the number to be converted.</paragraph> 546 <paragraph xml-lang="en-US" id="par_id3154472" role="paragraph" l10n="U" oldref="212"> 547 <emph>FromUnit</emph> is the unit from which conversion is taking place.</paragraph> 548 <paragraph xml-lang="en-US" id="par_id3153790" role="paragraph" l10n="U" oldref="213"> 549 <emph>ToUnit</emph> is the unit to which conversion is taking place. Both units must be of the same type.</paragraph> 550<paragraph xml-lang="en-US" id="par_id09022809540918" role="paragraph" l10n="NEW"><link href="http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Calc:_CONVERT_ADD_function">Current list of CONVERT_ADD units in the OpenOffice.org Wiki.</link></paragraph> 551 <paragraph xml-lang="en-US" id="hd_id3156270" role="heading" level="3" l10n="U" 552 oldref="214">Examples</paragraph> 553 <paragraph xml-lang="en-US" id="par_id3156336" role="paragraph" l10n="U" oldref="215"> 554 <item type="input">=CONVERT_ADD(10;"HP";"PS") </item>returns, rounded to two decimal places, 10.14. 10 HP equal 10.14 PS.</paragraph> 555 <paragraph xml-lang="en-US" id="par_id3154834" role="paragraph" l10n="U" oldref="216"> 556 <item type="input">=CONVERT_ADD(10;"km";"mi") </item>returns, rounded to two decimal places, 6.21. 10 kilometers equal 6.21 miles. The k is the permitted prefix character for the factor 10^3.</paragraph> 557 </section> 558 <section id="factdouble"> 559<bookmark xml-lang="en-US" branch="index" id="bm_id3147096"><bookmark_value>FACTDOUBLE function</bookmark_value> 560 <bookmark_value>factorials;numbers with increments of two</bookmark_value> 561</bookmark><comment>mw added one entry</comment> 562<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_FACTDOUBLE" id="bm_id3150950" localize="false"/> 563<paragraph xml-lang="en-US" id="hd_id3147096" role="heading" level="2" oldref="36">FACTDOUBLE</paragraph> 564 <paragraph xml-lang="en-US" id="par_id3151309" role="paragraph" l10n="CHG" oldref="37"><ahelp hid="HID_AAI_FUNC_FACTDOUBLE">Returns the double factorial of a number.</ahelp></paragraph> 565 <paragraph xml-lang="en-US" id="hd_id3154666" role="heading" level="3" l10n="U" 566 oldref="38">Syntax</paragraph> 567 <paragraph xml-lang="en-US" id="par_id3155121" role="code" l10n="U" oldref="39">FACTDOUBLE(Number)</paragraph> 568 <paragraph xml-lang="en-US" id="par_id3158440" role="paragraph" l10n="CHG" oldref="40">Returns <emph>Number</emph> 569 <emph>!!</emph>, the double factorial of <emph>Number</emph>, where <emph>Number</emph> is an integer greater than or equal to zero.</paragraph> 570 <paragraph xml-lang="en-US" id="par_id2480849" role="paragraph" l10n="NEW">For even numbers FACTDOUBLE(n) returns:</paragraph> 571 <paragraph xml-lang="en-US" id="par_id4181951" role="paragraph" l10n="NEW">2*4*6*8* ... *n</paragraph> 572 <paragraph xml-lang="en-US" id="par_id2927335" role="paragraph" l10n="NEW">For odd numbers FACTDOUBLE(n) returns:</paragraph> 573 <paragraph xml-lang="en-US" id="par_id2107303" role="paragraph" l10n="NEW">1*3*5*7* ... *n</paragraph> 574 <paragraph xml-lang="en-US" id="par_id4071779" role="paragraph" l10n="NEW">FACTDOUBLE(0) returns 1 by definition.</paragraph> 575 <paragraph xml-lang="en-US" id="hd_id3154622" role="heading" level="3" l10n="U" 576 oldref="42">Example</paragraph> 577 <paragraph xml-lang="en-US" id="par_id7844477" role="paragraph" l10n="NEW"> 578 <item type="input">=FACTDOUBLE(5)</item> returns 15.</paragraph> 579 <paragraph xml-lang="en-US" id="par_id3154116" role="paragraph" l10n="U" oldref="43"> 580 <item type="input">=FACTDOUBLE(6)</item> returns 48.</paragraph> 581 <paragraph xml-lang="en-US" id="par_id6478469" role="paragraph" l10n="NEW"> 582 <item type="input">=FACTDOUBLE(0)</item> returns 1.</paragraph><comment>see also FACT, MULTINOMIAL, PRODUCT </comment> 583</section> 584</sort> 585<section id="Section1"> 586 <embed href="text/scalc/01/04060100.xhp#drking"/> 587 </section> 588 </body> 589</helpdocument>