Skip to content

Commit b30eaab

Browse files
committed
temp changes
1 parent b813d2d commit b30eaab

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/main/java/com/thealgorithms/maths/ComplexNumberUtil.java

+13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package com.thealgorithms.maths;
22

3+
import java.math.BigDecimal;
4+
35
public class ComplexNumberUtil {
46

57
public static class ComplexNumber {
@@ -261,4 +263,15 @@ public static ComplexNumber arccot(ComplexNumber num) {
261263

262264
return multiply(divide(MINUS_I, TWO), ln(divide(add(num, PLUS_I), subtract(num, PLUS_I))));
263265
}
266+
267+
public ComplexNumber add(ComplexNumber added)
268+
{
269+
return new ComplexNumber(1,1);
270+
}
271+
272+
public static void main(String[] args)
273+
{
274+
ComplexNumber num1 = new ComplexNumber(1,1);
275+
ComplexNumber num2 = new ComplexNumber(2,3);
276+
}
264277
}

0 commit comments

Comments
 (0)