+ 7

How to solve complex number multiplication and division?

plz explain java program for complex number multiplication and division

15th Apr 2017, 10:11 AM
Safiya Yunus
Safiya Yunus - avatar
4 Respuestas
+ 10
pls elaborate what do u want to do?. you can look at math library it has useful tools.
15th Apr 2017, 12:03 PM
adeel salim
adeel salim - avatar
+ 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
16th Apr 2017, 1:23 AM
adeel salim
adeel salim - avatar
+ 8
@adeel i jst want to make simple java program which can take input from the user and can multiply and divide complex numbers.
15th Apr 2017, 5:47 PM
Safiya Yunus
Safiya Yunus - avatar
+ 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.
15th Apr 2017, 10:19 AM
Tamás Barta
Tamás Barta - avatar