+ 3
What will be the java expression
What will be java expression of |x²+2xy|
2 Answers
+ 3
| | --> Maths.abs()
x^2 --> Math.pow(x,2)
int a = (int) Math.pow(x,2);
int b = (int)Math.abs(a + 2*x*y);
+ 1
Why | | used as Math. Abs()
What will be java expression of |x²+2xy|