Post Reply 
Article - 42.86% responded “Yes” on an opinion poll. How many people responded?
03-22-2017, 03:40 PM (This post was last modified: 03-22-2017 04:21 PM by Joe Horn.)
Post: #11
RE: Article - 42.86% responded “Yes” on an opinion poll. How many people responded?
(03-22-2017 03:15 PM)Vtile Wrote:  ..And the silly fools method.
Code:

.3010335917
7 ENG 
Enter
XQ 
Enter
Big Grin

Yep, XQ even works for this example in STD mode! Ok, so my next quest is for an example that works as shown in the article and FAILS for XQ (and →Q) in EVERY display setting....

AHA! I think I found one: 71.45%. The simplest ratio that rounds to 71.45% is 388/543, but that's not returned by XQ or →Q in any display setting. So there. Big Grin

Here's how to work it out using the article's method:
0.71445 = {0, 1, 2, 1, 1, 123, 1, 1, 1, 7} (continued fraction)
0.71455 = {0, 1, 2, 1, 1, 76, 1, 1, 1, 5, 2}
Truncated where they begin to differ plus 1 =
{0, 1, 2, 1, 1, 77} = 388/543

Or, using PDQ: 0.7145 0.00005 PDQ --> 388/543.

EDIT: Wow, there are many such examples. Try 10.1%. Or even 1%. Golly.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Article - 42.86% responded “Yes” on an opinion poll. How many people responded? - Joe Horn - 03-22-2017 03:40 PM



User(s) browsing this thread: 1 Guest(s)