Re: Complex Numbers
- To: mathgroup at smc.vnet.net
- Subject: [mg23844] Re: Complex Numbers
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Mon, 12 Jun 2000 01:17:35 -0400 (EDT)
- References: <8hsqgt$d22@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Jiriki,
Mathematica uses complex numbers by default:
(2 + 3I ) + (3 + 4I)
5 + 7*I
(2 + 3I )* (3 + 4I)
-6 + 17*I
(2 + 3I )/ (3 + 4I)
18/25 + I/25
Conjugate[2 + 3I]
2 - 3*I
Maybe this sort of thing is the problem
Sin[3 + 4I]
Sin[3 + 4*I]
Using inexact numbers changes this
Sin[3.0 + 4.0I]
3.8537380379193773 - 27.016813258003932*I
or
N[Sin[3 + 4I]]
3.8537380379193773 - 27.016813258003932*I
Integrate[(2 + 3I) Sin[x], {x, 1 + 2I, 3 + 4I}]
(2 + 3*I)*(Cos[1 + 2*I] - Cos[3 + 4*I])
--
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565
"Jiriki" <jiriki31 at hotmail.com> wrote in message
news:8hsqgt$d22 at smc.vnet.net...
> How can I evaluate complex number functions?
>
>