summaryrefslogtreecommitdiff
path: root/source/text/scalc/01/func_imcos.xhp
blob: a5582ec58ebef1711b45065e78b60a57a21f455a (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
74
75
<?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">
    <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>
	<paragraph id="hd_id90361032228870" role="heading" level="2" xml-lang="en-US">
		<variable id="imcos_head">
			<link href="text/scalc/01/func_imcos.xhp">IMCOS</link>
		</variable> function
	</paragraph>
	<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="code" xml-lang="en-US" localize="false">
	        cos(a+bi) = cos(a)cosh(b) - sin(a)sinh(b)i
        </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">
		<variable id="imcos">IMCOS</variable>(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>
	<paragraph id="par_id11756847629133" role="note" localize="false" xml-lang="en-US">
		<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"/>
	</paragraph>
	<paragraph id="par_id2823797012200" role="warning" localize="false" xml-lang="en-US">
		<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"/>
	</paragraph>
	<embed href="text/scalc/01/ful_func.xhp#func_head_example"/>
	<paragraph id="par_id4581301219753" role="paragraph" xml-lang="en-US">
		<item type="input">
			=<embedvar href="text/scalc/01/func_imcos.xhp#imcos"/>("4-3i")
		</item><br />
                returns -6.58066304055116-7.58155274274654i.
	</paragraph>
	<paragraph id="par_id25412646522614" role="paragraph" xml-lang="en-US">
		<item type="input">
			=<embedvar href="text/scalc/01/func_imcos.xhp#imcos"/>(2)
		</item><br />
		returns -0.416146836547142 as a string. <embedvar href="text/scalc/01/ful_func.xhp#func_imag_zero"/>
	</paragraph>
	<section id="relatedtopics">
		<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>