SHARE
TWEET

Untitled

a guest Mar 19th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. double a = this.realPart;
  2.         double b = this.imaginaryPart;
  3.         double x = c.getReal();
  4.         double y = c.getImaginary();
  5.  
  6.         double newReal = (a * x + b * y) / (Math.pow(x, 2) + Math.pow(y, 2));
  7.         double newImag = (b * x - a * y) / (Math.pow(x, 2) + Math.pow(y, 2));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top