Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static Complejo producto(Complejo c1, Complejo c2){
- double x=c1.real*c2.real-c1.imag*c2.imag;
- double y=c1.real*c2.imag+c1.imag*c2.real;
- return new Complejo(x, y);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement