<?xml version="1.0"?><!DOCTYPE activity SYSTEM "escot.dtd" ><activity name="Third Activity of Rock, Paper, Scissors." size="678,807" puzzle_id="14">  <page name="First page.">    <component class="org.escot.demo.SimpleGraph" position="364,88" size="285,70" portid="SimpleGraph-1">      <property name="labelInterval" value="0,0"/>      <property name="derivative" value="0"/>      <property name="xAxisName" value="X"/>      <property name="scrollable" value="true"/>      <property name="extent" value="-10.0,-0.0995260663507109,410.0,1.099526066350711"/>      <property name="tickInterval" value="1,1"/>      <property name="yAxisName" value="Y"/>      <property name="graphName" value=""/>    </component>    <component class="com.sri.escot.NumberEntry" position="400,404" size="159,19" portid="NumberEntry-2">      <property name="maximumDecimalPlaces" value="3"/>      <property name="label" value="Angelique's score: "/>      <property name="value" value="12.0"/>      <property name="allowNegative" value="true"/>      <property name="minimumDecimalPlaces" value="0"/>      <property name="suffix" value=""/>      <property name="editable" value="false"/>    </component>    <component class="com.sri.escot.NumberEntry" position="438,379" size="121,19" portid="NumberEntry-3">      <property name="maximumDecimalPlaces" value="3"/>      <property name="label" value="Ed's Score:  "/>      <property name="value" value="7.0"/>      <property name="allowNegative" value="true"/>      <property name="minimumDecimalPlaces" value="0"/>      <property name="suffix" value=""/>      <property name="editable" value="false"/>    </component>    <component class="com.sri.escot.NumberEntry" position="424,426" size="135,19" portid="NumberEntry-4">      <property name="maximumDecimalPlaces" value="0"/>      <property name="label" value="Vicky's Score: "/>      <property name="value" value="26.0"/>      <property name="allowNegative" value="true"/>      <property name="minimumDecimalPlaces" value="0"/>      <property name="suffix" value=""/>      <property name="editable" value="false"/>    </component>    <component class="com.sri.escot.EscotLabel" position="362,68" size="297,18">      <property name="text" value="Experimental Probability of Ed winning"/>      <property name="foreground" value="0,0,0"/>      <property name="background" value="204,204,204"/>      <property name="font" value="Dialog,Dialog,0,12"/>    </component>    <component class="org.escot.demo.TextEditor" position="5,5" size="344,126" portid="TextEditor-1">      <![CDATA[This is a simulation of a three-person game of Rock, Paper, Scissors. The game rules are as follows:  
1.  Ed receives 1 point if all three players display the same hand arrangement.  
2.  Angelique receives 1 point if all three players display a different hand arrangement.
3.  Vicky receives 1 point if just two players display the same hand arrangement. 

Who do you think will win this game: Ed, Angelique or Vicky? Go to the next page by clicking on the "2" in the top left of this window and write your prediction about the scores of these players. Then come back here to run the simulation.

You may run the simulation as many times as you like. The simulation will run through 200 throws. The graphs on the right show the winning ratio (experimental probability) for each player as the game progresses. 

Go back to the second page to answer the rest of the questions for this activity.  Remember to Press the Reset button first then the clearGraph button between the simulations you want to run.]]>      <property name="foreground" value="0,0,0"/>      <property name="background" value="255,255,255"/>      <property name="font" value="Application,Application,0,10"/>    </component>    <component class="com.sri.escot.NumberEntry" position="78,432" size="188,19" portid="NumberEntry-7">      <property name="maximumDecimalPlaces" value="3"/>      <property name="label" value="Number of Trials left: "/>      <property name="value" value="155.0"/>      <property name="allowNegative" value="true"/>      <property name="minimumDecimalPlaces" value="0"/>      <property name="suffix" value=""/>      <property name="editable" value="false"/>    </component>    <component class="com.sri.escot.EscotLabel" position="363,175" size="302,18">      <property name="text" value="Experimental Probability of Angelique winning"/>      <property name="foreground" value="0,0,0"/>      <property name="background" value="204,204,204"/>      <property name="font" value="Dialog,Dialog,0,12"/>    </component>    <component class="com.sri.escot.EscotLabel" position="368,284" size="305,15">      <property name="text" value="Experimental Probability of Vicky winning"/>      <property name="foreground" value="0,0,0"/>      <property name="background" value="204,204,204"/>      <property name="font" value="Dialog,Dialog,0,12"/>    </component>    <component class="org.escot.demo.SimpleGraph" position="367,198" size="281,70" portid="SimpleGraph-2">      <property name="labelInterval" value="5,5"/>      <property name="derivative" value="0"/>      <property name="xAxisName" value="X"/>      <property name="scrollable" value="true"/>      <property name="extent" value="-7.0,-0.09302325581395349,407.0,1.0930232558139534"/>      <property name="tickInterval" value="1,1"/>      <property name="yAxisName" value="Y"/>    </component>    <component class="org.escot.demo.SimpleGraph" position="370,308" size="277,62" portid="SimpleGraph-3">      <property name="labelInterval" value="5,5"/>      <property name="derivative" value="0"/>      <property name="xAxisName" value="X"/>      <property name="scrollable" value="true"/>      <property name="extent" value="-1.5,-0.1,401.5,1.1"/>      <property name="tickInterval" value="1,1"/>      <property name="yAxisName" value="Y"/>    </component>    <component class="edu.colorado.agentsheets.AgentSheetsWrapper" position="5,132" size="344,299" portid="AgentSheetsWrapper-1">      <property name="classname" value="activity34"/>      <property name="XMLWorksheet" value="thirdactivity.ws"/>      <property name="XMLPropertysheet" value="Simulation-Properties34.sip"/>    </component>    <component class="org.escot.demo.ButtonPanel" position="430,29" size="135,29" portid="ButtonPanel-1">      <property name="font" value="Dialog,Dialog,0,12"/>    </component>    <component class="com.sri.escot.EscotLabel" position="366,8" size="99,15">      <property name="text" value="Press Reset first,"/>      <property name="foreground" value="0,0,0"/>      <property name="background" value="204,204,204"/>      <property name="font" value="Dialog,Dialog,0,12"/>    </component>    <component class="com.sri.escot.EscotLabel" position="478,9" size="154,15">      <property name="text" value="then the clearGraph button."/>      <property name="foreground" value="0,0,0"/>      <property name="background" value="204,204,204"/>      <property name="font" value="Dialog,Dialog,0,12"/>    </component>    <component class="com.sri.escot.EscotLabel" position="17,452" size="646,22">      <property name="text" value="Please click on the &#34;2&#34; at the top of this window to answer questions on the second page."/>      <property name="foreground" value="0,0,0"/>      <property name="background" value="204,204,204"/>      <property name="font" value="Dialog,Dialog,0,12"/>    </component>    <component class="com.sri.escot.EscotLabel" position="31,476" size="80,15">      <property name="text" value=""/>      <property name="foreground" value="0,0,0"/>      <property name="background" value="204,204,204"/>      <property name="font" value="Dialog,Dialog,0,12"/>    </component>    <wire type="org.escot.Broker">      <from portid="AgentSheetsWrapper-1" name="PLAYERASCORE"/>      <to portid="NumberEntry-3" name="number"/>    </wire>    <wire type="org.escot.Broker">      <from portid="AgentSheetsWrapper-1" name="PLAYERBSCORE"/>      <to portid="NumberEntry-2" name="number"/>    </wire>    <wire type="org.escot.Broker">      <from portid="AgentSheetsWrapper-1" name="PLAYERCSCORE"/>      <to portid="NumberEntry-4" name="number"/>    </wire>    <wire type="org.escot.Broker">      <from portid="AgentSheetsWrapper-1" name="TRIALSTOGO"/>      <to portid="NumberEntry-7" name="number"/>    </wire>    <wire type="org.escot.Broker">      <from portid="AgentSheetsWrapper-1" name="PROBABILITYTHATAWINS"/>      <to portid="SimpleGraph-1" name=""/>    </wire>    <wire type="org.escot.Broker">      <from portid="AgentSheetsWrapper-1" name="PROBABILITYTHATBWINS"/>      <to portid="SimpleGraph-2" name=""/>    </wire>    <wire type="org.escot.Broker">      <from portid="AgentSheetsWrapper-1" name="PROBABILITYTHATCWINS"/>      <to portid="SimpleGraph-3" name=""/>    </wire>    <wire type="org.escot.Broker">      <from portid="AgentSheetsWrapper-1" name="clearGraph"/>      <to portid="ButtonPanel-1" name=""/>    </wire>  </page>  <page name="Answer page.">    <component class="org.escot.demo.TextEditor" answerText="true" position="10,10" size="661,321" portid="TextEditor-2">      <![CDATA[Your Solutions Here!
1. What is your prediction for each player's score? Why do you think it will turn out this way? (Answer this first. Then play the simulation. Then come back and answer the other questions.)

2. How many points did each player get when you ran the simulation?

3. How do these results compare with your prediction?

4. What is the winning percentage for each player?]]>      <property name="foreground" value="0,0,0"/>      <property name="background" value="255,255,255"/>      <property name="font" value="Application,Application,0,10"/>    </component>  </page></activity>

