Skogsgurra
Electrical
- Mar 31, 2003
- 11,815
Can't find the proper forum for this question. Don't think there is one.
In short. We needed to explain to a customer that certain processes are stochastic rather than deterministic. He had thyristor fuses blown at very irregular intervals and it turned out that two things needed to coincide for that to happen; A. That the drive was breaking (stops in 400 milliseconds) and B. That PF compensation capacitors were switched in just then.
This happened once or twice a year and you could never tell when it was going to happen. Then, it happened just a few days apart and the customer got somewhat concerned. I thought it would be a good idea to show him that the digits of PI contain groups of digits and that those groups are at random intervals. So, we wrote a "substring finder" that searches a one million digit PI string. Our first try was the number 4711. That gave us 103 hits, which we thought was just about right.
We then tried 47111, which produced ten hits. Very much what we expected. Everything fine - so far.
Then, we wanted to show this in a diagram. Of course, we expected a uniform distribution with some variance. But what we saw was a distribution where the first hits were quite close and then spread out when we got a bit into the "one million file". Like this: ---:--:---:-----:--------:--------------:------------:--------:----- etcetera (the colons represent hits).
That was not at all what we had expected and I am glad that the customer wasn't there when we found out.
We have got the same result consistently. A few of them are given below (the numbers show where the first digit in the "search string" is positioned):
47111: 25447, 79545, 93534, 330582, 346263, 439447, 705730, 775750, 821499, 958303
47112: 73831, 299381, 375984, 718997, 962497
47113: 277993, 417209, 634628, 701464, 823702
47114: 127769, 141364, 153066, 231981, 557948, 719124, 803558, 912741, 964298, 996952
47115: 49554, 77922, 128830, 448202, 460855, 483224, 489871, 619692, 634589, 640280, 644557, 807140, 843108, 882015, 911986, 961592
47116: 36469, 92147, 273385, 279367, 300343, 318650, 378851, 483139, 546824, 635462, 685623, 782354, 803772, 872191, 888271
47117: 39880, 58449, 67914, 116125, 415961, 491234, 699587, 720026, 809578, 811719, 958795
We think (know) that the digits of PI are truly random. We think (know for sure) that our "picker" works properly. But we cannot make out why the distribution is denser at the beginning. Should it be? Why?
Gunnar Englund
--------------------------------------
Half full - Half empty? I don't mind. It's what in it that counts.
In short. We needed to explain to a customer that certain processes are stochastic rather than deterministic. He had thyristor fuses blown at very irregular intervals and it turned out that two things needed to coincide for that to happen; A. That the drive was breaking (stops in 400 milliseconds) and B. That PF compensation capacitors were switched in just then.
This happened once or twice a year and you could never tell when it was going to happen. Then, it happened just a few days apart and the customer got somewhat concerned. I thought it would be a good idea to show him that the digits of PI contain groups of digits and that those groups are at random intervals. So, we wrote a "substring finder" that searches a one million digit PI string. Our first try was the number 4711. That gave us 103 hits, which we thought was just about right.
We then tried 47111, which produced ten hits. Very much what we expected. Everything fine - so far.
Then, we wanted to show this in a diagram. Of course, we expected a uniform distribution with some variance. But what we saw was a distribution where the first hits were quite close and then spread out when we got a bit into the "one million file". Like this: ---:--:---:-----:--------:--------------:------------:--------:----- etcetera (the colons represent hits).
That was not at all what we had expected and I am glad that the customer wasn't there when we found out.
We have got the same result consistently. A few of them are given below (the numbers show where the first digit in the "search string" is positioned):
47111: 25447, 79545, 93534, 330582, 346263, 439447, 705730, 775750, 821499, 958303
47112: 73831, 299381, 375984, 718997, 962497
47113: 277993, 417209, 634628, 701464, 823702
47114: 127769, 141364, 153066, 231981, 557948, 719124, 803558, 912741, 964298, 996952
47115: 49554, 77922, 128830, 448202, 460855, 483224, 489871, 619692, 634589, 640280, 644557, 807140, 843108, 882015, 911986, 961592
47116: 36469, 92147, 273385, 279367, 300343, 318650, 378851, 483139, 546824, 635462, 685623, 782354, 803772, 872191, 888271
47117: 39880, 58449, 67914, 116125, 415961, 491234, 699587, 720026, 809578, 811719, 958795
We think (know) that the digits of PI are truly random. We think (know for sure) that our "picker" works properly. But we cannot make out why the distribution is denser at the beginning. Should it be? Why?
Gunnar Englund
--------------------------------------
Half full - Half empty? I don't mind. It's what in it that counts.