// slow, inaccurate way to cube a number
double
y
=
Math
.
pow
(
x
,
3
)
;