Please could someone write me a script that can multiply and divide complex numbers and give the answer in polar form, it needs to be a menu screen in which you can enter any two complex numbers and receive a result in polar form, you'd really be helping me out.
Do you know how to multiply and divide complex numbers on paper, but not in code? Explain the process to yourself, and go through some examples, step by step, until you can think of a series of steps that you can translate into individual operations in code.
(a + bi)*(c + di) = ??? (figure out what is this in math language first, and then translate it into C++)
You're trying to turn (a + bi) -> r * e^(i theta).
Can you explain how to do that in English/math first?
thank you for your responces, all are helpful but what im looking for is a script that when the program runs the user can enter any two complex numbers, choose whether to multiply or divide them and recieve the answer in polar form, i am very new to programming and have no clue how to do this haha really be helping me out!