- Open DrJava and expand the Interactions pane.
- Add the following lines of code to the Interactions pane.
> double x = Math.exp(Math.log(10.0)); > x 10.000000000000002
- Type the following lines to the Interactions pane.
> double x = Math.pow(2.0, 10.0); > x 1024.0