+ 3

What will be the java expression

What will be java expression of |x²+2xy|

18th Mar 2019, 4:33 PM
Ankit Yadav
2 Respostas
+ 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);
18th Mar 2019, 5:34 PM
Denise Roßberg
Denise Roßberg - avatar
+ 1
Why | | used as Math. Abs()
19th Mar 2019, 9:45 AM
Ankit Yadav