Hi, I'm doing a mini-project in java that involves some nasty calculations with complex numbers- particularly with complex numbers in exponents. Thus far, I've had success using this class: Complex.java . The problem that I'm encountering involves taking the natural logarithm of a complex number a + bi and getting the rectangular form of the new number. Is there any workaround for this? I feel like I'm missing something easy, since I can easily type in the natural logarithm of a complex number into google and it easily tells me the approximate rectangular value.(adsbygoogle = window.adsbygoogle || []).push({});

By the way, if someone knows of another class which would actually allow me to use complex powers to begin with, I would greatly appreciate it if you shared it with me.

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Java Complex numbers in java

Loading...

**Physics Forums | Science Articles, Homework Help, Discussion**