1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
* Find the cubic root of a variable.
* (I was not expecting that question but here it is).

DATA LIST LIST /var1.
BEGIN DATA
27
64
10
END DATA.

COMPUTE cubic_rt=var1 ** (1/3).
LIST.


* Output is:
  VAR1 CUBIC_RT

   27.00     3.00
   64.00     4.00
   10.00     2.15