Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. public static Complejo producto(Complejo c1, Complejo c2){
  2. double x=c1.real*c2.real-c1.imag*c2.imag;
  3. double y=c1.real*c2.imag+c1.imag*c2.real;
  4. return new Complejo(x, y);
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement