State the value and type of each expression.
Math.abs(-1e-1) + Math.abs(-2e-2)
19 Likes
The output value is 0.12. The type of expression is double.
Math.abs(-1e-1) + Math.abs(-2e-2)⇒ 0.1 + 0.02⇒ 0.12
Answered By
12 Likes
Math.abs(-5) - Math.abs(-7)
Math.sqrt(0.0064)
Math.sqrt(Math.pow(2.7, 2))