MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Complex Numbers


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?
>
>








  • Prev by Date: Rocket science!
  • Next by Date: Re: Compiled
  • Previous by thread: Complex Numbers
  • Next by thread: DXF