+ 7

# How to solve complex number multiplication and division?

plz explain java program for complex number multiplication and division

4 Answers

+ 10

pls elaborate what do u want to do?. you can look at math library it has useful tools.

+ 10

@safiya
getting user input is the easy part through scanner. like you can store it in a string. then parse the string to find out the input equation
i will recommend trying the easy way of calculation to start with. like asking user of radius or diameter and find circumference of that circle.
i am travelling. so if you can give example of complex equation you want to solve that will make it easy. i might reply late due to less available.
but always try to parse problem into simpler one (breaking down the problem to steps) like steps you need to solve

+ 8

@adeel i jst want to make simple java program which can take input from the user and can multiply and divide complex numbers.

+ 5

There is an Apache Commons Math library and you can do complex calculation with it:
http://commons.apache.org/proper/commons-math/userguide/complex.html
But it is very easy to implement on your own but unnecessary.