Run Code  | Code Wall  | Users  | Misc  | Feedback  | About  | Login  | Theme  | Privacy 

Complex Variable Implementation in C#

Language: Layout:
+ ] Show input
Compilation time: 0,19 sec, absolute running time: 0,11 sec, cpu time: 0,09 sec, average memory usage: 13 Mb, average nr of threads: 3, absolute service time: 0,33 sec 
edit mode |  history  | discussion
f(z) = z = x + iy = 1,0000 + i2,0000
f(z) = z = x -  iy = 1,0000 - i2,0000
f(z) = |z| = Sqrt(x^2 + y^2) = 2,2361
f(z) = z^-1 = Conjuate(z)/|z|^2 = 0,2000 - i0,4000
w + z = x1 + iy1 + x2 + iy2 = (x1 + x2) + i(y1 + y2) = 6,0000 + i9,0000
w - z = x1 + iy1 - x2 + iy2 = (x1 - x2) + i(y1 - y2) = -4,0000 - i5,0000
zw = ( x1 + iy1)(x2 + iy2) =  (x1x2 - y1y2) + i(x1y2 + y1x2) = -9,0000 + i17,0000