Question on complex arithmetic

1 reply · 2K views · last reply
FrostScYthe
Messages
80
Reaction score
0
Hey, I'm working on a program but I get errors when I do my function and evaluate it with x (being a complex number)

lets say x = 2 + 3i

and my function is f(x) = (x - 3)(x - 3)(x - 3)

how would I get f(x)?
 
What do you mean you get "errors"? What medium are you using to create this program?