summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/scalc/01/func_imcos.xhp
blob: 9fb9d344ddfda6159fcd9d062c1d93e7de8916d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<meta>
  <topic id="textscalc01func_imcosxml" indexer="include" status="PUBLISH">
    <title id="tit" xml-lang="en-US">IMCOS function</title>
    <filename>/text/scalc/01/func_imcos.xhp</filename>
  </topic>
</meta>
<body>
	<section id="func_imcos_function">
		<bookmark xml-lang="en-US" branch="hid/SC_HID_AAI_FUNC_IMCOS" id="bm_id22208483221520" localize="false"/>
		<bookmark xml-lang="en-US" branch="index" id="bm_id262410558824">
			<bookmark_value>IMCOS function</bookmark_value>
			<bookmark_value>cosine;complex number</bookmark_value>
		</bookmark>
	<h1 id="hd_id90361032228870">
		<variable id="imcos_head">
			<link href="text/scalc/01/func_imcos.xhp">IMCOS</link>
		</variable> function
	</h1>
	<paragraph id="par_id1066273182723" role="paragraph" xml-lang="en-US">
		<ahelp hid=".">
			<variable id="imcos_des">Returns the cosine of a complex number.</variable> The cosine of a complex number can be expressed by:
		</ahelp>
	</paragraph>
	</section>
	<paragraph id="par_id12176138532237" role="paragraph" xml-lang="en-US" localize="false">
        <image src="media/helpimg/sc_func_imcos.svg" id="img_id211575078735993" width="452.06109px" height="31.5px"><alt xml-lang="en-US" id="alt_id401575078735994">IMCOS equation</alt></image>
        </paragraph>
	<embed href="text/scalc/01/ful_func.xhp#func_im_des"/>
	<embed href="text/scalc/01/ODFF.xhp#odff"/>
	<embed href="text/scalc/01/ful_func.xhp#func_head_syntax"/>
	<paragraph id="par_id164021484116762" role="code" xml-lang="en-US">
		IMCOS(Complex_number)
	</paragraph>
	<paragraph id="par_id2890729435632" role="paragraph" xml-lang="en-US">
	        Complex_number is a complex number whose cosine is to be calculated.
	</paragraph>
	<note localize="false" id="par_id11756847629133">
		<embedvar href="text/scalc/01/ful_func.xhp#func_im_comp_numb"/><br/>
		<embedvar href="text/scalc/01/ful_func.xhp#func_im_real_numb"/>
	</note>
	<warning localize="false" id="par_id2823797012200">
		<embedvar href="text/scalc/01/ful_func.xhp#func_im_return_text"/><br/>
		<embedvar href="text/scalc/01/ful_func.xhp#func_im_ignor_zero"/>
	</warning>
	<embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
	<paragraph id="par_id4581301219753" role="paragraph" xml-lang="en-US">
		<item type="input">=IMCOS("4-3i")</item><br/>
                returns -6.58066304055116-7.58155274274654i.
	</paragraph>
	<paragraph id="par_id25412646522614" role="paragraph" xml-lang="en-US">
		<item type="input">=IMCOS(2)</item><br/>
		returns -0.416146836547142 as a string. <embedvar href="text/scalc/01/ful_func.xhp#func_imag_zero"/>
	</paragraph>
        <embed href="text/scalc/06/calcsamplefiles.xhp#imtrigon"/>
	<section id="relatedtopics">
		<tip id="par_id631677015732848"><link href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/IMCOS">IMCOS wiki page</link>.</tip>
		<paragraph id="par_id208171544029884" role="paragraph" localize="false" xml-lang="en-US">
			<embedvar href="text/scalc/01/func_imcosh.xhp#imcosh_head"/>,
			<embedvar href="text/scalc/01/func_imsin.xhp#imsin_head"/>,
			<embedvar href="text/scalc/01/func_imsinh.xhp#imsinh_head"/>
		</paragraph>
	</section>
</body>
</helpdocument>