    <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
     <channel>
        <title>ACCU  :: On Quakerâ€™s Dozen</title>
        <link>https://members.accu.org/index.php/journals/2499</link>
        <description>Professionalism in Programming</description>
        <dc:language>en-us</dc:language> 
        <dc:creator>Administrator</dc:creator> 
        <admin:generatorAgent rdf:resource="http://www.xaraya.org" /> 
        <admin:errorReportsTo rdf:resource="mailto:webeditor@accu.org" />
       <sy:updatePeriod>hourly</sy:updatePeriod>
       <sy:updateFrequency>1</sy:updateFrequency>
       <docs>http://backend.userland.com/rss</docs>


        <h2>Journal Articles</h2>


<div class="xar-mod-head"><span class="xar-mod-title">CVu Journal Vol 30, #2 - May 2018</span></div>

<table border="0" cellpadding="1" cellspacing="0">
    <tbody>
    <tr>
        <td valign="top">
            Browse in :
       </td>
       <td valign="top">

                                            <a href="https://members.accu.org/index.php/journals/">All</a>

                     &gt;                         <a href="https://members.accu.org/index.php/journals/c76/">Journals</a>

                     &gt;                         <a href="https://members.accu.org/index.php/journals/c77/">CVu</a>

                     &gt;                         <a href="https://members.accu.org/index.php/journals/c385/">302</a>
                    (12)
<br />
</td>
   </tr>
   </tbody>
</table>




<div class="xar-error">
   <p>
 <strong>Note:</strong> when you create a new publication type,
the articles module will automatically use the templates
<em>user-display-[publicationtype].xt</em>
and <em>user-summary-[publicationtype].xt</em>.
If those templates do not exist when you try to preview or display a new article,
you'll get this warning :-)  Please place your own templates in themes/<em>yourtheme</em>/modules/articles . The templates will get the extension .xt there. </p>
</div>
<div class="xar-norm xar-standard-box-padding">
   <h1><strong>Title:</strong>&nbsp;On Quakerâ€™s Dozen</h1>
<p><strong>Author:</strong>&nbsp;Bob Schmidt</p>
<p>
<strong>Date:</strong> 07 May 2018 17:42:11 +01:00 or Mon, 07 May 2018 17:42:11 +01:00</p>
<p><strong>Summary:</strong>&nbsp;A student examines the Quakerâ€™s Dozen wager.</p>
<p><strong>Body:</strong>&nbsp;<p>The Baronâ€™s latest wager set Sir R----- the task of rolling a higher score with two dice than the Baron should with one twelve sided die, giving him a prize of the difference between them should he have done so. Sir R-----â€™s first roll of the dice would cost him two coins and twelve cents and he could elect to roll them again as many times as he desired for a further cost of one coin and twelve cents each time, after which the Baron would roll his.</p>

<p>The simplest way to reckon the fairness of this wager is to re-frame its terms; to wit, that Sir R----- should pay the Baron one coin to play and thereafter one coin and twelve cents for each roll of his dice, including the first. The consequence of this is that before each roll of the dice Sir R----â€“ could have expected to receive the same bounty, provided that he wrote off any losses that he had made beforehand.</p>

<p>Put in these terms it is self evident that Sir R----- should set himself a constant goal at which to stick, for if it were to maximise his expected prize after the first roll, then it should also do so after every subsequent roll. I explained as much to the Baron, but I suspect that I did not have his undivided attention at the time.</p>

<p>Now, if we label Sir R-----â€™s roll with <em>x</em><sub>r</sub> and the Baronâ€™s with <em>x</em><sub>b</sub> then we can therefore formulate his expected winnings as</p>

<p style="margin-left:1em"><img style="max-width:VISUALLY_DETERMINED%" src="http://accu.org/content/images/journals/cvu30-2/Student/Eqn-01.png" /></p>

<p>where E[<em>X</em>|<em>C</em>] is the expected value of <em>X</em> given that the condition <em>C</em> holds true.</p>

<p>The probabilities that Sir R-----â€™s score were equal to any particular value of <em>k</em> are easily figured to be</p>

<p style="margin-left:1em"><img style="max-width:VISUALLY_DETERMINED%" src="http://accu.org/content/images/journals/cvu30-2/Student/Eqn-02.png" /></p>

<p>from which we can trivially deduce that the probabilities that it were greater than or equal to any given value of <em>k</em> are</p>

<p style="margin-left:1em"><img style="max-width:VISUALLY_DETERMINED%" src="http://accu.org/content/images/journals/cvu30-2/Student/Eqn-03.png" /></p>

<p>Once Sir R----- had chosen to stick with a roll of <em>x</em><sub>r</sub>, he should have expected a prize of</p>

<p style="margin-left:1em"><img style="max-width:VISUALLY_DETERMINED%" src="http://accu.org/content/images/journals/cvu30-2/Student/Eqn-04.png" /></p>

<p>where Î£ is the summation sign, which we can reorganise into</p>

<p style="margin-left:1em"><img style="max-width:VISUALLY_DETERMINED%" src="http://accu.org/content/images/journals/cvu30-2/Student/Eqn-05.png" /></p>

<p>and so, by the very definition of conditional expectations, we have</p>

<p style="margin-left:1em"><img style="max-width:VISUALLY_DETERMINED%" src="http://accu.org/content/images/journals/cvu30-2/Student/Eqn-06.png" /></p>

<p>We can make light work of figuring these expectations by noting that</p>

<p style="margin-left:1em"><img style="max-width:VISUALLY_DETERMINED%" src="http://accu.org/content/images/journals/cvu30-2/Student/Eqn-07.png" /></p>

<p>[Web Editor's Note:  The preceding formula has been corrected - the trailing &quot;m&quot; present in the PDF version has been removed.]</p>

<p>and proceeding backwards from twelve to two</p>

<p style="margin-left:1em"><img style="max-width:VISUALLY_DETERMINED%" src="http://accu.org/content/images/journals/cvu30-2/Student/Eqn-08.svg" /></p>

<p>Sir R-----â€™s expected winnings were therefore as shown below, and I should have consequently advised him to accept the Baronâ€™s wager, provided that he stuck with a score of six or greater upon each roll! &#9633;</p>

<p style="margin-left:1em"><img style="max-width:VISUALLY_DETERMINED%" src="http://accu.org/content/images/journals/cvu30-2/Student/Eqn-10.png" /></p>

<p>[Web Editor's Note:  The preceding formula has been corrected - the correct value on the last line has been changed to &quot;870,912&quot; from the &quot;870.912&quot; in the PDF version.]</p>
</p>
<p><strong>Notes:</strong>&nbsp;</p>
<p><em>More fields may be available via dynamicdata ..</em></p>
</div>
</channel>
</rss>
