Question on complex arithmetic

  • Thread starter Thread starter FrostScYthe
  • Start date Start date
  • Tags Tags
    Arithmetic Complex
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
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)?
 
Physics news on Phys.org
What do you mean you get "errors"? What medium are you using to create this program?