Write the results of each expression.
Use the proper type (.0
for a double
).
Math.ceil(9.17) |
10.0 |
|
Math.pow(2, 4) |
16.0 |
|
Math.sqrt(64) |
8.0 |
|
Math.floor(12.73) + Math.max(8, 5) |
20.0 |
|
Math.abs(Math.min(-1, -3)) |
3 |
|
Math.ceil(Math.random()) |
1.0 |
|
-Math.pow(2, 2) + Math.pow(-2, 3) + Math.pow(2, -2) |
-11.75 |
|
Math.round(4.25) + Math.round(5.38) + Math.round(6.49) |
15 |