
Apr 24th, 2001, 11:07 AM
#1
Thread Starter
Frenzied Member
This is a bit of a wierd one,
I'm looking for a function that will convert a complex number to its real and imaginary parts, using only complex number operations.
So if you imagine I had a calculator that could do all the complex number calculations, even eqponents and natrual logs etc. But it didn't have functions to get the real part imaginary part, nor the modulus and argument.
What function should I use to get the real part of a complex number?
I hope that makes sense, (I don't actually have the crazy calculator, so don't just tell me to get a new calculator.)
If it wasn't for this sentence I wouldn't have a signature at all.

Apr 24th, 2001, 11:31 AM
#2
transcendental analytic
can the calculator get the conjugate of a complex value?
Use
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p xx==0=""True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Apr 24th, 2001, 10:07 PM
#3
Thread Starter
Frenzied Member
nope, that'd be too easy.
If it wasn't for this sentence I wouldn't have a signature at all.

Apr 25th, 2001, 02:00 AM
#4
transcendental analytic
Use
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p xx==0=""True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Jun 5th, 2001, 08:41 AM
#5
Frenzied Member
Format?
In thinking about this, I started to wonder about the format your proposed calculator would use for complex numbers.
If using VB, for example, I would define a complex data type consisting of two Doubles (one for real part and one for imaginary part). With this format, the real and imaginary parts of each complex number would be explicitly known.
How would any program or calculator not use some similar format? My HP calculator represents complex numbers as 2D vectors in either cartesian or polar format. It will do roots, exponentials, trig functions, et cetera with complex arguments, returning complex results. The real & imaginary parts of a complex number are explictly available when using this calculator.
Live long & prosper.
The Dinosaur from prehistoric era prior to computers.
Eschew obfuscation!
If a billion people believe a foolish idea, it is still a foolish idea!
VB.net 2010 Express
64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.

Jun 6th, 2001, 11:14 AM
#6

Jun 30th, 2001, 11:14 PM
#7
i get the feeling that it's not possible.
I can't say for sure, but if the calculator takes the complex number as a plain entity and, say, it represents it on a plane. You can do all kinds of operations on that plane without knowing where the axis are, so it would actually be able to do all this computing. Though, i don't know how. I never used vectors in planes without axis
It seems to me that this calculator can do anything on that plane as long as it doesn't require to know where the axis actually are, so there's no point in asking what the components are...
i hope i'm making sense.
Posting Permissions
 You may not post new threads
 You may not post replies
 You may not post attachments
 You may not edit your posts

Forum Rules

Click Here to Expand Forum to Full Width
