Skip to content
Prev 696 / 885 Next

Plot f(x) = x^(1/5)

This problem is an example of FAQ 7.31.  Floating point numbers
inside the computer can not represent odd fractions exactly.
[1]  1  3  5  7  9 11 13 15
[1] 1.00000000 0.33333333 0.20000000 0.14285714 0.11111111 0.09090909 0.07692308
[8] 0.06666667
[1] 1.0000000000000000000 0.3333333333333333148 0.2000000000000000111
[4] 0.1428571428571428492 0.1111111111111111049 0.0909090909090909116
[7] 0.0769230769230769273 0.0666666666666666657
[1]  -2 NaN NaN NaN NaN NaN NaN NaN
Rich
On Tue, May 17, 2016 at 10:23 AM, bob at statland.org <bob at statland.org> wrote: