Zermelos_Choice

5 Reputation

One Badge

8 years, 226 days

MaplePrimes Activity


These are questions asked by Zermelos_Choice

Hi,

I'm attempting to plot the distribution of the fractional part of a sequence of real numbers in the interval (0,1], where the fractional part of a real number x is given by <x>=x-[x], where [x] is the floor function.

In particular, I'm attempting to plot <log(n)> and <n^a> where n is a natural number and 0<a<1.

I know that I can use frac() to obtain the fractional part of the expressions.

However, I'm not sure how to plot a two-dimensional plot where the x-axis consists of a range for n and the y-axis in the inteval [0,1). I found an example of what I'm trying to do here on page 1.

Does anyone have any tips on how to do this?

Page 1 of 1