<?xml version="1.0" encoding="UTF-8"?>
<quiz>
<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test #9/L66- Circles - Circumference and Area</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361246  -->
  <question type="formulas">
    <name>
      <text>L66-Area-Given diameter</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:''});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'2',name:''});
    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'2',name:''});
    var radius=board.create('line',[pr2,pr],{straightFirst:false,straightLast:false});
    var c1=board.create('circle',[po,pr]);
    var tRadius=board.create('text',[0.1,0.1,"{diameter} {unit}"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize:'20'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table><tbody><tr><td>Area = \(\pi\) radius<sup>2</sup></td><td></td><td><br>The Formula for Area<br><br></td></tr><tr><td>Area = (3.14)({radius})<sup>2</sup></td><td></td><td><br>Substitute the known values: Use \(\pi\) = 3.14<br>diameter = {diameter}, therefore calculate the radius. Radius = \(\frac{1}{2}\) of the diameter = (\(\frac{1}{2}\))({diameter})={radius}<br><br></td></tr><tr><td>Area = (3.14)({=radius*radius})</td><td></td><td><br>Calculate ({radius})<sup>2</sup><br>({radius})<sup>2</sup>=({radius})({radius}) = {=radius*radius}<br><br></td></tr><tr><td><strong>Area = {area} {unit}<sup>2</sup></strong></td><td></td><td><br>Multiply (3.14)({=radius*radius})<br><br></td></tr><tr><td></td><td></td><td>*** Remember that Area is square units</td></tr></tbody></table>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:15:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[diameter=2*radius;
units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;
area=3.14*radius*radius;
supAngle=angle+pi();
Xb=cos(supAngle);
Yb=sin(supAngle);]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[area,1]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Find the area of the circle.&nbsp; (use 3.14 for π)</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
{_0}{_1:units:MCE}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361248  -->
  <question type="formulas">
    <name>
      <text>L66-Area-Given diameter(TEXT)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[Find the Area of a circle with a diameter of {diameter} {unit}.&nbsp;&nbsp; (use 3.14 for π)<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td>Area = \(\pi\) radius<sup>2</sup></td>
            <td></td>
            <td><br>The Formula for Area<br><br></td>
        </tr>
        <tr>
            <td>Area = (3.14)({radius})<sup>2</sup></td>
            <td></td>
            <td><br>Substitute the known values:  Use \(\pi\) = 3.14<br>diameter = {diameter}, therefore calculate the radius.  Radius = \(\frac{1}{2}\) of the diameter = (\(\frac{1}{2}\))({diameter})={radius}<br><br></td>
        </tr>
        <tr>
            <td>Area = (3.14)({=radius*radius})</td>
            <td></td>
            <td><br>Calculate ({radius})<sup>2</sup><br>({radius})<sup>2</sup>=({radius})({radius}) = {=radius*radius}<br><br></td>
        </tr>
        <tr>
          <td><strong>Area = {area} {unit}<sup>2</sup></strong></td>
            <td></td>
            <td><br>Multiply (3.14)({=radius*radius})<br><br></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td>*** Remember that Area is square units</td>
        </tr>
    </tbody>
</table>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:15:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[diameter=2*radius;
units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;
area=3.14*radius*radius;
supAngle=angle+pi();
Xb=cos(supAngle);
Yb=sin(supAngle);]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[area,1]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The area of the circle is {_0}{_1:units:MCE}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361247  -->
  <question type="formulas">
    <name>
      <text>L66-area-Given Radius</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:''});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'2',name:''});
    var radius=board.create('line',[po,pr],{straightFirst:false,straightLast:false});
    var c1=board.create('circle',[po,pr]);
    var tRadius=board.create('text',[{Xa}/2,{Ya}/2,"{radius} {unit}"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize:'20'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"></p><table><tbody><tr><td>Area = \(\pi\) radius<sup>2</sup></td><td></td><td><br>The Formula for Area<br><br></td></tr><tr><td>Area = (3.14)({radius})<sup>2</sup></td><td></td><td><br>Substitute the known values:<br>Use \(\pi\) = 3.14<br>radius={radius}<br><br></td></tr><tr><td>Area = (3.14)({=radius*radius})</td><td></td><td><br>Calculate ({radius})<sup>2</sup><br>({radius})<sup>2</sup>=({radius})({radius}) = {=radius*radius}<br><br></td></tr><tr><td><strong>Area = {area} {unit}<sup>2</sup></strong></td><td></td><td><br>Multiply (3.14)({=radius*radius})<br><br></td></tr><tr><td></td><td></td><td>*** Remember that Area is square units</td></tr></tbody></table><br><br><p></p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:15:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;
area=3.14*radius*radius;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[area,1]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Find the area of the circle.&nbsp; (use 3.14 for π)</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
{_0}{_1:units:MCE}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361249  -->
  <question type="formulas">
    <name>
      <text>L66-area-Given Radius-TEXT</text>
    </name>
    <questiontext format="html">
      <text>Find the area of a circle with a radius of {radius} {unit}. (use \(\pi\) = 3.14)</text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"></p><table><tbody><tr><td>Area = \(\pi\) radius<sup>2</sup></td><td></td><td><br>The Formula for Area<br><br></td></tr><tr><td>Area = (3.14)({radius})<sup>2</sup></td><td></td><td><br>Substitute the known values: <br>Use \(\pi\) = 3.14<br>radius={radius}<br><br></td></tr><tr><td>Area = (3.14)({=radius*radius})</td><td></td><td><br>Calculate ({radius})<sup>2</sup><br>({radius})<sup>2</sup>=({radius})({radius}) = {=radius*radius}<br><br></td></tr><tr><td><strong>Area = {area} {unit}<sup>2</sup></strong></td><td></td><td><br>Multiply (3.14)({=radius*radius})<br><br></td></tr><tr><td></td><td></td><td>*** Remember that Area is square units</td></tr></tbody></table><br><p></p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:15:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;
area=3.14*radius*radius;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[area,1]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
<p dir="ltr" style="text-align: left;">The area of the circle={_0}{_1:units:MCE}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361243  -->
  <question type="formulas">
    <name>
      <text>L66-Circumference-Given diameter</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:''});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'2',name:''});
    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'2',name:''});
    var radius=board.create('line',[pr2,pr],{straightFirst:false,straightLast:false});
    var c1=board.create('circle',[po,pr]);
    var tRadius=board.create('text',[0.1,0.1,"{diameter} {unit}"],{fixed:true,anchorX:'middle',anchorY:'middle'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[diameter=2*radius;
units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;
supAngle=angle+pi();
Xb=cos(supAngle);
Yb=sin(supAngle);]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[cir,0]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Find the circumference of the circle.&nbsp; (use 3.14 for π)</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
{_0}{_1:units:MCE}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361245  -->
  <question type="formulas">
    <name>
      <text>L66-Circumference-Given diameter</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:''});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'2',name:''});
    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'2',name:''});
    var radius=board.create('line',[pr2,pr],{straightFirst:false,straightLast:false});
    var c1=board.create('circle',[po,pr]);
    var tRadius=board.create('text',[0.1,0.1,"{diameter} {unit}"],{fixed:true,anchorX:'middle',anchorY:'middle'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"></p><table><tbody><tr><td>Circumference = \(\pi\) diameter</td><td></td><td><br>The Formula for Circumference<br><br></td></tr><tr><td>C = (3.14)({diameter})</td><td></td><td><br>Substitute the known values:<br>Use \(\pi\) = 3.14<br>diameter={diameter}<br><br></td></tr><tr><td><strong>C&nbsp;= {cir} {unit}</strong></td><td></td><td><br>Multiply (3.14)({diameter})<br><br></td></tr><tr><td></td><td></td><td><br></td></tr></tbody></table><br><br><p></p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[diameter=2*radius;
units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;
supAngle=angle+pi();
Xb=cos(supAngle);
Yb=sin(supAngle);]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[cir,0]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Find the circumference of the circle.&nbsp; (use 3.14 for π)</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
{_0}{_1:units:MCE}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361255  -->
  <question type="formulas">
    <name>
      <text>L66-Circumference-Given diameter</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:''});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'2',name:''});
    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'2',name:''});
    var radius=board.create('line',[pr2,pr],{straightFirst:false,straightLast:false});
    var c1=board.create('circle',[po,pr]);
    var tRadius=board.create('text',[0.1,0.1,"{diameter} {unit}"],{fixed:true,anchorX:'middle',anchorY:'middle'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"></p><table><tbody><tr><td>Circumference = \(\pi\) diameter</td><td></td><td><br>The Formula for Circumference<br><br></td></tr><tr><td>C = (3.14)({diameter})</td><td></td><td><br>Substitute the known values:<br>Use \(\pi\) = 3.14<br>diameter={diameter}<br><br></td></tr><tr><td><strong>C&nbsp;= {cir} {unit}</strong></td><td></td><td><br>Multiply (3.14)({diameter})<br><br></td></tr><tr><td></td><td></td><td><br></td></tr></tbody></table><br><br><p></p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[diameter=2*radius;
units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;
supAngle=angle+pi();
Xb=cos(supAngle);
Yb=sin(supAngle);]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[cir,0]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Find the circumference of the circle.&nbsp; (use 3.14 for π)</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
{_0}{_1:units:MCE}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361250  -->
  <question type="formulas">
    <name>
      <text>L66-Circumference-Given diameter -TEXT</text>
    </name>
    <questiontext format="html">
      <text>Calculate the circumference of a circle with a diameter ={diameter} {unit}. (Use \(\pi\)=3.14)</text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"></p>
<table>
    <tbody>
        <tr>
            <td>Circumference = \(\pi\) diameter</td>
            <td></td>
            <td><br>The Formula for Circumference<br><br></td>
        </tr>
        <tr>
            <td>C = (3.14)({diameter})</td>
            <td></td>
            <td><br>Substitute the known values:<br>Use \(\pi\) = 3.14<br>diameter={diameter}<br><br></td>
        </tr>
        
        <tr>
            <td><strong>C&nbsp;= {cir} {unit}</strong></td>
            <td></td>
            <td><br>Multiply (3.14)({diameter})<br><br></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td><br></td>
        </tr>
    </tbody>
</table><br><br>
<p></p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[diameter=2*radius;
units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;
supAngle=angle+pi();
Xb=cos(supAngle);
Yb=sin(supAngle);]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[cir,0]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
<p dir="ltr" style="text-align: left;">The circumference of the circle is {_0}{_1:units:MCE}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361256  -->
  <question type="formulas">
    <name>
      <text>L66-Circumference-Given diameter -TEXT</text>
    </name>
    <questiontext format="html">
      <text>Calculate the circumference of a circle with a diameter ={diameter} {unit}. (Use \(\pi\)=3.14)</text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"></p>
<table>
    <tbody>
        <tr>
            <td>Circumference = \(\pi\) diameter</td>
            <td></td>
            <td><br>The Formula for Circumference<br><br></td>
        </tr>
        <tr>
            <td>C = (3.14)({diameter})</td>
            <td></td>
            <td><br>Substitute the known values:<br>Use \(\pi\) = 3.14<br>diameter={diameter}<br><br></td>
        </tr>
        
        <tr>
            <td><strong>C&nbsp;= {cir} {unit}</strong></td>
            <td></td>
            <td><br>Multiply (3.14)({diameter})<br><br></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td><br></td>
        </tr>
    </tbody>
</table><br><br>
<p></p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[diameter=2*radius;
units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;
supAngle=angle+pi();
Xb=cos(supAngle);
Yb=sin(supAngle);]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[cir,0]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
<p dir="ltr" style="text-align: left;">The circumference of the circle is {_0}{_1:units:MCE}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361242  -->
  <question type="formulas">
    <name>
      <text>L66-Circumference-Given Radius</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:''});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'2',name:''});
    var radius=board.create('line',[po,pr],{straightFirst:false,straightLast:false});
    var c1=board.create('circle',[po,pr]);
    var tRadius=board.create('text',[{Xa}/2,{Ya}/2,"{radius} {unit}"],{fixed:true,anchorX:'middle',anchorY:'middle'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[cir,0]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Find the circumference of the circle.&nbsp; (use 3.14 for π)</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
{_0}{_1:units:MCE}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361244  -->
  <question type="formulas">
    <name>
      <text>L66-Circumference-Given Radius</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:''});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'2',name:''});
    var radius=board.create('line',[po,pr],{straightFirst:false,straightLast:false});
    var c1=board.create('circle',[po,pr]);
    var tRadius=board.create('text',[{Xa}/2,{Ya}/2,"{radius} {unit}"],{fixed:true,anchorX:'middle',anchorY:'middle'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"></p><table><tbody><tr><td>Circumference = 2\(\pi\) radius</td><td></td><td><br>The Formula for Circumference<br><br></td></tr><tr><td>C = (2)(3.14)({radius})</td><td></td><td><br>Substitute the known values:<br>Use \(\pi\) = 3.14<br>radius={radius}<br><br></td></tr><tr><td>C = (3.14)({diameter})</td><td></td><td><br>Multiply (2)({radius}) = {diameter}<br><br></td></tr><tr><td><strong>C&nbsp;= {cir} {unit}</strong></td><td></td><td><br>Multiply (3.14)({diameter})<br><br></td></tr><tr><td></td><td></td><td><br></td></tr></tbody></table><br><br><p></p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[cir,0]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Find the circumference of the circle.&nbsp; (use 3.14 for π)</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
{_0}{_1:units:MCE}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361254  -->
  <question type="formulas">
    <name>
      <text>L66-Circumference-Given Radius</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:''});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'2',name:''});
    var radius=board.create('line',[po,pr],{straightFirst:false,straightLast:false});
    var c1=board.create('circle',[po,pr]);
    var tRadius=board.create('text',[{Xa}/2,{Ya}/2,"{radius} {unit}"],{fixed:true,anchorX:'middle',anchorY:'middle'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"></p><table><tbody><tr><td>Circumference = 2\(\pi\) radius</td><td></td><td><br>The Formula for Circumference<br><br></td></tr><tr><td>C = (2)(3.14)({radius})</td><td></td><td><br>Substitute the known values:<br>Use \(\pi\) = 3.14<br>radius={radius}<br><br></td></tr><tr><td>C = (3.14)({diameter})</td><td></td><td><br>Multiply (2)({radius}) = {diameter}<br><br></td></tr><tr><td><strong>C&nbsp;= {cir} {unit}</strong></td><td></td><td><br>Multiply (3.14)({diameter})<br><br></td></tr><tr><td></td><td></td><td><br></td></tr></tbody></table><br><br><p></p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[cir,0]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Find the circumference of the circle.&nbsp; (use 3.14 for π)</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
{_0}{_1:units:MCE}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361251  -->
  <question type="formulas">
    <name>
      <text>L66-Circumference-Given Radius-TEXT</text>
    </name>
    <questiontext format="html">
      <text>Calculate the Circumference of a circle with a radius of {radius} {unit}.</text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"></p>
<table>
    <tbody>
        <tr>
            <td>Circumference = 2\(\pi\) radius</td>
            <td></td>
            <td><br>The Formula for Circumference<br><br></td>
        </tr>
        <tr>
            <td>C = (2)(3.14)({radius})</td>
            <td></td>
            <td><br>Substitute the known values:<br>Use \(\pi\) = 3.14<br>radius={radius}<br><br></td>
        </tr>
      <tr>
            <td>C = (3.14)({diameter})</td>
            <td></td>
            <td><br>Multiply (2)({radius}) = {diameter}<br><br></td>
        </tr>
        <tr>
            <td><strong>C&nbsp;= {cir} {unit}</strong></td>
            <td></td>
            <td><br>Multiply (3.14)({diameter})<br><br></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td><br></td>
        </tr>
    </tbody>
</table><br><br>
<p></p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[cir,0]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
<p dir="ltr" style="text-align: left;">The circumference of the circle= {_0}{_1:units:MCE}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361257  -->
  <question type="formulas">
    <name>
      <text>L66-Circumference-Given Radius-TEXT</text>
    </name>
    <questiontext format="html">
      <text>Calculate the Circumference of a circle with a radius of {radius} {unit}.</text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"></p>
<table>
    <tbody>
        <tr>
            <td>Circumference = 2\(\pi\) radius</td>
            <td></td>
            <td><br>The Formula for Circumference<br><br></td>
        </tr>
        <tr>
            <td>C = (2)(3.14)({radius})</td>
            <td></td>
            <td><br>Substitute the known values:<br>Use \(\pi\) = 3.14<br>radius={radius}<br><br></td>
        </tr>
      <tr>
            <td>C = (3.14)({diameter})</td>
            <td></td>
            <td><br>Multiply (2)({radius}) = {diameter}<br><br></td>
        </tr>
        <tr>
            <td><strong>C&nbsp;= {cir} {unit}</strong></td>
            <td></td>
            <td><br>Multiply (3.14)({diameter})<br><br></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td><br></td>
        </tr>
    </tbody>
</table><br><br>
<p></p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[cir,0]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
<p dir="ltr" style="text-align: left;">The circumference of the circle= {_0}{_1:units:MCE}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361258  -->
  <question type="formulas">
    <name>
      <text>TL66--Area-Given diameter (step to find radius)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<span class="" style="color: rgb(239, 69, 64);"><strong><span class="" style="color: rgb(239, 69, 64);">2.</span> </strong></span> <jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:''});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'2',name:''});
    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'2',name:''});
    var radius=board.create('line',[pr2,pr],{straightFirst:false,straightLast:false});
    var c1=board.create('circle',[po,pr]);
    var tRadius=board.create('text',[0.1,0.1,"{diameter} {unit}"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize:'20'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"></p><table><tbody><tr><td>Area = \(\pi\) radius<sup>2</sup></td><td></td><td><br>The Formula for Area<br><br></td></tr><tr><td>Area = (3.14)({radius})<sup>2</sup></td><td></td><td><br>Substitute the known values: Use \(\pi\) = 3.14<br>diameter = {diameter}, therefore calculate the radius. Radius = \(\frac{1}{2}\) of the diameter = (\(\frac{1}{2}\))({diameter})={radius}<br><br></td></tr><tr><td>Area = (3.14)({=radius*radius})</td><td></td><td><br>Calculate ({radius})<sup>2</sup><br>({radius})<sup>2</sup>=({radius})({radius}) = {=radius*radius}<br><br></td></tr><tr><td><strong>Area = {area} {unit}<sup>2</sup></strong></td><td></td><td><br>Multiply (3.14)({=radius*radius})<br><br></td></tr><tr><td></td><td></td><td>*** Remember that Area is square units</td></tr></tbody></table><br><p></p>]]></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={2:15:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[angle=0;
radius=1;
unit="miles";
diameter=2*radius;
units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;
area=3.14*radius*radius;
supAngle=angle+pi();
Xb=cos(supAngle);
Yb=sin(supAngle);]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[radius,0]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">What is the radius of the circle? {_0} {_1:units:MCE}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The diameter = {diameter}</p><p dir="ltr" style="text-align: left;">r= \(\frac{1}{2}\)d</p><p dir="ltr" style="text-align: left;">r=&nbsp;\(\frac{1}{2}\)){diameter})</p><p dir="ltr" style="text-align: left;">r={radius}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[area,1]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Find the area of the circle.&nbsp; (use 3.14 for π)</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
{_0}{_1:units:MCE}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test #9/L67- Functions</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361275  -->
  <question type="formulas">
    <name>
      <text>L67- Function Machine (2x)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The function f(x) = 2(x) is used to find twice a number.&nbsp; Calculate the value of the function, f(x)={function} at x = {x1}, x={x2}, and x={x3}.&nbsp;<jsxgraph width="300" height="300">var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-.5,12,12,-.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[0,0],{fixed:true,size:'0',name:''});
    var p1=board.create('point',[9,0],{fixed:true,size:'0',name:''});
    var p2=board.create('point',[9,2],{fixed:true,size:'0',name:''});
    var p3=board.create('point',[6,2],{fixed:true,size:'0',name:''});
    var p4=board.create('point',[6,6],{fixed:true,size:'0',name:''});
    var p5=board.create('point',[2,6],{fixed:true,size:'0',name:''});
    var p6=board.create('point',[3,7],{fixed:true,size:'0',name:''});
    var p7=board.create('point',[0,7],{fixed:true,size:'0',name:''});
    var p8=board.create('point',[1,6],{fixed:true,size:'0',name:''});
    var p9=board.create('point',[0,6],{fixed:true,size:'0',name:''});
    var body=board.create('polygon',[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],{fillColor:'{color0}',strokeColor:'{color1}'});
    var out=board.create('ellipse',[[9,0.01],[9,1.99],[9.1,1]],{fillColor:'{color0}'});
    var out=board.create('ellipse',[[0,7],[3,7],[1.5,7.1]],{fillColor:'{color0}'});
    var tFunciton=board.create('text',[1,3,"f(x) = {function}"],{fontSize:'20',fixed:true});
    var arrowIn=board.create('line',[[1.5,10],[1.5,8]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true});
    var tx1=board.create('text',[2,10,"x"],{fontSize:'20',fixed:true});
    var arrowOut=board.create('line',[[9,1],[10,1]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true,strokeColor:'black'});
    var ty1=board.create('text',[10.25,1,"f(x)"],{fontSize:'20',fixed:true});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>3.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[color0={"red","orange","green","blue"};
color1={"purple","pink","brown","yellow"};
x1={-5:-1,1:5};
x2={-10:-6,6:10};
x3={-15:-11,11:15};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[function=join("","2x");
y1=2*x1;
y2=2*x2;
y3=2*x3;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x1}) = 2({x1}) = {_0}</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<br><table><tbody><tr><td>f(x)={function}</td><td></td><td>given</td></tr><tr><td>f({x1})=2({x1})</td><td></td><td>Substitute x={x1}</td></tr><tr><td>f({x1}) = {y1}</td><td></td><td>Simplify</td></tr><tr><td></td><td></td></tr></tbody></table><br>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y2</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x2}) = 2({x1}) =&nbsp;{_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>f(x)={function}</td>
            <td></td>
            <td>given</td>
        </tr>
        <tr>
            <td>f({x2})=2({x2})</td>
            <td></td>
            <td>Substitute x={x2}</td>
        </tr>
        <tr>
            <td>f({x2}) = {y2}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
        <tr>
            <td></td>

        </tr>
    </tbody>
</table><br>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y3</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x3}) = 2({x3})<sup></sup>= {_0}<br></p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 60;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>f(x)={function}</td>
            <td></td>
            <td>given</td>
        </tr>
        <tr>
            <td>f({x3})=2({x3})</td>
            <td></td>
            <td>Substitute x={x3}</td>
        </tr>
        <tr>
            <td>f({x3}) = {y3}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
        <tr>
            <td></td>

        </tr>
    </tbody>
</table><br>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361278  -->
  <question type="formulas">
    <name>
      <text>L67- Function Machine (2x)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The function f(x) = 2(x) is used to find twice a number.&nbsp; Calculate the value of the function, f(x)={function} at x = {x1}, x={x2}, and x={x3}.&nbsp;<jsxgraph width="300" height="300">var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-.5,12,12,-.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[0,0],{fixed:true,size:'0',name:''});
    var p1=board.create('point',[9,0],{fixed:true,size:'0',name:''});
    var p2=board.create('point',[9,2],{fixed:true,size:'0',name:''});
    var p3=board.create('point',[6,2],{fixed:true,size:'0',name:''});
    var p4=board.create('point',[6,6],{fixed:true,size:'0',name:''});
    var p5=board.create('point',[2,6],{fixed:true,size:'0',name:''});
    var p6=board.create('point',[3,7],{fixed:true,size:'0',name:''});
    var p7=board.create('point',[0,7],{fixed:true,size:'0',name:''});
    var p8=board.create('point',[1,6],{fixed:true,size:'0',name:''});
    var p9=board.create('point',[0,6],{fixed:true,size:'0',name:''});
    var body=board.create('polygon',[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],{fillColor:'{color0}',strokeColor:'{color1}'});
    var out=board.create('ellipse',[[9,0.01],[9,1.99],[9.1,1]],{fillColor:'{color0}'});
    var out=board.create('ellipse',[[0,7],[3,7],[1.5,7.1]],{fillColor:'{color0}'});
    var tFunciton=board.create('text',[1,3,"f(x) = {function}"],{fontSize:'20',fixed:true});
    var arrowIn=board.create('line',[[1.5,10],[1.5,8]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true});
    var tx1=board.create('text',[2,10,"x"],{fontSize:'20',fixed:true});
    var arrowOut=board.create('line',[[9,1],[10,1]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true,strokeColor:'black'});
    var ty1=board.create('text',[10.25,1,"f(x)"],{fontSize:'20',fixed:true});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>3.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[color0={"red","orange","green","blue"};
color1={"purple","pink","brown","yellow"};
x1={-5:-1,1:5};
x2={-10:-6,6:10};
x3={-15:-11,11:15};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[function=join("","2x");
y1=2*x1;
y2=2*x2;
y3=2*x3;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x1}) = 2({x1}) = {_0}</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<br><table><tbody><tr><td>f(x)={function}</td><td></td><td>given</td></tr><tr><td>f({x1})=2({x1})</td><td></td><td>Substitute x={x1}</td></tr><tr><td>f({x1}) = {y1}</td><td></td><td>Simplify</td></tr><tr><td></td><td></td></tr></tbody></table><br>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y2</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x2}) = 2({x2}) =&nbsp;{_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>f(x)={function}</td>
            <td></td>
            <td>given</td>
        </tr>
        <tr>
            <td>f({x2})=2({x2})</td>
            <td></td>
            <td>Substitute x={x2}</td>
        </tr>
        <tr>
            <td>f({x2}) = {y2}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
        <tr>
            <td></td>

        </tr>
    </tbody>
</table><br>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y3</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x3}) = 2({x3})<sup></sup>= {_0}<br></p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 60;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>f(x)={function}</td>
            <td></td>
            <td>given</td>
        </tr>
        <tr>
            <td>f({x3})=2({x3})</td>
            <td></td>
            <td>Substitute x={x3}</td>
        </tr>
        <tr>
            <td>f({x3}) = {y3}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
        <tr>
            <td></td>

        </tr>
    </tbody>
</table><br>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361283  -->
  <question type="formulas">
    <name>
      <text>L67- Function Machine (2x)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The function f(x) = 2(x) is used to find twice a number.&nbsp; Calculate the value of the function, f(x)={function} at x = {x1}, x={x2}, and x={x3}.&nbsp;<jsxgraph width="300" height="300">var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-.5,12,12,-.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[0,0],{fixed:true,size:'0',name:''});
    var p1=board.create('point',[9,0],{fixed:true,size:'0',name:''});
    var p2=board.create('point',[9,2],{fixed:true,size:'0',name:''});
    var p3=board.create('point',[6,2],{fixed:true,size:'0',name:''});
    var p4=board.create('point',[6,6],{fixed:true,size:'0',name:''});
    var p5=board.create('point',[2,6],{fixed:true,size:'0',name:''});
    var p6=board.create('point',[3,7],{fixed:true,size:'0',name:''});
    var p7=board.create('point',[0,7],{fixed:true,size:'0',name:''});
    var p8=board.create('point',[1,6],{fixed:true,size:'0',name:''});
    var p9=board.create('point',[0,6],{fixed:true,size:'0',name:''});
    var body=board.create('polygon',[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],{fillColor:'{color0}',strokeColor:'{color1}'});
    var out=board.create('ellipse',[[9,0.01],[9,1.99],[9.1,1]],{fillColor:'{color0}'});
    var out=board.create('ellipse',[[0,7],[3,7],[1.5,7.1]],{fillColor:'{color0}'});
    var tFunciton=board.create('text',[1,3,"f(x) = {function}"],{fontSize:'20',fixed:true});
    var arrowIn=board.create('line',[[1.5,10],[1.5,8]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true});
    var tx1=board.create('text',[2,10,"x"],{fontSize:'20',fixed:true});
    var arrowOut=board.create('line',[[9,1],[10,1]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true,strokeColor:'black'});
    var ty1=board.create('text',[10.25,1,"f(x)"],{fontSize:'20',fixed:true});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>3.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[color0={"red","orange","green","blue"};
color1={"purple","pink","brown","yellow"};
x1={-5:-1,1:5};
x2={-10:-6,6:10};
x3={-15:-11,11:15};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[function=join("","2x");
y1=2*x1;
y2=2*x2;
y3=2*x2;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x1}) = 2({x1}) = {_0}</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<br><table><tbody><tr><td>f(x)={function}</td><td></td><td>given</td></tr><tr><td>f({x1})=2({x1})</td><td></td><td>Substitute x={x1}</td></tr><tr><td>f({x1}) = {y1}</td><td></td><td>Simplify</td></tr><tr><td></td><td></td></tr></tbody></table><br>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y2</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x2}) = 2({x1}) =&nbsp;{_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>f(x)={function}</td>
            <td></td>
            <td>given</td>
        </tr>
        <tr>
            <td>f({x2})=2({x2})</td>
            <td></td>
            <td>Substitute x={x2}</td>
        </tr>
        <tr>
            <td>f({x2}) = {y2}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
        <tr>
            <td></td>

        </tr>
    </tbody>
</table><br>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y3</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x3}) = 2({x1})<sup></sup>= {_0}<br></p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 60;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>f(x)={function}</td>
            <td></td>
            <td>given</td>
        </tr>
        <tr>
            <td>f({x3})=2({x3})</td>
            <td></td>
            <td>Substitute x={x3}</td>
        </tr>
        <tr>
            <td>f({x3}) = {y3}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
        <tr>
            <td></td>

        </tr>
    </tbody>
</table><br>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361270  -->
  <question type="formulas">
    <name>
      <text>L67- Function Machine (abs x)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The function f(x) = |x| is used to find the distance x is from the origin.&nbsp; Calculate the value of the function, f(x)={function} at x = {x1}, x={x2}, and x={x3}.&nbsp;<jsxgraph width="300" height="300">var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-.5,12,12,-.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[0,0],{fixed:true,size:'0',name:''});
    var p1=board.create('point',[9,0],{fixed:true,size:'0',name:''});
    var p2=board.create('point',[9,2],{fixed:true,size:'0',name:''});
    var p3=board.create('point',[6,2],{fixed:true,size:'0',name:''});
    var p4=board.create('point',[6,6],{fixed:true,size:'0',name:''});
    var p5=board.create('point',[2,6],{fixed:true,size:'0',name:''});
    var p6=board.create('point',[3,7],{fixed:true,size:'0',name:''});
    var p7=board.create('point',[0,7],{fixed:true,size:'0',name:''});
    var p8=board.create('point',[1,6],{fixed:true,size:'0',name:''});
    var p9=board.create('point',[0,6],{fixed:true,size:'0',name:''});
    var body=board.create('polygon',[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],{fillColor:'{color0}',strokeColor:'{color1}'});
    var out=board.create('ellipse',[[9,0.01],[9,1.99],[9.1,1]],{fillColor:'{color0}'});
    var out=board.create('ellipse',[[0,7],[3,7],[1.5,7.1]],{fillColor:'{color0}'});
    var tFunciton=board.create('text',[1,3,"f(x) = {function}"],{fontSize:'20',fixed:true});
    var arrowIn=board.create('line',[[1.5,10],[1.5,8]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true});
    var tx1=board.create('text',[2,10,"x"],{fontSize:'20',fixed:true});
    var arrowOut=board.create('line',[[9,1],[10,1]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true,strokeColor:'black'});
    var ty1=board.create('text',[10.25,1,"f(x)"],{fontSize:'20',fixed:true});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>3.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[color0={"red","orange","green","blue"};
color1={"purple","pink","brown","yellow"};
x1={-5:-1,1:5};
x2={-10:-6,6:10};
x3={-15:-11,11:15};

]]></text>
</varsrandom>
<varsglobal><text><![CDATA[function=join("","|x|");
y1=abs(x1);
y2=abs(x2);
y3=abs(x3);]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x1}) = |{x1}| = {_0}</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<br><table><tbody><tr><td>f(x)={function}</td><td></td><td>given</td></tr><tr><td>f({x1})=|{x1}|</td><td></td><td>Substitute x={x1}</td></tr><tr><td>f({x1}) = {y1}</td><td></td><td>Simplify</td></tr><tr><td></td><td></td></tr></tbody></table><br>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y2</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x2}) = |{x2}| =&nbsp;{_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>f(x)={function}</td>
            <td></td>
            <td>given</td>
        </tr>
        <tr>
            <td>f({x2})=|{x2}|</td>
            <td></td>
            <td>Substitute x={x2}</td>
        </tr>
        <tr>
            <td>f({x2}) = {y2}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
        <tr>
            <td></td>

        </tr>
    </tbody>
</table><br>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y3</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x3}) = |{x3}|<sup> </sup>= {_0}<br></p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 60;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>f(x)={function}</td>
            <td></td>
            <td>given</td>
        </tr>
        <tr>
            <td>f({x3})=|{x3}|</td>
            <td></td>
            <td>Substitute x={x3}</td>
        </tr>
        <tr>
            <td>f({x3}) = {y3}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
        <tr>
            <td></td>

        </tr>
    </tbody>
</table><br>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361271  -->
  <question type="formulas">
    <name>
      <text>L67- Function Machine (abs x)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The function f(x) = |x| is used to find the distance x is from the origin.&nbsp; Calculate the value of the function, f(x)={function} at x = {x1}, x={x2}, and x={x3}.&nbsp;<jsxgraph width="300" height="300">var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-.5,12,12,-.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[0,0],{fixed:true,size:'0',name:''});
    var p1=board.create('point',[9,0],{fixed:true,size:'0',name:''});
    var p2=board.create('point',[9,2],{fixed:true,size:'0',name:''});
    var p3=board.create('point',[6,2],{fixed:true,size:'0',name:''});
    var p4=board.create('point',[6,6],{fixed:true,size:'0',name:''});
    var p5=board.create('point',[2,6],{fixed:true,size:'0',name:''});
    var p6=board.create('point',[3,7],{fixed:true,size:'0',name:''});
    var p7=board.create('point',[0,7],{fixed:true,size:'0',name:''});
    var p8=board.create('point',[1,6],{fixed:true,size:'0',name:''});
    var p9=board.create('point',[0,6],{fixed:true,size:'0',name:''});
    var body=board.create('polygon',[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],{fillColor:'{color0}',strokeColor:'{color1}'});
    var out=board.create('ellipse',[[9,0.01],[9,1.99],[9.1,1]],{fillColor:'{color0}'});
    var out=board.create('ellipse',[[0,7],[3,7],[1.5,7.1]],{fillColor:'{color0}'});
    var tFunciton=board.create('text',[1,3,"f(x) = {function}"],{fontSize:'20',fixed:true});
    var arrowIn=board.create('line',[[1.5,10],[1.5,8]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true});
    var tx1=board.create('text',[2,10,"x"],{fontSize:'20',fixed:true});
    var arrowOut=board.create('line',[[9,1],[10,1]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true,strokeColor:'black'});
    var ty1=board.create('text',[10.25,1,"f(x)"],{fontSize:'20',fixed:true});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">|x| means "how far is the value from x?"</p>]]></text>
    </generalfeedback>
    <defaultgrade>3.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[color0={"red","orange","green","blue"};
color1={"purple","pink","brown","yellow"};
x1={-5:-1,1:5};
x2={-10:-6,6:10};
x3={-15:-11,11:15};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[function=join("","|x|");
y1=abs(x1);
y2=abs(x2);
y3=abs(x3);]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x1}) = |{x1}| = {_0}</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<br><table><tbody><tr><td>f(x)={function}</td><td></td><td>given</td></tr><tr><td>f({x1})=|{x1}|</td><td></td><td>Substitute x={x1}</td></tr><tr><td>f({x1}) = {y1}</td><td></td><td>Simplify<br>|{x1}| = {y1} because {x1} is {y1} from 0</td></tr><tr><td></td><td></td></tr></tbody></table><br>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y2</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x2}) = |{x2}| =&nbsp;{_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>f(x)={function}</td>
            <td></td>
            <td>given</td>
        </tr>
        <tr>
            <td>f({x2})=|{x2}|</td>
            <td></td>
            <td>Substitute x={x2}</td>
        </tr>
        <tr>
            <td>f({x2}) = {y2}</td>
            <td></td>
            <td>Simplify<br>|{x2}| = {y2} because {x2} is {y2} from 0<br></td>
        </tr>
        <tr>
            <td></td>

        </tr>
    </tbody>
</table><br>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y3</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x3}) = |{x3}|<sup> </sup>= {_0}<br></p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 60;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>f(x)={function}</td>
            <td></td>
            <td>given</td>
        </tr>
        <tr>
            <td>f({x3})=|{x3}|</td>
            <td></td>
            <td>Substitute x={x3}</td>
        </tr>
        <tr>
            <td>f({x3}) = {y3}</td>
            <td></td>
            <td>Simplify<br>|{x3}| = {y3} because {x3} is {y3} from 0<br></td>
        </tr>
        <tr>
            <td></td>

        </tr>
    </tbody>
</table><br>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361286  -->
  <question type="formulas">
    <name>
      <text>L67- Function Machine (abs x)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The function f(x) = |x| is used to find the distance x is from the origin.&nbsp; Calculate the value of the function, f(x)={function} at x = {x1}, x={x2}, and x={x3}.&nbsp;<jsxgraph width="300" height="300">var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-.5,12,12,-.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[0,0],{fixed:true,size:'0',name:''});
    var p1=board.create('point',[9,0],{fixed:true,size:'0',name:''});
    var p2=board.create('point',[9,2],{fixed:true,size:'0',name:''});
    var p3=board.create('point',[6,2],{fixed:true,size:'0',name:''});
    var p4=board.create('point',[6,6],{fixed:true,size:'0',name:''});
    var p5=board.create('point',[2,6],{fixed:true,size:'0',name:''});
    var p6=board.create('point',[3,7],{fixed:true,size:'0',name:''});
    var p7=board.create('point',[0,7],{fixed:true,size:'0',name:''});
    var p8=board.create('point',[1,6],{fixed:true,size:'0',name:''});
    var p9=board.create('point',[0,6],{fixed:true,size:'0',name:''});
    var body=board.create('polygon',[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],{fillColor:'{color0}',strokeColor:'{color1}'});
    var out=board.create('ellipse',[[9,0.01],[9,1.99],[9.1,1]],{fillColor:'{color0}'});
    var out=board.create('ellipse',[[0,7],[3,7],[1.5,7.1]],{fillColor:'{color0}'});
    var tFunciton=board.create('text',[1,3,"f(x) = {function}"],{fontSize:'20',fixed:true});
    var arrowIn=board.create('line',[[1.5,10],[1.5,8]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true});
    var tx1=board.create('text',[2,10,"x"],{fontSize:'20',fixed:true});
    var arrowOut=board.create('line',[[9,1],[10,1]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true,strokeColor:'black'});
    var ty1=board.create('text',[10.25,1,"f(x)"],{fontSize:'20',fixed:true});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>3.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[color0={"red","orange","green","blue"};
color1={"purple","pink","brown","yellow"};
x1={-5:-1,1:5};
x2={-10:-6,6:10};
x3={-15:-11,11:15};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[function=join("","|x|");
y1=abs(x1);
y2=abs(x2);
y3=abs(x3);]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x1}) = |{x1}| = {_0}</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<br><table><tbody><tr><td>f(x)={function}</td><td></td><td>given</td></tr><tr><td>f({x1})=|{x1}|</td><td></td><td>Substitute x={x1}</td></tr><tr><td>f({x1}) = {y1}</td><td></td><td>Simplify</td></tr><tr><td></td><td></td></tr></tbody></table><br>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y2</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x2}) = |{x2}| =&nbsp;{_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>f(x)={function}</td>
            <td></td>
            <td>given</td>
        </tr>
        <tr>
            <td>f({x2})=|{x2}|</td>
            <td></td>
            <td>Substitute x={x2}</td>
        </tr>
        <tr>
            <td>f({x2}) = {y2}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
        <tr>
            <td></td>

        </tr>
    </tbody>
</table><br>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y3</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x3}) = |{x3}|<sup> </sup>= {_0}<br></p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 60;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>f(x)={function}</td>
            <td></td>
            <td>given</td>
        </tr>
        <tr>
            <td>f({x3})=|{x3}|</td>
            <td></td>
            <td>Substitute x={x3}</td>
        </tr>
        <tr>
            <td>f({x3}) = {y3}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
        <tr>
            <td></td>

        </tr>
    </tbody>
</table><br>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361268  -->
  <question type="formulas">
    <name>
      <text>L67- Function Machine (Equation of Line)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[What is the value of the function, f(x)={function} at x = {x1}, x={x2}, and x={x3}?
<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-.5,12,12,-.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[0,0],{fixed:true,size:'0',name:''});
    var p1=board.create('point',[9,0],{fixed:true,size:'0',name:''});
    var p2=board.create('point',[9,2],{fixed:true,size:'0',name:''});
    var p3=board.create('point',[6,2],{fixed:true,size:'0',name:''});
    var p4=board.create('point',[6,6],{fixed:true,size:'0',name:''});
    var p5=board.create('point',[2,6],{fixed:true,size:'0',name:''});
    var p6=board.create('point',[3,7],{fixed:true,size:'0',name:''});
    var p7=board.create('point',[0,7],{fixed:true,size:'0',name:''});
    var p8=board.create('point',[1,6],{fixed:true,size:'0',name:''});
    var p9=board.create('point',[0,6],{fixed:true,size:'0',name:''});
    var body=board.create('polygon',[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],{fillColor:'{color0}',strokeColor:'{color1}'});
    var out=board.create('ellipse',[[9,0.01],[9,1.99],[9.1,1]],{fillColor:'{color0}'});
    var out=board.create('ellipse',[[0,7],[3,7],[1.5,7.1]],{fillColor:'{color0}'});
    var tFunciton=board.create('text',[1,3,"f(x) = {function}"],{fontSize:'20',fixed:true});
    var arrowIn=board.create('line',[[1.5,10],[1.5,8]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true});
    var tx1=board.create('text',[3,10,"x = {x1}"],{fontSize:'20',fixed:true,anchorX:'middle'});
    var arrowOut=board.create('line',[[9,1],[10,1]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true,strokeColor:'black'});
    var ty1=board.create('text',[10.25,1,"f({x1})"],{fontSize:'20',fixed:true});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>3.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[color0={"red","orange","green","blue"};
color1={"purple","pink","brown","yellow"};
x1={1:20:1};
x2={21:30:1};
x3={1:20};
b={-15:-2,2:15};
m={-10:-2,2:10};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[function=pick(b>0,join("",m," x ",b),join("",m," x + ",b));
y1=m*x1+b;
y2=m*x2+b;
y3=m*x3+b;
bVal=pick(b>0,join("",b),join(""," + ",b));]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">f({x1}) = {_0}</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>{function}</td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>Given</td>
        </tr>
        <tr>
            <td>f(x) = ({m})({x1}){bVal}</td>
            <td></td>
            <td>Substitute x = {x1}</td>
        </tr>
        <tr>
            <td>f({x1})= ({=m*x1}) {bVal}</td>
            <td></td>
            <td>Multiply {m} and {x1}</td>
        </tr>
        <tr>
            <td>f({x1})={y1}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
    </tbody>
</table>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y2</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">f({x2}) = {_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>{function}</td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>Given</td>
        </tr>
        <tr>
            <td>f(x) = ({m})({x2}){bVal}</td>
            <td></td>
            <td>Substitute x = {x2}</td>
        </tr>
        <tr>
            <td>f({x2})= ({=m*x2}) {bVal}</td>
            <td></td>
            <td>Multiply {m} and {x2}</td>
        </tr>
        <tr>
            <td>f({x2})={y2}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
    </tbody>
</table>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y3</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">f({x3}) = {_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>{function}</td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>Given</td>
        </tr>
        <tr>
            <td>f(x) = ({m})({x3}){bVal}</td>
            <td></td>
            <td>Substitute x = {x3}</td>
        </tr>
        <tr>
            <td>f({x3})= ({=m*x3}) {bVal}</td>
            <td></td>
            <td>Multiply {m} and {x3}</td>
        </tr>
        <tr>
            <td>f({x3})={y3}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
    </tbody>
</table>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361272  -->
  <question type="formulas">
    <name>
      <text>L67- Function Machine (Equation of Line)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[What is the value of the function, f(x)={function} at x = {x1}, x={x2}, and x={x3}?
<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-.5,12,12,-.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[0,0],{fixed:true,size:'0',name:''});
    var p1=board.create('point',[9,0],{fixed:true,size:'0',name:''});
    var p2=board.create('point',[9,2],{fixed:true,size:'0',name:''});
    var p3=board.create('point',[6,2],{fixed:true,size:'0',name:''});
    var p4=board.create('point',[6,6],{fixed:true,size:'0',name:''});
    var p5=board.create('point',[2,6],{fixed:true,size:'0',name:''});
    var p6=board.create('point',[3,7],{fixed:true,size:'0',name:''});
    var p7=board.create('point',[0,7],{fixed:true,size:'0',name:''});
    var p8=board.create('point',[1,6],{fixed:true,size:'0',name:''});
    var p9=board.create('point',[0,6],{fixed:true,size:'0',name:''});
    var body=board.create('polygon',[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],{fillColor:'{color0}',strokeColor:'{color1}'});
    var out=board.create('ellipse',[[9,0.01],[9,1.99],[9.1,1]],{fillColor:'{color0}'});
    var out=board.create('ellipse',[[0,7],[3,7],[1.5,7.1]],{fillColor:'{color0}'});
    var tFunciton=board.create('text',[1,3,"f(x) = {function}"],{fontSize:'20',fixed:true});
    var arrowIn=board.create('line',[[1.5,10],[1.5,8]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true});
    var tx1=board.create('text',[3,10,"x = {x1}"],{fontSize:'20',fixed:true,anchorX:'middle'});
    var arrowOut=board.create('line',[[9,1],[10,1]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true,strokeColor:'black'});
    var ty1=board.create('text',[10.25,1,"f({x1})"],{fontSize:'20',fixed:true});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>3.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[color0={"red","orange","green","blue"};
color1={"purple","pink","brown","yellow"};
x1={1:20:1};
x2={21:30:1};
x3={1:20};
b={-15:-2,2:15};
m={-10:-2,2:10};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[function=pick(b>0,join("",m," x ",b),join("",m," x + ",b));
y1=m*x1+b;
y2=m*x2+b;
y3=m*x3+b;
bVal=pick(b>0,join("",b),join(""," + ",b));]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">f({x1}) = {_0}</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>{function}</td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>Given</td>
        </tr>
        <tr>
            <td>f(x) = ({m})({x1}){bVal}</td>
            <td></td>
            <td>Substitute x = {x1}</td>
        </tr>
        <tr>
            <td>f({x1})= ({=m*x1}) {bVal}</td>
            <td></td>
            <td>Multiply {m} and {x1}</td>
        </tr>
        <tr>
            <td>f({x1})={y1}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
    </tbody>
</table>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y2</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">f({x2}) = {_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>{function}</td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>Given</td>
        </tr>
        <tr>
            <td>f(x) = ({m})({x2}){bVal}</td>
            <td></td>
            <td>Substitute x = {x2}</td>
        </tr>
        <tr>
            <td>f({x2})= ({=m*x2}) {bVal}</td>
            <td></td>
            <td>Multiply {m} and {x2}</td>
        </tr>
        <tr>
            <td>f({x2})={y2}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
    </tbody>
</table>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y3</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">f({x3}) = {_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>{function}</td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>Given</td>
        </tr>
        <tr>
            <td>f(x) = ({m})({x3}){bVal}</td>
            <td></td>
            <td>Substitute x = {x3}</td>
        </tr>
        <tr>
            <td>f({x3})= ({=m*x3}) {bVal}</td>
            <td></td>
            <td>Multiply {m} and {x3}</td>
        </tr>
        <tr>
            <td>f({x3})={y3}</td>
            <td></td>
            <td>Simplify</td>
        </tr>
    </tbody>
</table>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361276  -->
  <question type="formulas">
    <name>
      <text>L67- Function Machine (increase a number by x)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The function f(x) = x + {b} is used to increase a number by {bWord}.&nbsp; What is the value of the function, f(x)={function} at x = {x1}, x={x2}, and x={x3}?
<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-.5,12,12,-.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[0,0],{fixed:true,size:'0',name:'',showInfobox:false});
    var p1=board.create('point',[9,0],{fixed:true,size:'0',name:'',showInfobox:false});
    var p2=board.create('point',[9,2],{fixed:true,size:'0',name:'',showInfobox:false});
    var p3=board.create('point',[6,2],{fixed:true,size:'0',name:'',showInfobox:false});
    var p4=board.create('point',[6,6],{fixed:true,size:'0',name:'',showInfobox:false});
    var p5=board.create('point',[2,6],{fixed:true,size:'0',name:'',showInfobox:false});
    var p6=board.create('point',[3,7],{fixed:true,size:'0',name:'',showInfobox:false});
    var p7=board.create('point',[0,7],{fixed:true,size:'0',name:'',showInfobox:false});
    var p8=board.create('point',[1,6],{fixed:true,size:'0',name:'',showInfobox:false});
    var p9=board.create('point',[0,6],{fixed:true,size:'0',name:'',showInfobox:false});
    var body=board.create('polygon',[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],{fillColor:'{color0}',strokeColor:'{color1}'});
    var out=board.create('ellipse',[[9,0.01],[9,1.99],[9.1,1]],{fillColor:'{color0}'});
    var out=board.create('ellipse',[[0,7],[3,7],[1.5,7.1]],{fillColor:'{color0}'});
    var tFunciton=board.create('text',[1,3,"f(x) = {function}"],{fontSize:'20',fixed:true});
    var arrowIn=board.create('line',[[1.5,10],[1.5,8]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true});
    var tx1=board.create('text',[3,10,"x = {x1}"],{fontSize:'20',fixed:true,anchorX:'middle'});
    var arrowOut=board.create('line',[[9,1],[10,1]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true,strokeColor:'black'});
    var ty1=board.create('text',[10.25,1,"f({x1})"],{fontSize:'20',fixed:true});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>3.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[color0={"red","orange","green","blue"};
color1={"purple","pink","brown","yellow"};
x1={1:20:1};
x2={21:30:1};
x3={1:20};
b={1:20};
]]></text>
</varsrandom>
<varsglobal><text><![CDATA[function=join(""," x + ",b);
y1=x1+b;
y2=x2+b;
y3=x3+b;
numWords=["zero","one","two","three","four","five","six","seven","eight","nine","ten","eleven","twelve","thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen","twenty"];
bWord=numWords[b];
bVal=b;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">f({x1}) = {_0}</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table><tbody><tr><td>{function}</td><td>&nbsp; &nbsp;&nbsp;</td><td>Given</td></tr><tr><td>f(x) = {x1}+ {bVal}</td><td></td><td>Substitute x = {x1}</td></tr><tr><td>f({x1})={y1}</td><td></td><td>Add {x1} and {b}</td></tr><tr><td><br></td><td></td><td><br></td></tr></tbody></table>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y2</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">f({x2}) = {_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td>{function}</td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>Given</td>
        </tr>
        <tr>
            <td>f(x) = {x2}+ {bVal}</td>
            <td></td>
            <td>Substitute x = {x2}</td>
        </tr>
        <tr>
            <td>f({x2})={y2}</td>
            <td></td>
            <td>Add {x2} and {b}</td>
        </tr>
        <tr>
            <td><br></td>
            <td></td>
            <td><br></td>
        </tr>
    </tbody>
</table>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y3</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">f({x3}) = {_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<table><tbody><tr><td>{function}</td><td>&nbsp; &nbsp;&nbsp;</td><td>Given</td></tr><tr><td>f(x) = {x3}+ {bVal}</td><td></td><td>Substitute x = {x3}</td></tr><tr><td>f({x3})={y3}</td><td></td><td>Add {x3} and {b}</td></tr><tr><td><br></td><td></td><td><br></td></tr></tbody></table>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361267  -->
  <question type="formulas">
    <name>
      <text>L67- Function Machine (xsqu +b) 1PART</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[What is the value of the function, f(x)={function} at x = {x1}?&nbsp;<jsxgraph width="300" height="300">var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-.5,12,12,-.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[0,0],{fixed:true,size:'0',name:''});
    var p1=board.create('point',[9,0],{fixed:true,size:'0',name:''});
    var p2=board.create('point',[9,2],{fixed:true,size:'0',name:''});
    var p3=board.create('point',[6,2],{fixed:true,size:'0',name:''});
    var p4=board.create('point',[6,6],{fixed:true,size:'0',name:''});
    var p5=board.create('point',[2,6],{fixed:true,size:'0',name:''});
    var p6=board.create('point',[3,7],{fixed:true,size:'0',name:''});
    var p7=board.create('point',[0,7],{fixed:true,size:'0',name:''});
    var p8=board.create('point',[1,6],{fixed:true,size:'0',name:''});
    var p9=board.create('point',[0,6],{fixed:true,size:'0',name:''});
    var body=board.create('polygon',[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],{fillColor:'{color0}',strokeColor:'{color1}'});
    var out=board.create('ellipse',[[9,0.01],[9,1.99],[9.1,1]],{fillColor:'{color0}'});
    var out=board.create('ellipse',[[0,7],[3,7],[1.5,7.1]],{fillColor:'{color0}'});
    var tFunciton=board.create('text',[1,3,"f(x) = {function}"],{fontSize:'20',fixed:true});
    var arrowIn=board.create('line',[[1.5,10],[1.5,8]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true});
    var tx1=board.create('text',[2,10,"x = {x1}"],{fontSize:'20',fixed:true});
    var arrowOut=board.create('line',[[9,1],[10,1]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true,strokeColor:'black'});
    var ty1=board.create('text',[10.25,1,"f({x1})"],{fontSize:'20',fixed:true});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[color0={"red","orange","green","blue"};
color1={"purple","pink","brown","yellow"};
x1={1:15};

b={-15:-2,2:15};
]]></text>
</varsrandom>
<varsglobal><text><![CDATA[function=pick(b>0,join(""," x<sup>2</sup>",b),join("", "x<sup>2</sup> + ",b));
y1=x1*x1+b;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x1}) = {_0}</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361273  -->
  <question type="formulas">
    <name>
      <text>L67- Function Machine (xsqu +b) 1PART</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[What is the value of the function, f(x)={function} at x = {x1}?&nbsp;<jsxgraph width="300" height="300">var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-.5,12,12,-.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[0,0],{fixed:true,size:'0',name:''});
    var p1=board.create('point',[9,0],{fixed:true,size:'0',name:''});
    var p2=board.create('point',[9,2],{fixed:true,size:'0',name:''});
    var p3=board.create('point',[6,2],{fixed:true,size:'0',name:''});
    var p4=board.create('point',[6,6],{fixed:true,size:'0',name:''});
    var p5=board.create('point',[2,6],{fixed:true,size:'0',name:''});
    var p6=board.create('point',[3,7],{fixed:true,size:'0',name:''});
    var p7=board.create('point',[0,7],{fixed:true,size:'0',name:''});
    var p8=board.create('point',[1,6],{fixed:true,size:'0',name:''});
    var p9=board.create('point',[0,6],{fixed:true,size:'0',name:''});
    var body=board.create('polygon',[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],{fillColor:'{color0}',strokeColor:'{color1}'});
    var out=board.create('ellipse',[[9,0.01],[9,1.99],[9.1,1]],{fillColor:'{color0}'});
    var out=board.create('ellipse',[[0,7],[3,7],[1.5,7.1]],{fillColor:'{color0}'});
    var tFunciton=board.create('text',[1,3,"f(x) = {function}"],{fontSize:'20',fixed:true});
    var arrowIn=board.create('line',[[1.5,10],[1.5,8]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true});
    var tx1=board.create('text',[2,10,"x = {x1}"],{fontSize:'20',fixed:true});
    var arrowOut=board.create('line',[[9,1],[10,1]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true,strokeColor:'black'});
    var ty1=board.create('text',[10.25,1,"f({x1})"],{fontSize:'20',fixed:true});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[color0={"red","orange","green","blue"};
color1={"purple","pink","brown","yellow"};
x1={1:15};

b={-15:-2,2:15};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[function=pick(b>0,join(""," x<sup>2</sup>",b),join("", "x<sup>2</sup> + ",b));
y1=x1*x1+b;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x1}) = {_0}</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361269  -->
  <question type="formulas">
    <name>
      <text>L67- Function Machine (xsqu)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The formula A=s<sup>2</sup> is used to find the area of a square.&nbsp; The function f(x)={function} shows the relationship between the side of the square and the area. Calculate the value of the function, f(x)={function} at x = {x1}, x={x2}, and x={x3}.&nbsp;<jsxgraph width="300" height="300">var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-.5,12,12,-.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[0,0],{fixed:true,size:'0',name:''});
    var p1=board.create('point',[9,0],{fixed:true,size:'0',name:''});
    var p2=board.create('point',[9,2],{fixed:true,size:'0',name:''});
    var p3=board.create('point',[6,2],{fixed:true,size:'0',name:''});
    var p4=board.create('point',[6,6],{fixed:true,size:'0',name:''});
    var p5=board.create('point',[2,6],{fixed:true,size:'0',name:''});
    var p6=board.create('point',[3,7],{fixed:true,size:'0',name:''});
    var p7=board.create('point',[0,7],{fixed:true,size:'0',name:''});
    var p8=board.create('point',[1,6],{fixed:true,size:'0',name:''});
    var p9=board.create('point',[0,6],{fixed:true,size:'0',name:''});
    var body=board.create('polygon',[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],{fillColor:'{color0}',strokeColor:'{color1}'});
    var out=board.create('ellipse',[[9,0.01],[9,1.99],[9.1,1]],{fillColor:'{color0}'});
    var out=board.create('ellipse',[[0,7],[3,7],[1.5,7.1]],{fillColor:'{color0}'});
    var tFunciton=board.create('text',[1,3,"f(x) = {function}"],{fontSize:'20',fixed:true});
    var arrowIn=board.create('line',[[1.5,10],[1.5,8]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true});
    var tx1=board.create('text',[2,10,"x"],{fontSize:'20',fixed:true});
    var arrowOut=board.create('line',[[9,1],[10,1]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true,strokeColor:'black'});
    var ty1=board.create('text',[10.25,1,"f(x)"],{fontSize:'20',fixed:true});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>3.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[color0={"red","orange","green","blue"};
color1={"purple","pink","brown","yellow"};
x1={1:5};
x2={6:10};
x3={11:15};

]]></text>
</varsrandom>
<varsglobal><text><![CDATA[function=join("","x<sup>2</sup>");
y1=x1*x1;
y2=x2*x2;
y3=x3*x3;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x1}) =&nbsp;{x1}<sup>2&nbsp;</sup>= {_0}</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<br><table><tbody><tr><td>f(x)={function}</td><td></td><td>given</td></tr><tr><td>f({x1})=({x1})<sup>2</sup></td><td></td><td>Substitute x={x1}</td></tr><tr><td>f({x1}) = {=x1*x1}</td><td></td><td>Simplify</td></tr><tr><td></td><td></td></tr></tbody></table><br>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y2</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x2}) =&nbsp;{x2}<sup>2&nbsp;</sup>= {_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;"></p><table><tbody><tr><td>f(x)={function}</td><td></td><td>given</td></tr><tr><td>f({x2})=({x2})<sup>2</sup></td><td></td><td>Substitute x={x2}</td></tr><tr><td>f({x2}) = {=x2*x2}</td><td></td><td>Simplify</td></tr><tr><td></td><td></td><td></td></tr></tbody></table><br><p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y3</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x3}) = {x3}<sup>2 </sup>= {_0}<br></p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 60;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;"><br></p><table><tbody><tr><td>f(x)={function}</td><td></td><td>given</td></tr><tr><td>f({x3})=({x3})<sup>2</sup></td><td></td><td>Substitute x={x3}</td></tr><tr><td>f({x3}) = {=x3*x3}</td><td></td><td>Simplify</td></tr><tr><td></td><td></td>

</tr></tbody></table><br><p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361274  -->
  <question type="formulas">
    <name>
      <text>L67- Function Machine (xsqu)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The formula A=s<sup>2</sup> is used to find the area of a square.&nbsp; The function f(x)={function} shows the relationship between the side of the square and the area. Calculate the value of the function, f(x)={function} at x = {x1}, x={x2}, and x={x3}.&nbsp;<jsxgraph width="300" height="300">var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-.5,12,12,-.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[0,0],{fixed:true,size:'0',name:''});
    var p1=board.create('point',[9,0],{fixed:true,size:'0',name:''});
    var p2=board.create('point',[9,2],{fixed:true,size:'0',name:''});
    var p3=board.create('point',[6,2],{fixed:true,size:'0',name:''});
    var p4=board.create('point',[6,6],{fixed:true,size:'0',name:''});
    var p5=board.create('point',[2,6],{fixed:true,size:'0',name:''});
    var p6=board.create('point',[3,7],{fixed:true,size:'0',name:''});
    var p7=board.create('point',[0,7],{fixed:true,size:'0',name:''});
    var p8=board.create('point',[1,6],{fixed:true,size:'0',name:''});
    var p9=board.create('point',[0,6],{fixed:true,size:'0',name:''});
    var body=board.create('polygon',[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],{fillColor:'{color0}',strokeColor:'{color1}'});
    var out=board.create('ellipse',[[9,0.01],[9,1.99],[9.1,1]],{fillColor:'{color0}'});
    var out=board.create('ellipse',[[0,7],[3,7],[1.5,7.1]],{fillColor:'{color0}'});
    var tFunciton=board.create('text',[1,3,"f(x) = {function}"],{fontSize:'20',fixed:true});
    var arrowIn=board.create('line',[[1.5,10],[1.5,8]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true});
    var tx1=board.create('text',[2,10,"x"],{fontSize:'20',fixed:true});
    var arrowOut=board.create('line',[[9,1],[10,1]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true,strokeColor:'black'});
    var ty1=board.create('text',[10.25,1,"f(x)"],{fontSize:'20',fixed:true});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>3.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[color0={"red","orange","green","blue"};
color1={"purple","pink","brown","yellow"};
x1={1:5};
x2={6:10};
x3={11:15};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[function=join("","x<sup>2</sup>");
y1=x1*x1;
y2=x2*x2;
y3=x3*x3;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x1}) =&nbsp;{x1}<sup>2&nbsp;</sup>= {_0}</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<br><table><tbody><tr><td>f(x)={function}</td><td></td><td>given</td></tr><tr><td>f({x1})=({x1})<sup>2</sup></td><td></td><td>Substitute x={x1}</td></tr><tr><td>f({x1}) = {=x1*x1}</td><td></td><td>Simplify</td></tr><tr><td></td><td></td></tr></tbody></table><br>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y2</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x2}) =&nbsp;{x2}<sup>2&nbsp;</sup>= {_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;"></p><table><tbody><tr><td>f(x)={function}</td><td></td><td>given</td></tr><tr><td>f({x2})=({x2})<sup>2</sup></td><td></td><td>Substitute x={x2}</td></tr><tr><td>f({x2}) = {=x2*x2}</td><td></td><td>Simplify</td></tr><tr><td></td><td></td><td></td></tr></tbody></table><br><p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y3</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x3}) = {x3}<sup>2 </sup>= {_0}<br></p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 60;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;"><br></p><table><tbody><tr><td>f(x)={function}</td><td></td><td>given</td></tr><tr><td>f({x3})=({x3})<sup>2</sup></td><td></td><td>Substitute x={x3}</td></tr><tr><td>f({x3}) = {=x3*x3}</td><td></td><td>Simplify</td></tr><tr><td></td><td></td>

</tr></tbody></table><br><p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361277  -->
  <question type="formulas">
    <name>
      <text>L67-Function Machine (xsqu +b)-3parts</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[What is the value of the function, f(x)={function} at x = {x1}?&nbsp;<jsxgraph width="300" height="300">var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-.5,12,12,-.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[0,0],{fixed:true,size:'0',name:''});
    var p1=board.create('point',[9,0],{fixed:true,size:'0',name:''});
    var p2=board.create('point',[9,2],{fixed:true,size:'0',name:''});
    var p3=board.create('point',[6,2],{fixed:true,size:'0',name:''});
    var p4=board.create('point',[6,6],{fixed:true,size:'0',name:''});
    var p5=board.create('point',[2,6],{fixed:true,size:'0',name:''});
    var p6=board.create('point',[3,7],{fixed:true,size:'0',name:''});
    var p7=board.create('point',[0,7],{fixed:true,size:'0',name:''});
    var p8=board.create('point',[1,6],{fixed:true,size:'0',name:''});
    var p9=board.create('point',[0,6],{fixed:true,size:'0',name:''});
    var body=board.create('polygon',[p0,p1,p2,p3,p4,p5,p6,p7,p8,p9],{fillColor:'{color0}',strokeColor:'{color1}'});
    var out=board.create('ellipse',[[9,0.01],[9,1.99],[9.1,1]],{fillColor:'{color0}'});
    var out=board.create('ellipse',[[0,7],[3,7],[1.5,7.1]],{fillColor:'{color0}'});
    var tFunciton=board.create('text',[1,3,"f(x) = {function}"],{fontSize:'20',fixed:true});
    var arrowIn=board.create('line',[[1.5,10],[1.5,8]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true});
    var tx1=board.create('text',[2,10,"x = {x1}"],{fontSize:'20',fixed:true});
    var arrowOut=board.create('line',[[9,1],[10,1]],{straightFirst:false,straightLast:false, lastArrow:true,firstArrow:false,fixed:true,strokeColor:'black'});
    var ty1=board.create('text',[10.25,1,"f({x1})"],{fontSize:'20',fixed:true});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>3.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[color0={"red","orange","green","blue"};
color1={"purple","pink","brown","yellow"};
x1={1:5:1};
x2={5:10:1};
x3={10:15:1};
b={-15:-2,2:15};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[function=pick(b>0,join(""," x<sup>2</sup>",b),join("", "x<sup>2</sup> + ",b));
y1=x1*x1+b;
y2=x2*x2+b;
y3=x3*x3+b;
function1=pick(b>0,join("",x1," <sup>2</sup>",b),join("",x1, "<sup>2</sup> + ",b));
function2=pick(b>0,join("",x2," <sup>2</sup>",b),join("", x2,"<sup>2</sup> + ",b));
function3=pick(b>0,join("","(",x3,") <sup>2</sup>",b),join("","(", x3,")<sup>2</sup> + ",b));
bPart=pick(b>0,join("",b),join("", "+ ",b));]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x1}) = {_0}</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">x={x1}</p><p dir="ltr" style="text-align: left;">f(x)={function}</p><p dir="ltr" style="text-align: left;">f({x1})={function1}</p><p dir="ltr" style="text-align: left;">f({x1})={=x1*x1} {bPart}</p><p dir="ltr" style="text-align: left;">f({x1})={y1}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y2</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x2}) = {_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;"></p><p dir="ltr">x={x2}</p><p dir="ltr">f(x)={function}</p><p dir="ltr">f({x2})={function2}</p><p dir="ltr">f({x2})={=x2*x2} {bPart}</p><p dir="ltr">f({x2})={y2}</p><br><p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>y3</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The value of f({x3}) = {_0}<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;"></p><p dir="ltr">x={x3}</p><p dir="ltr">f(x)={function}</p><p dir="ltr">f({x3})={function3}</p><p dir="ltr">f({x3})=({=x3*x3}) {bPart}</p><p dir="ltr">f({x3})={y3}</p><br><p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test #9/L68- Translations on the Coordinate Plane</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361287  -->
  <question type="formulas">
    <name>
      <text>L64- Parallelogram- translation-Id Shape</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Plot the translation of the quadrilateral {xMove}, and {yMove}.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>sideStart={[5, 3, 1, 1],[4, 5, 1, 1],[4, 5, 2, 1],[3, 5, 1, 1],[3, 5, 2, 1],[3, 5, 3, 1],[2, 5, 1, 1],[2, 5, 2, 1],[2, 5, 3, 1],[2, 5, 4, 1],[1, 5, 1, 1],[1, 5, 2, 1],[1, 5, 3, 1],[1, 5, 4, 1],[1, 5, 5, 1],[5, 4, 1, 1],[5, 2, 1, 1],[5, 2, 1, 2],[5, 3, 1, 2],[5, 3, 1, 3],[3, 4, 1, 1],[3, 4, 2, 1],[3, 4, 3, 1],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[2, 4, 1, 1],[2, 4, 2, 1],[2, 4, 3, 1],[2, 4, 4, 1],[2, 4, 1, 2],[2, 4, 2, 2],[2, 4, 3, 2],[2, 4, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[1, 2, 1, 4],[1, 2, 2, 4],[3,2, 3, 4],[1, 2, 4, 4],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 1],[1, 4, 4, 1],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[1, 4, 1, 3],[1, 4, 2, 3],[1, 4, 3, 3],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[5, 3, 1, 1],[4, 3, 1, 1],[4, 3, 2, 1],[4, 3, 1, 2],[4, 3, 2, 2],[2, 3, 1, 1],[2, 3, 2, 1],[2, 3, 3, 1],[2, 3, 4, 1],[2, 3, 1, 2],[2, 3, 2, 2],[2, 3, 3, 2],[2, 3, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[2, 3, 1, 4],[2, 3, 2, 4],[2, 3, 3, 4],[2, 3, 4, 1],[1, 3, 1, 1],[1, 3, 2, 1],[1, 3, 3, 1],[1, 3, 4, 1],[1, 3, 5, 1],[1, 3, 1, 2],[1, 3, 2, 2],[1, 3, 3, 2],[1, 3, 4, 2],[1, 3, 5, 2],[1, 3, 1, 3],[1, 3, 2, 3],[1, 3, 3, 3],[1, 3, 4, 3],[1, 3, 5, 3],[1, 3, 1, 1],[1, 3, 2, 3],[1, 3, 3, 4],[1, 3, 4, 2],[1, 3, 5, 1],[1, 3, 1, 3],[1, 3, 2, 2],[2, 1, 3, 5],[1, 3, 4, 2],[1, 3, 5, 1]};
#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
randMove=shuffle([-1,1]);
Xt={-4:4};
Yt={-4:4};</text>
</varsrandom>
<varsglobal><text><![CDATA[#correct tells number of shape shown
correct=4;
side=sideStart[0];
length=sideStart[1];
Xa1=sideStart[2];
Ya1=sideStart[3];
Xb1=Xa1+randMove[0];
Yb1=Ya1+length;
Xc1=Xa1+side+randMove[0];
Yc1=Ya1+length;
Xd1=Xa1+side;
Yd1=Ya1;
axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;

MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>8</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[Xa,Ya,Xb,Yb,Xc,Yc,Xd,Yd]</text>
 </answer>
 <vars2>
  <text><![CDATA[crita=((_0==Xa) &&(_1==Ya))*.25;
critb=((_2==Xb) &&(_3==Yb))*.25;
critc=((_4==Xc) &&(_5==Yc))*.25;
critd=((_6==Xd) &&(_7==Yd))*.25;]]></text>
 </vars2>
 <correctness>
  <text>crita+critb+critc+critd</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script type="text/javascript" src="https://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="https://moodle.itemspro.eu/moodle/aaimg/ajsx/jsxquestion.js">
</script>

<div id="{MB}" class="jxgbox" style="width:450px; height:450px;margin-left:1px; ;"></div>
<script type="text/javascript">
    $(function() {
        var jsxCode = function(main) {
            main.brd = JXG.JSXGraph.initBoard(main.elm.id, {
                boundingbox: [-10, 10, 10, -10],
                showNavigation: false,
                showCopyright: false,
                grid: true,
                axis: true,
                zoom: {
                    enabled: false,
                    wheel: false
                },
                pan: {
                    enabled: false,
                    needTwoFingers: false
                }
            });
            var brd = main.brd;
            brd.options.point.showInfobox = false;

            var t0x = main.get(0);
            if (t0x === null) {
                t0x = 3;
            }
            var t0y = main.get(1);
            if (t0y === null) {
                t0y = -6;
            }
            var t1x = main.get(2);
            if (t1x === null) {
                t1x = 4;
            }
            var t1y = main.get(3);
            if (t1y === null) {
                t1y = -6;
            }
            var t2x = main.get(4);
            if (t2x === null) {
                t2x = 5;
            }
            var t2y = main.get(5);
            if (t2y === null) {
                t2y = -6;
            }
            var t3x = main.get(6);
            if (t3x === null) {
                t3x = 6;
            }
            var t3y = main.get(7);
            if (t3y === null) {
                t3y = -6;
            }


            var p0 = brd.create('point', [t0x, t0y], {
                snapToGrid: true,
                color: 'blue',
                name: 'A1',
                fixed: main.solved
            });
            var p1 = brd.create('point', [t1x, t1y], {
                snapToGrid: true,
                color: 'blue',
                name: 'B1',
                fixed: main.solved
            });
            var p2 = brd.create('point', [t2x, t2y], {
                snapToGrid: true,
                color: 'blue',
                name: 'C1',
                fixed: main.solved
            });
            var p3 = brd.create('point', [t3x, t3y], {
                snapToGrid: true,
                color: 'blue',
                name: 'D1',
                fixed: main.solved
            });

                  var X1=brd.create('point', [{Xa1}, {Ya1}], {
                name: 'A',
                fixed: true,
                color: 'orange',
                visible: true
            });
          
          var X2=brd.create('point', [{Xb1}, {Yb1}], {
                name: 'B',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X3=brd.create('point', [{Xc1}, {Yc1}], {
                name: 'C',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X4=brd.create('point', [{Xd1}, {Yd1}], {
                name: 'D',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var poly=brd.create('polygon',[X1,X2,X3,X4],{
            visible:true,
            fillColor:'orange'
          });
          
           var ansA= brd.create('point', [{Xa}, {Ya}], {
                color: 'green',
                name: 'A1',
                visible: main.solved
            });
            var ansB= brd.create('point', [{Xb}, {Yb}], {
                color: 'green',
                name: 'B1',
                visible: main.solved
            });
            var ansC= brd.create('point', [{Xc}, {Yc}], {
                color: 'green',
                name: 'C1',
                visible: main.solved
            });
            var ansD= brd.create('point', [{Xd}, {Yd}], {
                color: 'green',
                name: 'D1',
                visible: main.solved
            });

            var poly = brd.create('polygon', [ansA, ansB, ansC, ansD], {
                visible: main.solved,
                fillColor: 'green'
            });

            var check = function() {
                main.set(0, p0.X());
                main.set(1, p0.Y());
                main.set(2, p1.X());
                main.set(3, p1.Y());
                main.set(4, p2.X());
                main.set(5, p2.Y());
                main.set(6, p3.X());
                main.set(7, p3.Y());
            }
            check();
            brd.on('update', function() {
                check();
            });
        };
        new JSXQuestion("{MB}", jsxCode, false);
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"></p><p dir="ltr">To graph the translation&nbsp;of the quadrilateral {xMove} and {yMove}.</p><p dir="ltr"><span>point A is at ({Xa1},{Ya1})&nbsp; therefore the translation is at ({Xa},{Ya}).</span><br></p><p dir="ltr"><span>point B is at ({Xb1},{Yb1})&nbsp; therefore the translation&nbsp;is at ({Xb},{Yb}).<br></span></p><p dir="ltr"><span>point C is at ({Xc1},{Yc1})&nbsp; therefore the translation&nbsp;is at ({Xc},{Yc}).<br></span></p><p dir="ltr"><span>point D is at ({Xd1},{Yd1})&nbsp; therefore the translation&nbsp;is at ({Xd},{Yd}).</span></p><p dir="ltr"><span style="font-size: 0.9375rem;"><br></span></p><ol><ul>

    </ul>
</ol>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randShape[_0] == correct</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {_0:choices:MCE}<br>Give the <strong>best</strong>, most specific description.</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {=shape[correct]}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361297  -->
  <question type="formulas">
    <name>
      <text>L64- Parallelogram- translation-Id Shape</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Plot the translation of the quadrilateral {xMove}, and {yMove}.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>sideStart={[5, 3, 1, 1],[4, 5, 1, 1],[4, 5, 2, 1],[3, 5, 1, 1],[3, 5, 2, 1],[3, 5, 3, 1],[2, 5, 1, 1],[2, 5, 2, 1],[2, 5, 3, 1],[2, 5, 4, 1],[1, 5, 1, 1],[1, 5, 2, 1],[1, 5, 3, 1],[1, 5, 4, 1],[1, 5, 5, 1],[5, 4, 1, 1],[5, 2, 1, 1],[5, 2, 1, 2],[5, 3, 1, 2],[5, 3, 1, 3],[3, 4, 1, 1],[3, 4, 2, 1],[3, 4, 3, 1],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[2, 4, 1, 1],[2, 4, 2, 1],[2, 4, 3, 1],[2, 4, 4, 1],[2, 4, 1, 2],[2, 4, 2, 2],[2, 4, 3, 2],[2, 4, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[1, 2, 1, 4],[1, 2, 2, 4],[3,2, 3, 4],[1, 2, 4, 4],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 1],[1, 4, 4, 1],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[1, 4, 1, 3],[1, 4, 2, 3],[1, 4, 3, 3],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[5, 3, 1, 1],[4, 3, 1, 1],[4, 3, 2, 1],[4, 3, 1, 2],[4, 3, 2, 2],[2, 3, 1, 1],[2, 3, 2, 1],[2, 3, 3, 1],[2, 3, 4, 1],[2, 3, 1, 2],[2, 3, 2, 2],[2, 3, 3, 2],[2, 3, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[2, 3, 1, 4],[2, 3, 2, 4],[2, 3, 3, 4],[2, 3, 4, 1],[1, 3, 1, 1],[1, 3, 2, 1],[1, 3, 3, 1],[1, 3, 4, 1],[1, 3, 5, 1],[1, 3, 1, 2],[1, 3, 2, 2],[1, 3, 3, 2],[1, 3, 4, 2],[1, 3, 5, 2],[1, 3, 1, 3],[1, 3, 2, 3],[1, 3, 3, 3],[1, 3, 4, 3],[1, 3, 5, 3],[1, 3, 1, 1],[1, 3, 2, 3],[1, 3, 3, 4],[1, 3, 4, 2],[1, 3, 5, 1],[1, 3, 1, 3],[1, 3, 2, 2],[2, 1, 3, 5],[1, 3, 4, 2],[1, 3, 5, 1]};
#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
randMove=shuffle([-1,1]);
Xt={-4:4};
Yt={-4:4};</text>
</varsrandom>
<varsglobal><text><![CDATA[#correct tells number of shape shown
correct=4;
side=sideStart[0];
length=sideStart[1];
Xa1=sideStart[2];
Ya1=sideStart[3];
Xb1=Xa1+randMove[0];
Yb1=Ya1+length;
Xc1=Xa1+side+randMove[0];
Yc1=Ya1+length;
Xd1=Xa1+side;
Yd1=Ya1;
axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;

MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>8</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[Xa,Ya,Xb,Yb,Xc,Yc,Xd,Yd]</text>
 </answer>
 <vars2>
  <text><![CDATA[crita=((_0==Xa) &&(_1==Ya))*.25;
critb=((_2==Xb) &&(_3==Yb))*.25;
critc=((_4==Xc) &&(_5==Yc))*.25;
critd=((_6==Xd) &&(_7==Yd))*.25;]]></text>
 </vars2>
 <correctness>
  <text>crita+critb+critc+critd</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script type="text/javascript" src="https://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="https://moodle.itemspro.eu/moodle/aaimg/ajsx/jsxquestion.js">
</script>

<div id="{MB}" class="jxgbox" style="width:450px; height:450px;margin-left:1px; ;"></div>
<script type="text/javascript">
    $(function() {
        var jsxCode = function(main) {
            main.brd = JXG.JSXGraph.initBoard(main.elm.id, {
                boundingbox: [-10, 10, 10, -10],
                showNavigation: false,
                showCopyright: false,
                grid: true,
                axis: true,
                zoom: {
                    enabled: false,
                    wheel: false
                },
                pan: {
                    enabled: false,
                    needTwoFingers: false
                }
            });
            var brd = main.brd;
            brd.options.point.showInfobox = false;

            var t0x = main.get(0);
            if (t0x === null) {
                t0x = 3;
            }
            var t0y = main.get(1);
            if (t0y === null) {
                t0y = -6;
            }
            var t1x = main.get(2);
            if (t1x === null) {
                t1x = 4;
            }
            var t1y = main.get(3);
            if (t1y === null) {
                t1y = -6;
            }
            var t2x = main.get(4);
            if (t2x === null) {
                t2x = 5;
            }
            var t2y = main.get(5);
            if (t2y === null) {
                t2y = -6;
            }
            var t3x = main.get(6);
            if (t3x === null) {
                t3x = 6;
            }
            var t3y = main.get(7);
            if (t3y === null) {
                t3y = -6;
            }


            var p0 = brd.create('point', [t0x, t0y], {
                snapToGrid: true,
                color: 'blue',
                name: 'A1',
                fixed: main.solved
            });
            var p1 = brd.create('point', [t1x, t1y], {
                snapToGrid: true,
                color: 'blue',
                name: 'B1',
                fixed: main.solved
            });
            var p2 = brd.create('point', [t2x, t2y], {
                snapToGrid: true,
                color: 'blue',
                name: 'C1',
                fixed: main.solved
            });
            var p3 = brd.create('point', [t3x, t3y], {
                snapToGrid: true,
                color: 'blue',
                name: 'D1',
                fixed: main.solved
            });

                  var X1=brd.create('point', [{Xa1}, {Ya1}], {
                name: 'A',
                fixed: true,
                color: 'orange',
                visible: true
            });
          
          var X2=brd.create('point', [{Xb1}, {Yb1}], {
                name: 'B',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X3=brd.create('point', [{Xc1}, {Yc1}], {
                name: 'C',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X4=brd.create('point', [{Xd1}, {Yd1}], {
                name: 'D',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var poly=brd.create('polygon',[X1,X2,X3,X4],{
            visible:true,
            fillColor:'orange'
          });
          
           var ansA= brd.create('point', [{Xa}, {Ya}], {
                color: 'green',
                name: 'A1',
                visible: main.solved
            });
            var ansB= brd.create('point', [{Xb}, {Yb}], {
                color: 'green',
                name: 'B1',
                visible: main.solved
            });
            var ansC= brd.create('point', [{Xc}, {Yc}], {
                color: 'green',
                name: 'C1',
                visible: main.solved
            });
            var ansD= brd.create('point', [{Xd}, {Yd}], {
                color: 'green',
                name: 'D1',
                visible: main.solved
            });

            var poly = brd.create('polygon', [ansA, ansB, ansC, ansD], {
                visible: main.solved,
                fillColor: 'green'
            });

            var check = function() {
                main.set(0, p0.X());
                main.set(1, p0.Y());
                main.set(2, p1.X());
                main.set(3, p1.Y());
                main.set(4, p2.X());
                main.set(5, p2.Y());
                main.set(6, p3.X());
                main.set(7, p3.Y());
            }
            check();
            brd.on('update', function() {
                check();
            });
        };
        new JSXQuestion("{MB}", jsxCode, false);
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"></p><p dir="ltr">To graph the translation&nbsp;of the quadrilateral {xMove} and {yMove}.</p><p dir="ltr"><span>point A is at ({Xa1},{Ya1})&nbsp; therefore the translation is at ({Xa},{Ya}).</span><br></p><p dir="ltr"><span>point B is at ({Xb1},{Yb1})&nbsp; therefore the translation&nbsp;is at ({Xb},{Yb}).<br></span></p><p dir="ltr"><span>point C is at ({Xc1},{Yc1})&nbsp; therefore the translation&nbsp;is at ({Xc},{Yc}).<br></span></p><p dir="ltr"><span>point D is at ({Xd1},{Yd1})&nbsp; therefore the translation&nbsp;is at ({Xd},{Yd}).</span></p><p dir="ltr"><span style="font-size: 0.9375rem;"><br></span></p><ol><ul>

    </ul>
</ol>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randShape[_0] == correct</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {_0:choices:MCE}<br>Give the <strong>best</strong>, most specific description.</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {=shape[correct]}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361288  -->
  <question type="formulas">
    <name>
      <text>L64- Quadrilateral- translation-Id Shape</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Plot the translation of the quadrilateral {xMove} and {yMove}.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>sideStart={[5, 3, 1, 1],[4, 5, 1, 1],[4, 5, 2, 1],[3, 5, 1, 1],[3, 5, 2, 1],[3, 5, 3, 1],[2, 5, 1, 1],[2, 5, 2, 1],[2, 5, 3, 1],[2, 5, 4, 1],[1, 5, 1, 1],[1, 5, 2, 1],[1, 5, 3, 1],[1, 5, 4, 1],[1, 5, 5, 1],[5, 4, 1, 1],[5, 2, 1, 1],[5, 2, 1, 2],[5, 3, 1, 2],[5, 3, 1, 3],[3, 4, 1, 1],[3, 4, 2, 1],[3, 4, 3, 1],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[2, 4, 1, 1],[2, 4, 2, 1],[2, 4, 3, 1],[2, 4, 4, 1],[2, 4, 1, 2],[2, 4, 2, 2],[2, 4, 3, 2],[2, 4, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[1, 2, 1, 4],[1, 2, 2, 4],[3,2, 3, 4],[1, 2, 4, 4],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 1],[1, 4, 4, 1],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[1, 4, 1, 3],[1, 4, 2, 3],[1, 4, 3, 3],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[5, 3, 1, 1],[4, 3, 1, 1],[4, 3, 2, 1],[4, 3, 1, 2],[4, 3, 2, 2],[2, 3, 1, 1],[2, 3, 2, 1],[2, 3, 3, 1],[2, 3, 4, 1],[2, 3, 1, 2],[2, 3, 2, 2],[2, 3, 3, 2],[2, 3, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[2, 3, 1, 4],[2, 3, 2, 4],[2, 3, 3, 4],[2, 3, 4, 1],[1, 3, 1, 1],[1, 3, 2, 1],[1, 3, 3, 1],[1, 3, 4, 1],[1, 3, 5, 1],[1, 3, 1, 2],[1, 3, 2, 2],[1, 3, 3, 2],[1, 3, 4, 2],[1, 3, 5, 2],[1, 3, 1, 3],[1, 3, 2, 3],[1, 3, 3, 3],[1, 3, 4, 3],[1, 3, 5, 3],[1, 3, 1, 1],[1, 3, 2, 3],[1, 3, 3, 4],[1, 3, 4, 2],[1, 3, 5, 1],[1, 3, 1, 3],[1, 3, 2, 2],[2, 1, 3, 5],[1, 3, 4, 2],[1, 3, 5, 1]};
#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
Xt={-4:4:1};
Yt={-4:4:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[#correct tells number of shape shown
correct=3;
side=sideStart[0];
length=sideStart[1];
Xa1=sideStart[2];
Ya1=sideStart[3];
Xb1=Xa1-1;
Yb1=Ya1+length;
Xc1=Xa1+side;
Yc1=Ya1+length;
Xd1=Xa1+side;
Yd1=Ya1-1;

axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;


MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>8</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[Xa,Ya,Xb,Yb,Xc,Yc,Xd,Yd]</text>
 </answer>
 <vars2>
  <text><![CDATA[crita=((_0==Xa) &&(_1==Ya))*.25;
critb=((_2==Xb) &&(_3==Yb))*.25;
critc=((_4==Xc) &&(_5==Yc))*.25;
critd=((_6==Xd) &&(_7==Yd))*.25;]]></text>
 </vars2>
 <correctness>
  <text>crita+critb+critc+critd</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script type="text/javascript" src="https://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="https://moodle.itemspro.eu/moodle/aaimg/ajsx/jsxquestion.js">
</script>

<div id="{MB}" class="jxgbox" style="width:350px; height:350px;margin-left:1px; ;"></div>
<script type="text/javascript">
    $(function() {
        var jsxCode = function(main) {
            main.brd = JXG.JSXGraph.initBoard(main.elm.id, {
                boundingbox: [-10,10,10, -10],
                showNavigation: false,
                showCopyright: false,
                grid: true,
                axis: true,
                zoom: {
                    enabled: false,
                    wheel: false
                },
                pan: {
                    enabled: false,
                    needTwoFingers: false
                }
            });
            var brd = main.brd;
            brd.options.point.showInfobox = false;

            var t0x = main.get(0);
            if (t0x === null) {
                t0x = 3;
            }
            var t0y = main.get(1);
            if (t0y === null) {
                t0y = -6;
            }
            var t1x = main.get(2);
            if (t1x === null) {
                t1x = 4;
            }
            var t1y = main.get(3);
            if (t1y === null) {
                t1y = -6;
            }
            var t2x = main.get(4);
            if (t2x === null) {
                t2x = 5;
            }
            var t2y = main.get(5);
            if (t2y === null) {
                t2y = -6;
            }
            var t3x = main.get(6);
            if (t3x === null) {
                t3x = 6;
            }
            var t3y = main.get(7);
            if (t3y === null) {
                t3y = -6;
            }


            var p0 = brd.create('point', [t0x, t0y], {
                snapToGrid: true,
                color: 'blue',
                name: 'A1',
                fixed: main.solved
            });
            var p1 = brd.create('point', [t1x, t1y], {
                snapToGrid: true,
                color: 'blue',
                name: 'B1',
                fixed: main.solved
            });
            var p2 = brd.create('point', [t2x, t2y], {
                snapToGrid: true,
                color: 'blue',
                name: 'C1',
                fixed: main.solved
            });
            var p3 = brd.create('point', [t3x, t3y], {
                snapToGrid: true,
                color: 'blue',
                name: 'D1',
                fixed: main.solved
            });

                    var X1=brd.create('point', [{Xa1}, {Ya1}], {
                name: 'A',
                fixed: true,
                color: 'orange',
                visible: true
            });
          
          var X2=brd.create('point', [{Xb1}, {Yb1}], {
                name: 'B',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X3=brd.create('point', [{Xc1}, {Yc1}], {
                name: 'C',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X4=brd.create('point', [{Xd1}, {Yd1}], {
                name: 'D',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var poly=brd.create('polygon',[X1,X2,X3,X4],{
            visible:true,
            fillColor:'orange'
          });
          
           var ansA= brd.create('point', [{Xa}, {Ya}], {
                color: 'green',
                name: 'A1',
                visible: main.solved
            });
            var ansB= brd.create('point', [{Xb}, {Yb}], {
                color: 'green',
                name: 'B1',
                visible: main.solved
            });
            var ansC= brd.create('point', [{Xc}, {Yc}], {
                color: 'green',
                name: 'C1',
                visible: main.solved
            });
            var ansD= brd.create('point', [{Xd}, {Yd}], {
                color: 'green',
                name: 'D1',
                visible: main.solved
            });
            var poly = brd.create('polygon', [ansA, ansB, ansC, ansD], {
                visible: main.solved,
                fillColor: 'green'
            });

            var check = function() {
                main.set(0, p0.X());
                main.set(1, p0.Y());
                main.set(2, p1.X());
                main.set(3, p1.Y());
                main.set(4, p2.X());
                main.set(5, p2.Y());
                main.set(6, p3.X());
                main.set(7, p3.Y());
            }
            check();
            brd.on('update', function() {
                check();
            });
        };
        new JSXQuestion("{MB}", jsxCode, false);
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"></p><p dir="ltr">To graph the translation&nbsp;of the quadrilateral {xMove} and {yMove}.</p><p dir="ltr"><span>point A is at ({Xa1},{Ya1})&nbsp; therefore the translation is at ({Xa},{Ya}).</span><br></p><p dir="ltr"><span>point B is at ({Xb1},{Yb1})&nbsp; therefore the translation&nbsp;is at ({Xb},{Yb}).<br></span></p><p dir="ltr"><span>point C is at ({Xc1},{Yc1})&nbsp; therefore the translation&nbsp;is at ({Xc},{Yc}).<br></span></p><p dir="ltr"><span>point D is at ({Xd1},{Yd1})&nbsp; therefore the translation&nbsp;is at ({Xd},{Yd}).</span></p><p dir="ltr"><span style="font-size: 0.9375rem;"><br></span></p><ol><ul>

    </ul>
</ol>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randShape[_0] == correct</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {_0:choices:MCE}<br>Give the <strong>best</strong>, most specific description.</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {=shape[correct]}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361298  -->
  <question type="formulas">
    <name>
      <text>L64- Quadrilateral- translation-Id Shape</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Plot the translation of the quadrilateral {xMove} and {yMove}.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>sideStart={[5, 3, 1, 1],[4, 5, 1, 1],[4, 5, 2, 1],[3, 5, 1, 1],[3, 5, 2, 1],[3, 5, 3, 1],[2, 5, 1, 1],[2, 5, 2, 1],[2, 5, 3, 1],[2, 5, 4, 1],[1, 5, 1, 1],[1, 5, 2, 1],[1, 5, 3, 1],[1, 5, 4, 1],[1, 5, 5, 1],[5, 4, 1, 1],[5, 2, 1, 1],[5, 2, 1, 2],[5, 3, 1, 2],[5, 3, 1, 3],[3, 4, 1, 1],[3, 4, 2, 1],[3, 4, 3, 1],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[2, 4, 1, 1],[2, 4, 2, 1],[2, 4, 3, 1],[2, 4, 4, 1],[2, 4, 1, 2],[2, 4, 2, 2],[2, 4, 3, 2],[2, 4, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[1, 2, 1, 4],[1, 2, 2, 4],[3,2, 3, 4],[1, 2, 4, 4],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 1],[1, 4, 4, 1],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[1, 4, 1, 3],[1, 4, 2, 3],[1, 4, 3, 3],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[5, 3, 1, 1],[4, 3, 1, 1],[4, 3, 2, 1],[4, 3, 1, 2],[4, 3, 2, 2],[2, 3, 1, 1],[2, 3, 2, 1],[2, 3, 3, 1],[2, 3, 4, 1],[2, 3, 1, 2],[2, 3, 2, 2],[2, 3, 3, 2],[2, 3, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[2, 3, 1, 4],[2, 3, 2, 4],[2, 3, 3, 4],[2, 3, 4, 1],[1, 3, 1, 1],[1, 3, 2, 1],[1, 3, 3, 1],[1, 3, 4, 1],[1, 3, 5, 1],[1, 3, 1, 2],[1, 3, 2, 2],[1, 3, 3, 2],[1, 3, 4, 2],[1, 3, 5, 2],[1, 3, 1, 3],[1, 3, 2, 3],[1, 3, 3, 3],[1, 3, 4, 3],[1, 3, 5, 3],[1, 3, 1, 1],[1, 3, 2, 3],[1, 3, 3, 4],[1, 3, 4, 2],[1, 3, 5, 1],[1, 3, 1, 3],[1, 3, 2, 2],[2, 1, 3, 5],[1, 3, 4, 2],[1, 3, 5, 1]};
#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
Xt={-4:4:1};
Yt={-4:4:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[#correct tells number of shape shown
correct=3;
side=sideStart[0];
length=sideStart[1];
Xa1=sideStart[2];
Ya1=sideStart[3];
Xb1=Xa1-1;
Yb1=Ya1+length;
Xc1=Xa1+side;
Yc1=Ya1+length;
Xd1=Xa1+side;
Yd1=Ya1-1;

axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;


MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>8</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[Xa,Ya,Xb,Yb,Xc,Yc,Xd,Yd]</text>
 </answer>
 <vars2>
  <text><![CDATA[crita=((_0==Xa) &&(_1==Ya))*.25;
critb=((_2==Xb) &&(_3==Yb))*.25;
critc=((_4==Xc) &&(_5==Yc))*.25;
critd=((_6==Xd) &&(_7==Yd))*.25;]]></text>
 </vars2>
 <correctness>
  <text>crita+critb+critc+critd</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script type="text/javascript" src="https://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="https://moodle.itemspro.eu/moodle/aaimg/ajsx/jsxquestion.js">
</script>

<div id="{MB}" class="jxgbox" style="width:350px; height:350px;margin-left:1px; ;"></div>
<script type="text/javascript">
    $(function() {
        var jsxCode = function(main) {
            main.brd = JXG.JSXGraph.initBoard(main.elm.id, {
                boundingbox: [-10,10,10, -10],
                showNavigation: false,
                showCopyright: false,
                grid: true,
                axis: true,
                zoom: {
                    enabled: false,
                    wheel: false
                },
                pan: {
                    enabled: false,
                    needTwoFingers: false
                }
            });
            var brd = main.brd;
            brd.options.point.showInfobox = false;

            var t0x = main.get(0);
            if (t0x === null) {
                t0x = 3;
            }
            var t0y = main.get(1);
            if (t0y === null) {
                t0y = -6;
            }
            var t1x = main.get(2);
            if (t1x === null) {
                t1x = 4;
            }
            var t1y = main.get(3);
            if (t1y === null) {
                t1y = -6;
            }
            var t2x = main.get(4);
            if (t2x === null) {
                t2x = 5;
            }
            var t2y = main.get(5);
            if (t2y === null) {
                t2y = -6;
            }
            var t3x = main.get(6);
            if (t3x === null) {
                t3x = 6;
            }
            var t3y = main.get(7);
            if (t3y === null) {
                t3y = -6;
            }


            var p0 = brd.create('point', [t0x, t0y], {
                snapToGrid: true,
                color: 'blue',
                name: 'A1',
                fixed: main.solved
            });
            var p1 = brd.create('point', [t1x, t1y], {
                snapToGrid: true,
                color: 'blue',
                name: 'B1',
                fixed: main.solved
            });
            var p2 = brd.create('point', [t2x, t2y], {
                snapToGrid: true,
                color: 'blue',
                name: 'C1',
                fixed: main.solved
            });
            var p3 = brd.create('point', [t3x, t3y], {
                snapToGrid: true,
                color: 'blue',
                name: 'D1',
                fixed: main.solved
            });

                    var X1=brd.create('point', [{Xa1}, {Ya1}], {
                name: 'A',
                fixed: true,
                color: 'orange',
                visible: true
            });
          
          var X2=brd.create('point', [{Xb1}, {Yb1}], {
                name: 'B',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X3=brd.create('point', [{Xc1}, {Yc1}], {
                name: 'C',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X4=brd.create('point', [{Xd1}, {Yd1}], {
                name: 'D',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var poly=brd.create('polygon',[X1,X2,X3,X4],{
            visible:true,
            fillColor:'orange'
          });
          
           var ansA= brd.create('point', [{Xa}, {Ya}], {
                color: 'green',
                name: 'A1',
                visible: main.solved
            });
            var ansB= brd.create('point', [{Xb}, {Yb}], {
                color: 'green',
                name: 'B1',
                visible: main.solved
            });
            var ansC= brd.create('point', [{Xc}, {Yc}], {
                color: 'green',
                name: 'C1',
                visible: main.solved
            });
            var ansD= brd.create('point', [{Xd}, {Yd}], {
                color: 'green',
                name: 'D1',
                visible: main.solved
            });
            var poly = brd.create('polygon', [ansA, ansB, ansC, ansD], {
                visible: main.solved,
                fillColor: 'green'
            });

            var check = function() {
                main.set(0, p0.X());
                main.set(1, p0.Y());
                main.set(2, p1.X());
                main.set(3, p1.Y());
                main.set(4, p2.X());
                main.set(5, p2.Y());
                main.set(6, p3.X());
                main.set(7, p3.Y());
            }
            check();
            brd.on('update', function() {
                check();
            });
        };
        new JSXQuestion("{MB}", jsxCode, false);
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"></p><p dir="ltr">To graph the translation&nbsp;of the quadrilateral {xMove} and {yMove}.</p><p dir="ltr"><span>point A is at ({Xa1},{Ya1})&nbsp; therefore the translation is at ({Xa},{Ya}).</span><br></p><p dir="ltr"><span>point B is at ({Xb1},{Yb1})&nbsp; therefore the translation&nbsp;is at ({Xb},{Yb}).<br></span></p><p dir="ltr"><span>point C is at ({Xc1},{Yc1})&nbsp; therefore the translation&nbsp;is at ({Xc},{Yc}).<br></span></p><p dir="ltr"><span>point D is at ({Xd1},{Yd1})&nbsp; therefore the translation&nbsp;is at ({Xd},{Yd}).</span></p><p dir="ltr"><span style="font-size: 0.9375rem;"><br></span></p><ol><ul>

    </ul>
</ol>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randShape[_0] == correct</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {_0:choices:MCE}<br>Give the <strong>best</strong>, most specific description.</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {=shape[correct]}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361289  -->
  <question type="formulas">
    <name>
      <text>L64- Rectangle- translation-Id Shape</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Plot the translation of the quadrilateral {xMove} and {yMove}.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>sideStart={[5, 3, 1, 1],[4, 5, 1, 1],[4, 5, 2, 1],[3, 5, 1, 1],[3, 5, 2, 1],[3, 5, 3, 1],[2, 5, 1, 1],[2, 5, 2, 1],[2, 5, 3, 1],[2, 5, 4, 1],[1, 5, 1, 1],[1, 5, 2, 1],[1, 5, 3, 1],[1, 5, 4, 1],[1, 5, 5, 1],[5, 4, 1, 1],[5, 2, 1, 1],[5, 2, 1, 2],[5, 3, 1, 2],[5, 3, 1, 3],[3, 4, 1, 1],[3, 4, 2, 1],[3, 4, 3, 1],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[2, 4, 1, 1],[2, 4, 2, 1],[2, 4, 3, 1],[2, 4, 4, 1],[2, 4, 1, 2],[2, 4, 2, 2],[2, 4, 3, 2],[2, 4, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[1, 2, 1, 4],[1, 2, 2, 4],[3,2, 3, 4],[1, 2, 4, 4],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 1],[1, 4, 4, 1],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[1, 4, 1, 3],[1, 4, 2, 3],[1, 4, 3, 3],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[5, 3, 1, 1],[4, 3, 1, 1],[4, 3, 2, 1],[4, 3, 1, 2],[4, 3, 2, 2],[2, 3, 1, 1],[2, 3, 2, 1],[2, 3, 3, 1],[2, 3, 4, 1],[2, 3, 1, 2],[2, 3, 2, 2],[2, 3, 3, 2],[2, 3, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[2, 3, 1, 4],[2, 3, 2, 4],[2, 3, 3, 4],[2, 3, 4, 1],[1, 3, 1, 1],[1, 3, 2, 1],[1, 3, 3, 1],[1, 3, 4, 1],[1, 3, 5, 1],[1, 3, 1, 2],[1, 3, 2, 2],[1, 3, 3, 2],[1, 3, 4, 2],[1, 3, 5, 2],[1, 3, 1, 3],[1, 3, 2, 3],[1, 3, 3, 3],[1, 3, 4, 3],[1, 3, 5, 3],[1, 3, 1, 1],[1, 3, 2, 3],[1, 3, 3, 4],[1, 3, 4, 2],[1, 3, 5, 1],[1, 3, 1, 3],[1, 3, 2, 2],[2, 1, 3, 5],[1, 3, 4, 2],[1, 3, 5, 1]};
#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
Xt={-4:4:1};
Yt={-4:4:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[#correct tells number of shape shown
correct=1;
side=sideStart[0];
length=sideStart[1];
Xa1=sideStart[2];
Ya1=sideStart[3];
Xb1=Xa1;
Yb1=Ya1+length;
Xc1=Xa1+side;
Yc1=Ya1+length;
Xd1=Xa1+side;
Yd1=Ya1;
axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;

MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>8</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[Xa,Ya,Xb,Yb,Xc,Yc,Xd,Yd]</text>
 </answer>
 <vars2>
  <text><![CDATA[crita=((_0==Xa) &&(_1==Ya))*.25;
critb=((_2==Xb) &&(_3==Yb))*.25;
critc=((_4==Xc) &&(_5==Yc))*.25;
critd=((_6==Xd) &&(_7==Yd))*.25;]]></text>
 </vars2>
 <correctness>
  <text>crita+critb+critc+critd</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script type="text/javascript" src="https://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="https://moodle.itemspro.eu/moodle/aaimg/ajsx/jsxquestion.js">
</script>

<div id="{MB}" class="jxgbox" style="width:350px; height:350px;margin-left:1px; ;"></div>
<script type="text/javascript">
    $(function() {
        var jsxCode = function(main) {
            main.brd = JXG.JSXGraph.initBoard(main.elm.id, {
                boundingbox: [-10, 10, 10, -10],
                showNavigation: false,
                showCopyright: false,
                grid: true,
                axis: true,
                zoom: {
                    enabled: false,
                    wheel: false
                },
                pan: {
                    enabled: false,
                    needTwoFingers: false
                }
            });
            var brd = main.brd;
            brd.options.point.showInfobox = false;

            var t0x = main.get(0);
            if (t0x === null) {
                t0x = 3;
            }
            var t0y = main.get(1);
            if (t0y === null) {
                t0y = -6;
            }
            var t1x = main.get(2);
            if (t1x === null) {
                t1x = 4;
            }
            var t1y = main.get(3);
            if (t1y === null) {
                t1y = -6;
            }
            var t2x = main.get(4);
            if (t2x === null) {
                t2x = 5;
            }
            var t2y = main.get(5);
            if (t2y === null) {
                t2y = -6;
            }
            var t3x = main.get(6);
            if (t3x === null) {
                t3x = 6;
            }
            var t3y = main.get(7);
            if (t3y === null) {
                t3y = -6;
            }


            var p0 = brd.create('point', [t0x, t0y], {
                snapToGrid: true,
                color: 'blue',
                name: 'A1',
                fixed: main.solved
            });
            var p1 = brd.create('point', [t1x, t1y], {
                snapToGrid: true,
                color: 'blue',
                name: 'B1',
                fixed: main.solved
            });
            var p2 = brd.create('point', [t2x, t2y], {
                snapToGrid: true,
                color: 'blue',
                name: 'C1',
                fixed: main.solved
            });
            var p3 = brd.create('point', [t3x, t3y], {
                snapToGrid: true,
                color: 'blue',
                name: 'D1',
                fixed: main.solved
            });

                    var X1=brd.create('point', [{Xa1}, {Ya1}], {
                name: 'A',
                fixed: true,
                color: 'orange',
                visible: true
            });
          
          var X2=brd.create('point', [{Xb1}, {Yb1}], {
                name: 'B',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X3=brd.create('point', [{Xc1}, {Yc1}], {
                name: 'C',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X4=brd.create('point', [{Xd1}, {Yd1}], {
                name: 'D',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var poly=brd.create('polygon',[X1,X2,X3,X4],{
            visible:true,
            fillColor:'orange'
          });
          
           var ansA= brd.create('point', [{Xa}, {Ya}], {
                color: 'green',
                name: 'A1',
                visible: main.solved
            });
            var ansB= brd.create('point', [{Xb}, {Yb}], {
                color: 'green',
                name: 'B1',
                visible: main.solved
            });
            var ansC= brd.create('point', [{Xc}, {Yc}], {
                color: 'green',
                name: 'C1',
                visible: main.solved
            });
            var ansD= brd.create('point', [{Xd}, {Yd}], {
                color: 'green',
                name: 'D1',
                visible: main.solved
            });

            var poly = brd.create('polygon', [ansA, ansB, ansC, ansD], {
                visible: main.solved,
                fillColor: 'green'
            });

            var check = function() {
                main.set(0, p0.X());
                main.set(1, p0.Y());
                main.set(2, p1.X());
                main.set(3, p1.Y());
                main.set(4, p2.X());
                main.set(5, p2.Y());
                main.set(6, p3.X());
                main.set(7, p3.Y());
            }
            check();
            brd.on('update', function() {
                check();
            });
        };
        new JSXQuestion("{MB}", jsxCode, false);
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"></p><p dir="ltr">To graph the translation&nbsp;of the quadrilateral {xMove} and {yMove}.</p><p dir="ltr"><span>point A is at ({Xa1},{Ya1})&nbsp; therefore the translation is at ({Xa},{Ya}).</span><br></p><p dir="ltr"><span>point B is at ({Xb1},{Yb1})&nbsp; therefore the translation&nbsp;is at ({Xb},{Yb}).<br></span></p><p dir="ltr"><span>point C is at ({Xc1},{Yc1})&nbsp; therefore the translation&nbsp;is at ({Xc},{Yc}).<br></span></p><p dir="ltr"><span>point D is at ({Xd1},{Yd1})&nbsp; therefore the translation&nbsp;is at ({Xd},{Yd}).</span></p><p dir="ltr"><span style="font-size: 0.9375rem;"><br></span></p><ol><ul>

    </ul>
</ol>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randShape[_0] == correct</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {_0:choices:MCE}<br>Give the <strong>best</strong>, most specific description.</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {=shape[correct]}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361299  -->
  <question type="formulas">
    <name>
      <text>L64- Rectangle- translation-Id Shape</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Plot the translation of the quadrilateral {xMove} and {yMove}.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>sideStart={[5, 3, 1, 1],[4, 5, 1, 1],[4, 5, 2, 1],[3, 5, 1, 1],[3, 5, 2, 1],[3, 5, 3, 1],[2, 5, 1, 1],[2, 5, 2, 1],[2, 5, 3, 1],[2, 5, 4, 1],[1, 5, 1, 1],[1, 5, 2, 1],[1, 5, 3, 1],[1, 5, 4, 1],[1, 5, 5, 1],[5, 4, 1, 1],[5, 2, 1, 1],[5, 2, 1, 2],[5, 3, 1, 2],[5, 3, 1, 3],[3, 4, 1, 1],[3, 4, 2, 1],[3, 4, 3, 1],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[2, 4, 1, 1],[2, 4, 2, 1],[2, 4, 3, 1],[2, 4, 4, 1],[2, 4, 1, 2],[2, 4, 2, 2],[2, 4, 3, 2],[2, 4, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[1, 2, 1, 4],[1, 2, 2, 4],[3,2, 3, 4],[1, 2, 4, 4],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 1],[1, 4, 4, 1],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[1, 4, 1, 3],[1, 4, 2, 3],[1, 4, 3, 3],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[5, 3, 1, 1],[4, 3, 1, 1],[4, 3, 2, 1],[4, 3, 1, 2],[4, 3, 2, 2],[2, 3, 1, 1],[2, 3, 2, 1],[2, 3, 3, 1],[2, 3, 4, 1],[2, 3, 1, 2],[2, 3, 2, 2],[2, 3, 3, 2],[2, 3, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[2, 3, 1, 4],[2, 3, 2, 4],[2, 3, 3, 4],[2, 3, 4, 1],[1, 3, 1, 1],[1, 3, 2, 1],[1, 3, 3, 1],[1, 3, 4, 1],[1, 3, 5, 1],[1, 3, 1, 2],[1, 3, 2, 2],[1, 3, 3, 2],[1, 3, 4, 2],[1, 3, 5, 2],[1, 3, 1, 3],[1, 3, 2, 3],[1, 3, 3, 3],[1, 3, 4, 3],[1, 3, 5, 3],[1, 3, 1, 1],[1, 3, 2, 3],[1, 3, 3, 4],[1, 3, 4, 2],[1, 3, 5, 1],[1, 3, 1, 3],[1, 3, 2, 2],[2, 1, 3, 5],[1, 3, 4, 2],[1, 3, 5, 1]};
#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
Xt={-4:4:1};
Yt={-4:4:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[#correct tells number of shape shown
correct=1;
side=sideStart[0];
length=sideStart[1];
Xa1=sideStart[2];
Ya1=sideStart[3];
Xb1=Xa1;
Yb1=Ya1+length;
Xc1=Xa1+side;
Yc1=Ya1+length;
Xd1=Xa1+side;
Yd1=Ya1;
axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;

MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>8</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[Xa,Ya,Xb,Yb,Xc,Yc,Xd,Yd]</text>
 </answer>
 <vars2>
  <text><![CDATA[crita=((_0==Xa) &&(_1==Ya))*.25;
critb=((_2==Xb) &&(_3==Yb))*.25;
critc=((_4==Xc) &&(_5==Yc))*.25;
critd=((_6==Xd) &&(_7==Yd))*.25;]]></text>
 </vars2>
 <correctness>
  <text>crita+critb+critc+critd</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script type="text/javascript" src="https://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="https://moodle.itemspro.eu/moodle/aaimg/ajsx/jsxquestion.js">
</script>

<div id="{MB}" class="jxgbox" style="width:350px; height:350px;margin-left:1px; ;"></div>
<script type="text/javascript">
    $(function() {
        var jsxCode = function(main) {
            main.brd = JXG.JSXGraph.initBoard(main.elm.id, {
                boundingbox: [-10, 10, 10, -10],
                showNavigation: false,
                showCopyright: false,
                grid: true,
                axis: true,
                zoom: {
                    enabled: false,
                    wheel: false
                },
                pan: {
                    enabled: false,
                    needTwoFingers: false
                }
            });
            var brd = main.brd;
            brd.options.point.showInfobox = false;

            var t0x = main.get(0);
            if (t0x === null) {
                t0x = 3;
            }
            var t0y = main.get(1);
            if (t0y === null) {
                t0y = -6;
            }
            var t1x = main.get(2);
            if (t1x === null) {
                t1x = 4;
            }
            var t1y = main.get(3);
            if (t1y === null) {
                t1y = -6;
            }
            var t2x = main.get(4);
            if (t2x === null) {
                t2x = 5;
            }
            var t2y = main.get(5);
            if (t2y === null) {
                t2y = -6;
            }
            var t3x = main.get(6);
            if (t3x === null) {
                t3x = 6;
            }
            var t3y = main.get(7);
            if (t3y === null) {
                t3y = -6;
            }


            var p0 = brd.create('point', [t0x, t0y], {
                snapToGrid: true,
                color: 'blue',
                name: 'A1',
                fixed: main.solved
            });
            var p1 = brd.create('point', [t1x, t1y], {
                snapToGrid: true,
                color: 'blue',
                name: 'B1',
                fixed: main.solved
            });
            var p2 = brd.create('point', [t2x, t2y], {
                snapToGrid: true,
                color: 'blue',
                name: 'C1',
                fixed: main.solved
            });
            var p3 = brd.create('point', [t3x, t3y], {
                snapToGrid: true,
                color: 'blue',
                name: 'D1',
                fixed: main.solved
            });

                    var X1=brd.create('point', [{Xa1}, {Ya1}], {
                name: 'A',
                fixed: true,
                color: 'orange',
                visible: true
            });
          
          var X2=brd.create('point', [{Xb1}, {Yb1}], {
                name: 'B',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X3=brd.create('point', [{Xc1}, {Yc1}], {
                name: 'C',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X4=brd.create('point', [{Xd1}, {Yd1}], {
                name: 'D',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var poly=brd.create('polygon',[X1,X2,X3,X4],{
            visible:true,
            fillColor:'orange'
          });
          
           var ansA= brd.create('point', [{Xa}, {Ya}], {
                color: 'green',
                name: 'A1',
                visible: main.solved
            });
            var ansB= brd.create('point', [{Xb}, {Yb}], {
                color: 'green',
                name: 'B1',
                visible: main.solved
            });
            var ansC= brd.create('point', [{Xc}, {Yc}], {
                color: 'green',
                name: 'C1',
                visible: main.solved
            });
            var ansD= brd.create('point', [{Xd}, {Yd}], {
                color: 'green',
                name: 'D1',
                visible: main.solved
            });

            var poly = brd.create('polygon', [ansA, ansB, ansC, ansD], {
                visible: main.solved,
                fillColor: 'green'
            });

            var check = function() {
                main.set(0, p0.X());
                main.set(1, p0.Y());
                main.set(2, p1.X());
                main.set(3, p1.Y());
                main.set(4, p2.X());
                main.set(5, p2.Y());
                main.set(6, p3.X());
                main.set(7, p3.Y());
            }
            check();
            brd.on('update', function() {
                check();
            });
        };
        new JSXQuestion("{MB}", jsxCode, false);
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"></p><p dir="ltr">To graph the translation&nbsp;of the quadrilateral {xMove} and {yMove}.</p><p dir="ltr"><span>point A is at ({Xa1},{Ya1})&nbsp; therefore the translation is at ({Xa},{Ya}).</span><br></p><p dir="ltr"><span>point B is at ({Xb1},{Yb1})&nbsp; therefore the translation&nbsp;is at ({Xb},{Yb}).<br></span></p><p dir="ltr"><span>point C is at ({Xc1},{Yc1})&nbsp; therefore the translation&nbsp;is at ({Xc},{Yc}).<br></span></p><p dir="ltr"><span>point D is at ({Xd1},{Yd1})&nbsp; therefore the translation&nbsp;is at ({Xd},{Yd}).</span></p><p dir="ltr"><span style="font-size: 0.9375rem;"><br></span></p><ol><ul>

    </ul>
</ol>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randShape[_0] == correct</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {_0:choices:MCE}<br>Give the <strong>best</strong>, most specific description.</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {=shape[correct]}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361290  -->
  <question type="formulas">
    <name>
      <text>L64- Square - translation-Id Shape</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Plot the translation of the quadrilateral {xMove} and {yMove}.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>sideStart={[5,1,1],[4,1,1],[4,1,2],[4,2,1],[4,2,2],[3,1,1],[3,1,2],[3,1,3],[3,2,1],[3,2,2],[3,2,3],[3,3,1],[3,3,2],[3,3,3],[2,1,1],[2,1,2],[2,1,3],[2,1,4],[2,2,1],[2,2,2],[2,2,3],[2,2,4],[2,3,1],[2,3,2],[2,3,3],[2,3,4],[2,4,1],[2,4,2],[2,4,3],[2,4,4],[1,1,1],[1,1,2],[1,1,3],[1,1,4],[1,1,5],[1,2,1],[1,2,2],[1,2,3],[1,2,4],[1,2,5],[1,3,1],[1,3,2],[1,3,3],[1,3,4],[1,3,5],[1,4,1],[1,4,2],[1,4,3],[1,4,4],[1,4,5],[1,5,1],[1,5,2],[1,5,3],[1,5,4],[1,5,5]};
#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
Xt={-4:4:1};
Yt={-4:4:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[#correct tells number of shape shown
correct=0;
side=sideStart[0];
Xa1=sideStart[1];
Ya1=sideStart[2];
Xb1=Xa1;
Yb1=Ya1+side;
Xc1=Xa1+side;
Yc1=Ya1+side;
Xd1=Xa1+side;
Yd1=Ya1;
axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;

MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>8</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[Xa,Ya,Xb,Yb,Xc,Yc,Xd,Yd]</text>
 </answer>
 <vars2>
  <text><![CDATA[crita=((_0==Xa) &&(_1==Ya))*.25;
critb=((_2==Xb) &&(_3==Yb))*.25;
critc=((_4==Xc) &&(_5==Yc))*.25;
critd=((_6==Xd) &&(_7==Yd))*.25;]]></text>
 </vars2>
 <correctness>
  <text>crita+critb+critc+critd</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script type="text/javascript" src="https://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="https://moodle.itemspro.eu/moodle/aaimg/ajsx/jsxquestion.js">
</script>

<div id="{MB}" class="jxgbox" style="width:350px; height:350px;margin-left:1px; ;"></div>
<script type="text/javascript">
    $(function() {
        var jsxCode = function(main) {
            main.brd = JXG.JSXGraph.initBoard(main.elm.id, {
                boundingbox: [-10, 10, 10, -10],
                showNavigation: false,
                showCopyright: false,
                grid: true,
                axis: true,
                zoom: {
                    enabled: false,
                    wheel: false
                },
                pan: {
                    enabled: false,
                    needTwoFingers: false
                }
            });
            var brd = main.brd;
            brd.options.point.showInfobox = false;

            var t0x = main.get(0);
            if (t0x === null) {
                t0x = 3;
            }
            var t0y = main.get(1);
            if (t0y === null) {
                t0y = -6;
            }
            var t1x = main.get(2);
            if (t1x === null) {
                t1x = 4;
            }
            var t1y = main.get(3);
            if (t1y === null) {
                t1y = -6;
            }
            var t2x = main.get(4);
            if (t2x === null) {
                t2x = 5;
            }
            var t2y = main.get(5);
            if (t2y === null) {
                t2y = -6;
            }
            var t3x = main.get(6);
            if (t3x === null) {
                t3x = 6;
            }
            var t3y = main.get(7);
            if (t3y === null) {
                t3y = -6;
            }


            var p0 = brd.create('point', [t0x, t0y], {
                snapToGrid: true,
                color: 'blue',
                name: 'A1',
                fixed: main.solved
            });
            var p1 = brd.create('point', [t1x, t1y], {
                snapToGrid: true,
                color: 'blue',
                name: 'B1',
                fixed: main.solved
            });
            var p2 = brd.create('point', [t2x, t2y], {
                snapToGrid: true,
                color: 'blue',
                name: 'C1',
                fixed: main.solved
            });
            var p3 = brd.create('point', [t3x, t3y], {
                snapToGrid: true,
                color: 'blue',
                name: 'D1',
                fixed: main.solved
            });

                    var X1=brd.create('point', [{Xa1}, {Ya1}], {
                name: 'A',
                fixed: true,
                color: 'orange',
                visible: true
            });
          
          var X2=brd.create('point', [{Xb1}, {Yb1}], {
                name: 'B',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X3=brd.create('point', [{Xc1}, {Yc1}], {
                name: 'C',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X4=brd.create('point', [{Xd1}, {Yd1}], {
                name: 'D',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var poly=brd.create('polygon',[X1,X2,X3,X4],{
            visible:true,
            fillColor:'orange'
          });
          
           var ansA= brd.create('point', [{Xa}, {Ya}], {
                color: 'green',
                name: 'A1',
                visible: main.solved
            });
            var ansB= brd.create('point', [{Xb}, {Yb}], {
                color: 'green',
                name: 'B1',
                visible: main.solved
            });
            var ansC= brd.create('point', [{Xc}, {Yc}], {
                color: 'green',
                name: 'C1',
                visible: main.solved
            });
            var ansD= brd.create('point', [{Xd}, {Yd}], {
                color: 'green',
                name: 'D1',
                visible: main.solved
            });

            var poly = brd.create('polygon', [ansA, ansB, ansC, ansD], {
                visible: main.solved,
                fillColor: 'green'
            });

            var check = function() {
                main.set(0, p0.X());
                main.set(1, p0.Y());
                main.set(2, p1.X());
                main.set(3, p1.Y());
                main.set(4, p2.X());
                main.set(5, p2.Y());
                main.set(6, p3.X());
                main.set(7, p3.Y());
            }
            check();
            brd.on('update', function() {
                check();
            });
        };
        new JSXQuestion("{MB}", jsxCode, false);
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"></p><p dir="ltr">To graph the translation&nbsp;of the quadrilateral {xMove} and {yMove}.</p><p dir="ltr"><span>point A is at ({Xa1},{Ya1})&nbsp; therefore the translation is at ({Xa},{Ya}).</span><br></p><p dir="ltr"><span>point B is at ({Xb1},{Yb1})&nbsp; therefore the translation&nbsp;is at ({Xb},{Yb}).<br></span></p><p dir="ltr"><span>point C is at ({Xc1},{Yc1})&nbsp; therefore the translation&nbsp;is at ({Xc},{Yc}).<br></span></p><p dir="ltr"><span>point D is at ({Xd1},{Yd1})&nbsp; therefore the translation&nbsp;is at ({Xd},{Yd}).</span></p><p dir="ltr"><span style="font-size: 0.9375rem;"><br></span></p><ol><ul>

    </ul>
</ol>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randShape[_0] == correct</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {_0:choices:MCE}<br>Give the <strong>best</strong>, most specific description.</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {=shape[correct]}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361300  -->
  <question type="formulas">
    <name>
      <text>L64- Square - translation-Id Shape</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Plot the translation of the quadrilateral {xMove} and {yMove}.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>sideStart={[5,1,1],[4,1,1],[4,1,2],[4,2,1],[4,2,2],[3,1,1],[3,1,2],[3,1,3],[3,2,1],[3,2,2],[3,2,3],[3,3,1],[3,3,2],[3,3,3],[2,1,1],[2,1,2],[2,1,3],[2,1,4],[2,2,1],[2,2,2],[2,2,3],[2,2,4],[2,3,1],[2,3,2],[2,3,3],[2,3,4],[2,4,1],[2,4,2],[2,4,3],[2,4,4],[1,1,1],[1,1,2],[1,1,3],[1,1,4],[1,1,5],[1,2,1],[1,2,2],[1,2,3],[1,2,4],[1,2,5],[1,3,1],[1,3,2],[1,3,3],[1,3,4],[1,3,5],[1,4,1],[1,4,2],[1,4,3],[1,4,4],[1,4,5],[1,5,1],[1,5,2],[1,5,3],[1,5,4],[1,5,5]};
#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
Xt={-4:4:1};
Yt={-4:4:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[#correct tells number of shape shown
correct=0;
side=sideStart[0];
Xa1=sideStart[1];
Ya1=sideStart[2];
Xb1=Xa1;
Yb1=Ya1+side;
Xc1=Xa1+side;
Yc1=Ya1+side;
Xd1=Xa1+side;
Yd1=Ya1;
axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;

MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>8</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[Xa,Ya,Xb,Yb,Xc,Yc,Xd,Yd]</text>
 </answer>
 <vars2>
  <text><![CDATA[crita=((_0==Xa) &&(_1==Ya))*.25;
critb=((_2==Xb) &&(_3==Yb))*.25;
critc=((_4==Xc) &&(_5==Yc))*.25;
critd=((_6==Xd) &&(_7==Yd))*.25;]]></text>
 </vars2>
 <correctness>
  <text>crita+critb+critc+critd</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script type="text/javascript" src="https://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="https://moodle.itemspro.eu/moodle/aaimg/ajsx/jsxquestion.js">
</script>

<div id="{MB}" class="jxgbox" style="width:350px; height:350px;margin-left:1px; ;"></div>
<script type="text/javascript">
    $(function() {
        var jsxCode = function(main) {
            main.brd = JXG.JSXGraph.initBoard(main.elm.id, {
                boundingbox: [-10, 10, 10, -10],
                showNavigation: false,
                showCopyright: false,
                grid: true,
                axis: true,
                zoom: {
                    enabled: false,
                    wheel: false
                },
                pan: {
                    enabled: false,
                    needTwoFingers: false
                }
            });
            var brd = main.brd;
            brd.options.point.showInfobox = false;

            var t0x = main.get(0);
            if (t0x === null) {
                t0x = 3;
            }
            var t0y = main.get(1);
            if (t0y === null) {
                t0y = -6;
            }
            var t1x = main.get(2);
            if (t1x === null) {
                t1x = 4;
            }
            var t1y = main.get(3);
            if (t1y === null) {
                t1y = -6;
            }
            var t2x = main.get(4);
            if (t2x === null) {
                t2x = 5;
            }
            var t2y = main.get(5);
            if (t2y === null) {
                t2y = -6;
            }
            var t3x = main.get(6);
            if (t3x === null) {
                t3x = 6;
            }
            var t3y = main.get(7);
            if (t3y === null) {
                t3y = -6;
            }


            var p0 = brd.create('point', [t0x, t0y], {
                snapToGrid: true,
                color: 'blue',
                name: 'A1',
                fixed: main.solved
            });
            var p1 = brd.create('point', [t1x, t1y], {
                snapToGrid: true,
                color: 'blue',
                name: 'B1',
                fixed: main.solved
            });
            var p2 = brd.create('point', [t2x, t2y], {
                snapToGrid: true,
                color: 'blue',
                name: 'C1',
                fixed: main.solved
            });
            var p3 = brd.create('point', [t3x, t3y], {
                snapToGrid: true,
                color: 'blue',
                name: 'D1',
                fixed: main.solved
            });

                    var X1=brd.create('point', [{Xa1}, {Ya1}], {
                name: 'A',
                fixed: true,
                color: 'orange',
                visible: true
            });
          
          var X2=brd.create('point', [{Xb1}, {Yb1}], {
                name: 'B',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X3=brd.create('point', [{Xc1}, {Yc1}], {
                name: 'C',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X4=brd.create('point', [{Xd1}, {Yd1}], {
                name: 'D',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var poly=brd.create('polygon',[X1,X2,X3,X4],{
            visible:true,
            fillColor:'orange'
          });
          
           var ansA= brd.create('point', [{Xa}, {Ya}], {
                color: 'green',
                name: 'A1',
                visible: main.solved
            });
            var ansB= brd.create('point', [{Xb}, {Yb}], {
                color: 'green',
                name: 'B1',
                visible: main.solved
            });
            var ansC= brd.create('point', [{Xc}, {Yc}], {
                color: 'green',
                name: 'C1',
                visible: main.solved
            });
            var ansD= brd.create('point', [{Xd}, {Yd}], {
                color: 'green',
                name: 'D1',
                visible: main.solved
            });

            var poly = brd.create('polygon', [ansA, ansB, ansC, ansD], {
                visible: main.solved,
                fillColor: 'green'
            });

            var check = function() {
                main.set(0, p0.X());
                main.set(1, p0.Y());
                main.set(2, p1.X());
                main.set(3, p1.Y());
                main.set(4, p2.X());
                main.set(5, p2.Y());
                main.set(6, p3.X());
                main.set(7, p3.Y());
            }
            check();
            brd.on('update', function() {
                check();
            });
        };
        new JSXQuestion("{MB}", jsxCode, false);
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"></p><p dir="ltr">To graph the translation&nbsp;of the quadrilateral {xMove} and {yMove}.</p><p dir="ltr"><span>point A is at ({Xa1},{Ya1})&nbsp; therefore the translation is at ({Xa},{Ya}).</span><br></p><p dir="ltr"><span>point B is at ({Xb1},{Yb1})&nbsp; therefore the translation&nbsp;is at ({Xb},{Yb}).<br></span></p><p dir="ltr"><span>point C is at ({Xc1},{Yc1})&nbsp; therefore the translation&nbsp;is at ({Xc},{Yc}).<br></span></p><p dir="ltr"><span>point D is at ({Xd1},{Yd1})&nbsp; therefore the translation&nbsp;is at ({Xd},{Yd}).</span></p><p dir="ltr"><span style="font-size: 0.9375rem;"><br></span></p><ol><ul>

    </ul>
</ol>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randShape[_0] == correct</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {_0:choices:MCE}<br>Give the <strong>best</strong>, most specific description.</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {=shape[correct]}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361291  -->
  <question type="formulas">
    <name>
      <text>L64- Trapezoid- translation-Id Shape</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Plot the translation of the quadrilateral {xMove} and {yMove}.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>sideStart={[5, 3, 1, 1],[4, 5, 1, 1],[4, 5, 2, 1],[3, 5, 1, 1],[3, 5, 2, 1],[3, 5, 3, 1],[2, 5, 1, 1],[2, 5, 2, 1],[2, 5, 3, 1],[2, 5, 4, 1],[1, 5, 1, 1],[1, 5, 2, 1],[1, 5, 3, 1],[1, 5, 4, 1],[1, 5, 5, 1],[5, 4, 1, 1],[5, 2, 1, 1],[5, 2, 1, 2],[5, 3, 1, 2],[5, 3, 1, 3],[3, 4, 1, 1],[3, 4, 2, 1],[3, 4, 3, 1],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[2, 4, 1, 1],[2, 4, 2, 1],[2, 4, 3, 1],[2, 4, 4, 1],[2, 4, 1, 2],[2, 4, 2, 2],[2, 4, 3, 2],[2, 4, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[1, 2, 1, 4],[1, 2, 2, 4],[3,2, 3, 4],[1, 2, 4, 4],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 1],[1, 4, 4, 1],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[1, 4, 1, 3],[1, 4, 2, 3],[1, 4, 3, 3],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[5, 3, 1, 1],[4, 3, 1, 1],[4, 3, 2, 1],[4, 3, 1, 2],[4, 3, 2, 2],[2, 3, 1, 1],[2, 3, 2, 1],[2, 3, 3, 1],[2, 3, 4, 1],[2, 3, 1, 2],[2, 3, 2, 2],[2, 3, 3, 2],[2, 3, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[2, 3, 1, 4],[2, 3, 2, 4],[2, 3, 3, 4],[2, 3, 4, 1],[1, 3, 1, 1],[1, 3, 2, 1],[1, 3, 3, 1],[1, 3, 4, 1],[1, 3, 5, 1],[1, 3, 1, 2],[1, 3, 2, 2],[1, 3, 3, 2],[1, 3, 4, 2],[1, 3, 5, 2],[1, 3, 1, 3],[1, 3, 2, 3],[1, 3, 3, 3],[1, 3, 4, 3],[1, 3, 5, 3],[1, 3, 1, 1],[1, 3, 2, 3],[1, 3, 3, 4],[1, 3, 4, 2],[1, 3, 5, 1],[1, 3, 1, 3],[1, 3, 2, 2],[2, 1, 3, 5],[1, 3, 4, 2],[1, 3, 5, 1]};
#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
Xt={-4:4:1};
Yt={-4:4:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[#correct tells number of shape shown
correct=2;
side=sideStart[0];
length=sideStart[1];
Xa1=sideStart[2];
Ya1=sideStart[3];
Xb1=Xa1;
Yb1=Ya1+length;
Xc1=Xa1+side;
Yc1=Ya1+length;
Xd1=Xa1+side+1;
Yd1=Ya1;
axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;
MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>8</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[Xa,Ya,Xb,Yb,Xc,Yc,Xd,Yd]</text>
 </answer>
 <vars2>
  <text><![CDATA[crita=((_0==Xa) &&(_1==Ya))*.25;
critb=((_2==Xb) &&(_3==Yb))*.25;
critc=((_4==Xc) &&(_5==Yc))*.25;
critd=((_6==Xd) &&(_7==Yd))*.25;]]></text>
 </vars2>
 <correctness>
  <text>crita+critb+critc+critd</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script type="text/javascript" src="https://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="https://moodle.itemspro.eu/moodle/aaimg/ajsx/jsxquestion.js">
</script>

<div id="{MB}" class="jxgbox" style="width:350px; height:350px;margin-left:1px; ;"></div>
<script type="text/javascript">
    $(function() {
        var jsxCode = function(main) {
            main.brd = JXG.JSXGraph.initBoard(main.elm.id, {
                boundingbox: [-10, 10, 10, -10],
                showNavigation: false,
                showCopyright: false,
                grid: true,
                axis: true,
                zoom: {
                    enabled: false,
                    wheel: false
                },
                pan: {
                    enabled: false,
                    needTwoFingers: false
                }
            });
            var brd = main.brd;
            brd.options.point.showInfobox = false;

            var t0x = main.get(0);
            if (t0x === null) {
                t0x = 3;
            }
            var t0y = main.get(1);
            if (t0y === null) {
                t0y = -6;
            }
            var t1x = main.get(2);
            if (t1x === null) {
                t1x = 4;
            }
            var t1y = main.get(3);
            if (t1y === null) {
                t1y = -6;
            }
            var t2x = main.get(4);
            if (t2x === null) {
                t2x = 5;
            }
            var t2y = main.get(5);
            if (t2y === null) {
                t2y = -6;
            }
            var t3x = main.get(6);
            if (t3x === null) {
                t3x = 6;
            }
            var t3y = main.get(7);
            if (t3y === null) {
                t3y = -6;
            }


            var p0 = brd.create('point', [t0x, t0y], {
                snapToGrid: true,
                color: 'blue',
                name: 'A1',
                fixed: main.solved
            });
            var p1 = brd.create('point', [t1x, t1y], {
                snapToGrid: true,
                color: 'blue',
                name: 'B1',
                fixed: main.solved
            });
            var p2 = brd.create('point', [t2x, t2y], {
                snapToGrid: true,
                color: 'blue',
                name: 'C1',
                fixed: main.solved
            });
            var p3 = brd.create('point', [t3x, t3y], {
                snapToGrid: true,
                color: 'blue',
                name: 'D1',
                fixed: main.solved
            });

                    var X1=brd.create('point', [{Xa1}, {Ya1}], {
                name: 'A',
                fixed: true,
                color: 'orange',
                visible: true
            });
          
          var X2=brd.create('point', [{Xb1}, {Yb1}], {
                name: 'B',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X3=brd.create('point', [{Xc1}, {Yc1}], {
                name: 'C',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X4=brd.create('point', [{Xd1}, {Yd1}], {
                name: 'D',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var poly=brd.create('polygon',[X1,X2,X3,X4],{
            visible:true,
            fillColor:'orange'
          });
          
           var ansA= brd.create('point', [{Xa}, {Ya}], {
                color: 'green',
                name: 'A1',
                visible: main.solved
            });
            var ansB= brd.create('point', [{Xb}, {Yb}], {
                color: 'green',
                name: 'B1',
                visible: main.solved
            });
            var ansC= brd.create('point', [{Xc}, {Yc}], {
                color: 'green',
                name: 'C1',
                visible: main.solved
            });
            var ansD= brd.create('point', [{Xd}, {Yd}], {
                color: 'green',
                name: 'D1',
                visible: main.solved
            });
            var poly = brd.create('polygon', [ansA, ansB, ansC, ansD], {
                visible: main.solved,
                fillColor: 'green'
            });

            var check = function() {
                main.set(0, p0.X());
                main.set(1, p0.Y());
                main.set(2, p1.X());
                main.set(3, p1.Y());
                main.set(4, p2.X());
                main.set(5, p2.Y());
                main.set(6, p3.X());
                main.set(7, p3.Y());
            }
            check();
            brd.on('update', function() {
                check();
            });
        };
        new JSXQuestion("{MB}", jsxCode, false);
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"></p><p dir="ltr">To graph the translation&nbsp;of the quadrilateral {xMove} and {yMove}.</p><p dir="ltr"><span>point A is at ({Xa1},{Ya1})&nbsp; therefore the translation is at ({Xa},{Ya}).</span><br></p><p dir="ltr"><span>point B is at ({Xb1},{Yb1})&nbsp; therefore the translation&nbsp;is at ({Xb},{Yb}).<br></span></p><p dir="ltr"><span>point C is at ({Xc1},{Yc1})&nbsp; therefore the translation&nbsp;is at ({Xc},{Yc}).<br></span></p><p dir="ltr"><span>point D is at ({Xd1},{Yd1})&nbsp; therefore the translation&nbsp;is at ({Xd},{Yd}).</span></p><p dir="ltr"><span style="font-size: 0.9375rem;"><br></span></p><ol><ul>

    </ul>
</ol>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randShape[_0] == correct</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {_0:choices:MCE}<br>Give the <strong>best</strong>, most specific description.</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {=shape[correct]}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361301  -->
  <question type="formulas">
    <name>
      <text>L64- Trapezoid- translation-Id Shape</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Plot the translation of the quadrilateral {xMove} and {yMove}.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>sideStart={[5, 3, 1, 1],[4, 5, 1, 1],[4, 5, 2, 1],[3, 5, 1, 1],[3, 5, 2, 1],[3, 5, 3, 1],[2, 5, 1, 1],[2, 5, 2, 1],[2, 5, 3, 1],[2, 5, 4, 1],[1, 5, 1, 1],[1, 5, 2, 1],[1, 5, 3, 1],[1, 5, 4, 1],[1, 5, 5, 1],[5, 4, 1, 1],[5, 2, 1, 1],[5, 2, 1, 2],[5, 3, 1, 2],[5, 3, 1, 3],[3, 4, 1, 1],[3, 4, 2, 1],[3, 4, 3, 1],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[2, 4, 1, 1],[2, 4, 2, 1],[2, 4, 3, 1],[2, 4, 4, 1],[2, 4, 1, 2],[2, 4, 2, 2],[2, 4, 3, 2],[2, 4, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[1, 2, 1, 4],[1, 2, 2, 4],[3,2, 3, 4],[1, 2, 4, 4],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 1],[1, 4, 4, 1],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[1, 4, 1, 3],[1, 4, 2, 3],[1, 4, 3, 3],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[5, 3, 1, 1],[4, 3, 1, 1],[4, 3, 2, 1],[4, 3, 1, 2],[4, 3, 2, 2],[2, 3, 1, 1],[2, 3, 2, 1],[2, 3, 3, 1],[2, 3, 4, 1],[2, 3, 1, 2],[2, 3, 2, 2],[2, 3, 3, 2],[2, 3, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[2, 3, 1, 4],[2, 3, 2, 4],[2, 3, 3, 4],[2, 3, 4, 1],[1, 3, 1, 1],[1, 3, 2, 1],[1, 3, 3, 1],[1, 3, 4, 1],[1, 3, 5, 1],[1, 3, 1, 2],[1, 3, 2, 2],[1, 3, 3, 2],[1, 3, 4, 2],[1, 3, 5, 2],[1, 3, 1, 3],[1, 3, 2, 3],[1, 3, 3, 3],[1, 3, 4, 3],[1, 3, 5, 3],[1, 3, 1, 1],[1, 3, 2, 3],[1, 3, 3, 4],[1, 3, 4, 2],[1, 3, 5, 1],[1, 3, 1, 3],[1, 3, 2, 2],[2, 1, 3, 5],[1, 3, 4, 2],[1, 3, 5, 1]};
#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
Xt={-4:4:1};
Yt={-4:4:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[#correct tells number of shape shown
correct=2;
side=sideStart[0];
length=sideStart[1];
Xa1=sideStart[2];
Ya1=sideStart[3];
Xb1=Xa1;
Yb1=Ya1+length;
Xc1=Xa1+side;
Yc1=Ya1+length;
Xd1=Xa1+side+1;
Yd1=Ya1;
axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;
MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>8</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[Xa,Ya,Xb,Yb,Xc,Yc,Xd,Yd]</text>
 </answer>
 <vars2>
  <text><![CDATA[crita=((_0==Xa) &&(_1==Ya))*.25;
critb=((_2==Xb) &&(_3==Yb))*.25;
critc=((_4==Xc) &&(_5==Yc))*.25;
critd=((_6==Xd) &&(_7==Yd))*.25;]]></text>
 </vars2>
 <correctness>
  <text>crita+critb+critc+critd</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script type="text/javascript" src="https://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="https://moodle.itemspro.eu/moodle/aaimg/ajsx/jsxquestion.js">
</script>

<div id="{MB}" class="jxgbox" style="width:350px; height:350px;margin-left:1px; ;"></div>
<script type="text/javascript">
    $(function() {
        var jsxCode = function(main) {
            main.brd = JXG.JSXGraph.initBoard(main.elm.id, {
                boundingbox: [-10, 10, 10, -10],
                showNavigation: false,
                showCopyright: false,
                grid: true,
                axis: true,
                zoom: {
                    enabled: false,
                    wheel: false
                },
                pan: {
                    enabled: false,
                    needTwoFingers: false
                }
            });
            var brd = main.brd;
            brd.options.point.showInfobox = false;

            var t0x = main.get(0);
            if (t0x === null) {
                t0x = 3;
            }
            var t0y = main.get(1);
            if (t0y === null) {
                t0y = -6;
            }
            var t1x = main.get(2);
            if (t1x === null) {
                t1x = 4;
            }
            var t1y = main.get(3);
            if (t1y === null) {
                t1y = -6;
            }
            var t2x = main.get(4);
            if (t2x === null) {
                t2x = 5;
            }
            var t2y = main.get(5);
            if (t2y === null) {
                t2y = -6;
            }
            var t3x = main.get(6);
            if (t3x === null) {
                t3x = 6;
            }
            var t3y = main.get(7);
            if (t3y === null) {
                t3y = -6;
            }


            var p0 = brd.create('point', [t0x, t0y], {
                snapToGrid: true,
                color: 'blue',
                name: 'A1',
                fixed: main.solved
            });
            var p1 = brd.create('point', [t1x, t1y], {
                snapToGrid: true,
                color: 'blue',
                name: 'B1',
                fixed: main.solved
            });
            var p2 = brd.create('point', [t2x, t2y], {
                snapToGrid: true,
                color: 'blue',
                name: 'C1',
                fixed: main.solved
            });
            var p3 = brd.create('point', [t3x, t3y], {
                snapToGrid: true,
                color: 'blue',
                name: 'D1',
                fixed: main.solved
            });

                    var X1=brd.create('point', [{Xa1}, {Ya1}], {
                name: 'A',
                fixed: true,
                color: 'orange',
                visible: true
            });
          
          var X2=brd.create('point', [{Xb1}, {Yb1}], {
                name: 'B',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X3=brd.create('point', [{Xc1}, {Yc1}], {
                name: 'C',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X4=brd.create('point', [{Xd1}, {Yd1}], {
                name: 'D',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var poly=brd.create('polygon',[X1,X2,X3,X4],{
            visible:true,
            fillColor:'orange'
          });
          
           var ansA= brd.create('point', [{Xa}, {Ya}], {
                color: 'green',
                name: 'A1',
                visible: main.solved
            });
            var ansB= brd.create('point', [{Xb}, {Yb}], {
                color: 'green',
                name: 'B1',
                visible: main.solved
            });
            var ansC= brd.create('point', [{Xc}, {Yc}], {
                color: 'green',
                name: 'C1',
                visible: main.solved
            });
            var ansD= brd.create('point', [{Xd}, {Yd}], {
                color: 'green',
                name: 'D1',
                visible: main.solved
            });
            var poly = brd.create('polygon', [ansA, ansB, ansC, ansD], {
                visible: main.solved,
                fillColor: 'green'
            });

            var check = function() {
                main.set(0, p0.X());
                main.set(1, p0.Y());
                main.set(2, p1.X());
                main.set(3, p1.Y());
                main.set(4, p2.X());
                main.set(5, p2.Y());
                main.set(6, p3.X());
                main.set(7, p3.Y());
            }
            check();
            brd.on('update', function() {
                check();
            });
        };
        new JSXQuestion("{MB}", jsxCode, false);
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"></p><p dir="ltr">To graph the translation&nbsp;of the quadrilateral {xMove} and {yMove}.</p><p dir="ltr"><span>point A is at ({Xa1},{Ya1})&nbsp; therefore the translation is at ({Xa},{Ya}).</span><br></p><p dir="ltr"><span>point B is at ({Xb1},{Yb1})&nbsp; therefore the translation&nbsp;is at ({Xb},{Yb}).<br></span></p><p dir="ltr"><span>point C is at ({Xc1},{Yc1})&nbsp; therefore the translation&nbsp;is at ({Xc},{Yc}).<br></span></p><p dir="ltr"><span>point D is at ({Xd1},{Yd1})&nbsp; therefore the translation&nbsp;is at ({Xd},{Yd}).</span></p><p dir="ltr"><span style="font-size: 0.9375rem;"><br></span></p><ol><ul>

    </ul>
</ol>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randShape[_0] == correct</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {_0:choices:MCE}<br>Give the <strong>best</strong>, most specific description.</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {=shape[correct]}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361292  -->
  <question type="formulas">
    <name>
      <text>L64- Trapezoid2- translation-Id Shape</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Plot the translation of the quadrilateral {xMove} and {yMove}.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>sideStart={[5, 3, 1, 1],[4, 5, 1, 1],[4, 5, 2, 1],[3, 5, 1, 1],[3, 5, 2, 1],[3, 5, 3, 1],[2, 5, 1, 1],[2, 5, 2, 1],[2, 5, 3, 1],[2, 5, 4, 1],[1, 5, 1, 1],[1, 5, 2, 1],[1, 5, 3, 1],[1, 5, 4, 1],[1, 5, 5, 1],[5, 4, 1, 1],[5, 2, 1, 1],[5, 2, 1, 2],[5, 3, 1, 2],[5, 3, 1, 3],[3, 4, 1, 1],[3, 4, 2, 1],[3, 4, 3, 1],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[2, 4, 1, 1],[2, 4, 2, 1],[2, 4, 3, 1],[2, 4, 4, 1],[2, 4, 1, 2],[2, 4, 2, 2],[2, 4, 3, 2],[2, 4, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[1, 2, 1, 4],[1, 2, 2, 4],[3,2, 3, 4],[1, 2, 4, 4],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 1],[1, 4, 4, 1],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[1, 4, 1, 3],[1, 4, 2, 3],[1, 4, 3, 3],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[5, 3, 1, 1],[4, 3, 1, 1],[4, 3, 2, 1],[4, 3, 1, 2],[4, 3, 2, 2],[2, 3, 1, 1],[2, 3, 2, 1],[2, 3, 3, 1],[2, 3, 4, 1],[2, 3, 1, 2],[2, 3, 2, 2],[2, 3, 3, 2],[2, 3, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[2, 3, 1, 4],[2, 3, 2, 4],[2, 3, 3, 4],[2, 3, 4, 1],[1, 3, 1, 1],[1, 3, 2, 1],[1, 3, 3, 1],[1, 3, 4, 1],[1, 3, 5, 1],[1, 3, 1, 2],[1, 3, 2, 2],[1, 3, 3, 2],[1, 3, 4, 2],[1, 3, 5, 2],[1, 3, 1, 3],[1, 3, 2, 3],[1, 3, 3, 3],[1, 3, 4, 3],[1, 3, 5, 3],[1, 3, 1, 1],[1, 3, 2, 3],[1, 3, 3, 4],[1, 3, 4, 2],[1, 3, 5, 1],[1, 3, 1, 3],[1, 3, 2, 2],[2, 1, 3, 5],[1, 3, 4, 2],[1, 3, 5, 1]};
#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
Xt={-4:4:1};
Yt={-4:4:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[#correct tells number of shape shown
correct=2;
side=sideStart[0];
length=sideStart[1];
Xa1=sideStart[2];
Ya1=sideStart[3];
Xb1=Xa1;
Yb1=Ya1+length;
Xc1=Xa1+side;
Yc1=Ya1+length;
Xd1=Xa1+side+1;
Yd1=Ya1;
Xa1=Xa1-1;
axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;

MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>8</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[Xa,Ya,Xb,Yb,Xc,Yc,Xd,Yd]</text>
 </answer>
 <vars2>
  <text><![CDATA[crita=((_0==Xa) &&(_1==Ya))*.25;
critb=((_2==Xb) &&(_3==Yb))*.25;
critc=((_4==Xc) &&(_5==Yc))*.25;
critd=((_6==Xd) &&(_7==Yd))*.25;]]></text>
 </vars2>
 <correctness>
  <text>crita+critb+critc+critd</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script type="text/javascript" src="https://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="https://moodle.itemspro.eu/moodle/aaimg/ajsx/jsxquestion.js">
</script>

<div id="{MB}" class="jxgbox" style="width:350px; height:350px;margin-left:1px; ;"></div>
<script type="text/javascript">
    $(function() {
        var jsxCode = function(main) {
            main.brd = JXG.JSXGraph.initBoard(main.elm.id, {
                boundingbox: [-10, 10, 10, -10],
                showNavigation: false,
                showCopyright: false,
                grid: true,
                axis: true,
                zoom: {
                    enabled: false,
                    wheel: false
                },
                pan: {
                    enabled: false,
                    needTwoFingers: false
                }
            });
            var brd = main.brd;
            brd.options.point.showInfobox = false;

            var t0x = main.get(0);
            if (t0x === null) {
                t0x = 3;
            }
            var t0y = main.get(1);
            if (t0y === null) {
                t0y = -6;
            }
            var t1x = main.get(2);
            if (t1x === null) {
                t1x = 4;
            }
            var t1y = main.get(3);
            if (t1y === null) {
                t1y = -6;
            }
            var t2x = main.get(4);
            if (t2x === null) {
                t2x = 5;
            }
            var t2y = main.get(5);
            if (t2y === null) {
                t2y = -6;
            }
            var t3x = main.get(6);
            if (t3x === null) {
                t3x = 6;
            }
            var t3y = main.get(7);
            if (t3y === null) {
                t3y = -6;
            }


            var p0 = brd.create('point', [t0x, t0y], {
                snapToGrid: true,
                color: 'blue',
                name: 'A1',
                fixed: main.solved
            });
            var p1 = brd.create('point', [t1x, t1y], {
                snapToGrid: true,
                color: 'blue',
                name: 'B1',
                fixed: main.solved
            });
            var p2 = brd.create('point', [t2x, t2y], {
                snapToGrid: true,
                color: 'blue',
                name: 'C1',
                fixed: main.solved
            });
            var p3 = brd.create('point', [t3x, t3y], {
                snapToGrid: true,
                color: 'blue',
                name: 'D1',
                fixed: main.solved
            });

                    var X1=brd.create('point', [{Xa1}, {Ya1}], {
                name: 'A',
                fixed: true,
                color: 'orange',
                visible: true
            });
          
          var X2=brd.create('point', [{Xb1}, {Yb1}], {
                name: 'B',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X3=brd.create('point', [{Xc1}, {Yc1}], {
                name: 'C',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X4=brd.create('point', [{Xd1}, {Yd1}], {
                name: 'D',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var poly=brd.create('polygon',[X1,X2,X3,X4],{
            visible:true,
            fillColor:'orange'
          });
          
           var ansA= brd.create('point', [{Xa}, {Ya}], {
                color: 'green',
                name: 'A1',
                visible: main.solved
            });
            var ansB= brd.create('point', [{Xb}, {Yb}], {
                color: 'green',
                name: 'B1',
                visible: main.solved
            });
            var ansC= brd.create('point', [{Xc}, {Yc}], {
                color: 'green',
                name: 'C1',
                visible: main.solved
            });
            var ansD= brd.create('point', [{Xd}, {Yd}], {
                color: 'green',
                name: 'D1',
                visible: main.solved
            });
            var poly = brd.create('polygon', [ansA, ansB, ansC, ansD], {
                visible: main.solved,
                fillColor: 'green'
            });

            var check = function() {
                main.set(0, p0.X());
                main.set(1, p0.Y());
                main.set(2, p1.X());
                main.set(3, p1.Y());
                main.set(4, p2.X());
                main.set(5, p2.Y());
                main.set(6, p3.X());
                main.set(7, p3.Y());
            }
            check();
            brd.on('update', function() {
                check();
            });
        };
        new JSXQuestion("{MB}", jsxCode, false);
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"></p><p dir="ltr">To graph the translation&nbsp;of the quadrilateral {xMove} and {yMove}.</p><p dir="ltr"><span>point A is at ({Xa1},{Ya1})&nbsp; therefore the translation is at ({Xa},{Ya}).</span><br></p><p dir="ltr"><span>point B is at ({Xb1},{Yb1})&nbsp; therefore the translation&nbsp;is at ({Xb},{Yb}).<br></span></p><p dir="ltr"><span>point C is at ({Xc1},{Yc1})&nbsp; therefore the translation&nbsp;is at ({Xc},{Yc}).<br></span></p><p dir="ltr"><span>point D is at ({Xd1},{Yd1})&nbsp; therefore the translation&nbsp;is at ({Xd},{Yd}).</span></p><p dir="ltr"><span style="font-size: 0.9375rem;"><br></span></p><ol><ul>

    </ul>
</ol>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randShape[_0] == correct</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {_0:choices:MCE}<br>Give the <strong>best</strong>, most specific description.</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {=shape[correct]}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361302  -->
  <question type="formulas">
    <name>
      <text>L64- Trapezoid2- translation-Id Shape</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Plot the translation of the quadrilateral {xMove} and {yMove}.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>sideStart={[5, 3, 1, 1],[4, 5, 1, 1],[4, 5, 2, 1],[3, 5, 1, 1],[3, 5, 2, 1],[3, 5, 3, 1],[2, 5, 1, 1],[2, 5, 2, 1],[2, 5, 3, 1],[2, 5, 4, 1],[1, 5, 1, 1],[1, 5, 2, 1],[1, 5, 3, 1],[1, 5, 4, 1],[1, 5, 5, 1],[5, 4, 1, 1],[5, 2, 1, 1],[5, 2, 1, 2],[5, 3, 1, 2],[5, 3, 1, 3],[3, 4, 1, 1],[3, 4, 2, 1],[3, 4, 3, 1],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[2, 4, 1, 1],[2, 4, 2, 1],[2, 4, 3, 1],[2, 4, 4, 1],[2, 4, 1, 2],[2, 4, 2, 2],[2, 4, 3, 2],[2, 4, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[1, 2, 1, 4],[1, 2, 2, 4],[3,2, 3, 4],[1, 2, 4, 4],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 1],[1, 4, 4, 1],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[1, 4, 1, 3],[1, 4, 2, 3],[1, 4, 3, 3],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[5, 3, 1, 1],[4, 3, 1, 1],[4, 3, 2, 1],[4, 3, 1, 2],[4, 3, 2, 2],[2, 3, 1, 1],[2, 3, 2, 1],[2, 3, 3, 1],[2, 3, 4, 1],[2, 3, 1, 2],[2, 3, 2, 2],[2, 3, 3, 2],[2, 3, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[2, 3, 1, 4],[2, 3, 2, 4],[2, 3, 3, 4],[2, 3, 4, 1],[1, 3, 1, 1],[1, 3, 2, 1],[1, 3, 3, 1],[1, 3, 4, 1],[1, 3, 5, 1],[1, 3, 1, 2],[1, 3, 2, 2],[1, 3, 3, 2],[1, 3, 4, 2],[1, 3, 5, 2],[1, 3, 1, 3],[1, 3, 2, 3],[1, 3, 3, 3],[1, 3, 4, 3],[1, 3, 5, 3],[1, 3, 1, 1],[1, 3, 2, 3],[1, 3, 3, 4],[1, 3, 4, 2],[1, 3, 5, 1],[1, 3, 1, 3],[1, 3, 2, 2],[2, 1, 3, 5],[1, 3, 4, 2],[1, 3, 5, 1]};
#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
Xt={-4:4:1};
Yt={-4:4:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[#correct tells number of shape shown
correct=2;
side=sideStart[0];
length=sideStart[1];
Xa1=sideStart[2];
Ya1=sideStart[3];
Xb1=Xa1;
Yb1=Ya1+length;
Xc1=Xa1+side;
Yc1=Ya1+length;
Xd1=Xa1+side+1;
Yd1=Ya1;
Xa1=Xa1-1;
axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;

MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>8</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[Xa,Ya,Xb,Yb,Xc,Yc,Xd,Yd]</text>
 </answer>
 <vars2>
  <text><![CDATA[crita=((_0==Xa) &&(_1==Ya))*.25;
critb=((_2==Xb) &&(_3==Yb))*.25;
critc=((_4==Xc) &&(_5==Yc))*.25;
critd=((_6==Xd) &&(_7==Yd))*.25;]]></text>
 </vars2>
 <correctness>
  <text>crita+critb+critc+critd</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script type="text/javascript" src="https://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="https://moodle.itemspro.eu/moodle/aaimg/ajsx/jsxquestion.js">
</script>

<div id="{MB}" class="jxgbox" style="width:350px; height:350px;margin-left:1px; ;"></div>
<script type="text/javascript">
    $(function() {
        var jsxCode = function(main) {
            main.brd = JXG.JSXGraph.initBoard(main.elm.id, {
                boundingbox: [-10, 10, 10, -10],
                showNavigation: false,
                showCopyright: false,
                grid: true,
                axis: true,
                zoom: {
                    enabled: false,
                    wheel: false
                },
                pan: {
                    enabled: false,
                    needTwoFingers: false
                }
            });
            var brd = main.brd;
            brd.options.point.showInfobox = false;

            var t0x = main.get(0);
            if (t0x === null) {
                t0x = 3;
            }
            var t0y = main.get(1);
            if (t0y === null) {
                t0y = -6;
            }
            var t1x = main.get(2);
            if (t1x === null) {
                t1x = 4;
            }
            var t1y = main.get(3);
            if (t1y === null) {
                t1y = -6;
            }
            var t2x = main.get(4);
            if (t2x === null) {
                t2x = 5;
            }
            var t2y = main.get(5);
            if (t2y === null) {
                t2y = -6;
            }
            var t3x = main.get(6);
            if (t3x === null) {
                t3x = 6;
            }
            var t3y = main.get(7);
            if (t3y === null) {
                t3y = -6;
            }


            var p0 = brd.create('point', [t0x, t0y], {
                snapToGrid: true,
                color: 'blue',
                name: 'A1',
                fixed: main.solved
            });
            var p1 = brd.create('point', [t1x, t1y], {
                snapToGrid: true,
                color: 'blue',
                name: 'B1',
                fixed: main.solved
            });
            var p2 = brd.create('point', [t2x, t2y], {
                snapToGrid: true,
                color: 'blue',
                name: 'C1',
                fixed: main.solved
            });
            var p3 = brd.create('point', [t3x, t3y], {
                snapToGrid: true,
                color: 'blue',
                name: 'D1',
                fixed: main.solved
            });

                    var X1=brd.create('point', [{Xa1}, {Ya1}], {
                name: 'A',
                fixed: true,
                color: 'orange',
                visible: true
            });
          
          var X2=brd.create('point', [{Xb1}, {Yb1}], {
                name: 'B',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X3=brd.create('point', [{Xc1}, {Yc1}], {
                name: 'C',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X4=brd.create('point', [{Xd1}, {Yd1}], {
                name: 'D',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var poly=brd.create('polygon',[X1,X2,X3,X4],{
            visible:true,
            fillColor:'orange'
          });
          
           var ansA= brd.create('point', [{Xa}, {Ya}], {
                color: 'green',
                name: 'A1',
                visible: main.solved
            });
            var ansB= brd.create('point', [{Xb}, {Yb}], {
                color: 'green',
                name: 'B1',
                visible: main.solved
            });
            var ansC= brd.create('point', [{Xc}, {Yc}], {
                color: 'green',
                name: 'C1',
                visible: main.solved
            });
            var ansD= brd.create('point', [{Xd}, {Yd}], {
                color: 'green',
                name: 'D1',
                visible: main.solved
            });
            var poly = brd.create('polygon', [ansA, ansB, ansC, ansD], {
                visible: main.solved,
                fillColor: 'green'
            });

            var check = function() {
                main.set(0, p0.X());
                main.set(1, p0.Y());
                main.set(2, p1.X());
                main.set(3, p1.Y());
                main.set(4, p2.X());
                main.set(5, p2.Y());
                main.set(6, p3.X());
                main.set(7, p3.Y());
            }
            check();
            brd.on('update', function() {
                check();
            });
        };
        new JSXQuestion("{MB}", jsxCode, false);
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"></p><p dir="ltr">To graph the translation&nbsp;of the quadrilateral {xMove} and {yMove}.</p><p dir="ltr"><span>point A is at ({Xa1},{Ya1})&nbsp; therefore the translation is at ({Xa},{Ya}).</span><br></p><p dir="ltr"><span>point B is at ({Xb1},{Yb1})&nbsp; therefore the translation&nbsp;is at ({Xb},{Yb}).<br></span></p><p dir="ltr"><span>point C is at ({Xc1},{Yc1})&nbsp; therefore the translation&nbsp;is at ({Xc},{Yc}).<br></span></p><p dir="ltr"><span>point D is at ({Xd1},{Yd1})&nbsp; therefore the translation&nbsp;is at ({Xd},{Yd}).</span></p><p dir="ltr"><span style="font-size: 0.9375rem;"><br></span></p><ol><ul>

    </ul>
</ol>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randShape[_0] == correct</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {_0:choices:MCE}<br>Give the <strong>best</strong>, most specific description.</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {=shape[correct]}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361293  -->
  <question type="formulas">
    <name>
      <text>L64- Trapezoid3- translation-Id Shape</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Plot the translation of the quadrilateral {xMove} and {yMove}.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>sideStart={[5, 3, 1, 1],[4, 5, 1, 1],[4, 5, 2, 1],[3, 5, 1, 1],[3, 5, 2, 1],[3, 5, 3, 1],[2, 5, 1, 1],[2, 5, 2, 1],[2, 5, 3, 1],[2, 5, 4, 1],[1, 5, 1, 1],[1, 5, 2, 1],[1, 5, 3, 1],[1, 5, 4, 1],[1, 5, 5, 1],[5, 4, 1, 1],[5, 2, 1, 1],[5, 2, 1, 2],[5, 3, 1, 2],[5, 3, 1, 3],[3, 4, 1, 1],[3, 4, 2, 1],[3, 4, 3, 1],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[2, 4, 1, 1],[2, 4, 2, 1],[2, 4, 3, 1],[2, 4, 4, 1],[2, 4, 1, 2],[2, 4, 2, 2],[2, 4, 3, 2],[2, 4, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[1, 2, 1, 4],[1, 2, 2, 4],[3,2, 3, 4],[1, 2, 4, 4],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 1],[1, 4, 4, 1],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[1, 4, 1, 3],[1, 4, 2, 3],[1, 4, 3, 3],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[5, 3, 1, 1],[4, 3, 1, 1],[4, 3, 2, 1],[4, 3, 1, 2],[4, 3, 2, 2],[2, 3, 1, 1],[2, 3, 2, 1],[2, 3, 3, 1],[2, 3, 4, 1],[2, 3, 1, 2],[2, 3, 2, 2],[2, 3, 3, 2],[2, 3, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[2, 3, 1, 4],[2, 3, 2, 4],[2, 3, 3, 4],[2, 3, 4, 1],[1, 3, 1, 1],[1, 3, 2, 1],[1, 3, 3, 1],[1, 3, 4, 1],[1, 3, 5, 1],[1, 3, 1, 2],[1, 3, 2, 2],[1, 3, 3, 2],[1, 3, 4, 2],[1, 3, 5, 2],[1, 3, 1, 3],[1, 3, 2, 3],[1, 3, 3, 3],[1, 3, 4, 3],[1, 3, 5, 3],[1, 3, 1, 1],[1, 3, 2, 3],[1, 3, 3, 4],[1, 3, 4, 2],[1, 3, 5, 1],[1, 3, 1, 3],[1, 3, 2, 2],[2, 1, 3, 5],[1, 3, 4, 2],[1, 3, 5, 1]};
#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
Xt={-4:4:1};
Yt={-4:4:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[#correct tells number of shape shown
correct=2;
side=sideStart[0];
length=sideStart[1];
Xa1=sideStart[2];
Ya1=sideStart[3];
Xb1=Xa1;
Yb1=Ya1+length;
Xc1=Xa1+side;
Yc1=Ya1+length;
Xd1=Xa1+side+1;
Yd1=Ya1;
Xa1=Xa1-1;
axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;

MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>8</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[Xa,Ya,Xb,Yb,Xc,Yc,Xd,Yd]</text>
 </answer>
 <vars2>
  <text><![CDATA[crita=((_0==Xa) &&(_1==Ya))*.25;
critb=((_2==Xb) &&(_3==Yb))*.25;
critc=((_4==Xc) &&(_5==Yc))*.25;
critd=((_6==Xd) &&(_7==Yd))*.25;]]></text>
 </vars2>
 <correctness>
  <text>crita+critb+critc+critd</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script type="text/javascript" src="https://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="https://moodle.itemspro.eu/moodle/aaimg/ajsx/jsxquestion.js">
</script>

<div id="{MB}" class="jxgbox" style="width:350px; height:350px;margin-left:1px; ;"></div>
<script type="text/javascript">
    $(function() {
        var jsxCode = function(main) {
            main.brd = JXG.JSXGraph.initBoard(main.elm.id, {
                boundingbox: [-10, 10, 10, -10],
                showNavigation: false,
                showCopyright: false,
                grid: true,
                axis: true,
                zoom: {
                    enabled: false,
                    wheel: false
                },
                pan: {
                    enabled: false,
                    needTwoFingers: false
                }
            });
            var brd = main.brd;
            brd.options.point.showInfobox = false;

            var t0x = main.get(0);
            if (t0x === null) {
                t0x = 3;
            }
            var t0y = main.get(1);
            if (t0y === null) {
                t0y = -6;
            }
            var t1x = main.get(2);
            if (t1x === null) {
                t1x = 4;
            }
            var t1y = main.get(3);
            if (t1y === null) {
                t1y = -6;
            }
            var t2x = main.get(4);
            if (t2x === null) {
                t2x = 5;
            }
            var t2y = main.get(5);
            if (t2y === null) {
                t2y = -6;
            }
            var t3x = main.get(6);
            if (t3x === null) {
                t3x = 6;
            }
            var t3y = main.get(7);
            if (t3y === null) {
                t3y = -6;
            }


            var p0 = brd.create('point', [t0x, t0y], {
                snapToGrid: true,
                color: 'blue',
                name: 'A1',
                fixed: main.solved
            });
            var p1 = brd.create('point', [t1x, t1y], {
                snapToGrid: true,
                color: 'blue',
                name: 'B1',
                fixed: main.solved
            });
            var p2 = brd.create('point', [t2x, t2y], {
                snapToGrid: true,
                color: 'blue',
                name: 'C1',
                fixed: main.solved
            });
            var p3 = brd.create('point', [t3x, t3y], {
                snapToGrid: true,
                color: 'blue',
                name: 'D1',
                fixed: main.solved
            });

                    var X1=brd.create('point', [{Xa1}, {Ya1}], {
                name: 'A',
                fixed: true,
                color: 'orange',
                visible: true
            });
          
          var X2=brd.create('point', [{Xb1}, {Yb1}], {
                name: 'B',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X3=brd.create('point', [{Xc1}, {Yc1}], {
                name: 'C',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X4=brd.create('point', [{Xd1}, {Yd1}], {
                name: 'D',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var poly=brd.create('polygon',[X1,X2,X3,X4],{
            visible:true,
            fillColor:'orange'
          });
          
           var ansA= brd.create('point', [{Xa}, {Ya}], {
                color: 'green',
                name: 'A1',
                visible: main.solved
            });
            var ansB= brd.create('point', [{Xb}, {Yb}], {
                color: 'green',
                name: 'B1',
                visible: main.solved
            });
            var ansC= brd.create('point', [{Xc}, {Yc}], {
                color: 'green',
                name: 'C1',
                visible: main.solved
            });
            var ansD= brd.create('point', [{Xd}, {Yd}], {
                color: 'green',
                name: 'D1',
                visible: main.solved
            });
            var poly = brd.create('polygon', [ansA, ansB, ansC, ansD], {
                visible: main.solved,
                fillColor: 'green'
            });

            var check = function() {
                main.set(0, p0.X());
                main.set(1, p0.Y());
                main.set(2, p1.X());
                main.set(3, p1.Y());
                main.set(4, p2.X());
                main.set(5, p2.Y());
                main.set(6, p3.X());
                main.set(7, p3.Y());
            }
            check();
            brd.on('update', function() {
                check();
            });
        };
        new JSXQuestion("{MB}", jsxCode, false);
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"></p><p dir="ltr">To graph the translation&nbsp;of the quadrilateral {xMove} and {yMove}.</p><p dir="ltr"><span>point A is at ({Xa1},{Ya1})&nbsp; therefore the translation is at ({Xa},{Ya}).</span><br></p><p dir="ltr"><span>point B is at ({Xb1},{Yb1})&nbsp; therefore the translation&nbsp;is at ({Xb},{Yb}).<br></span></p><p dir="ltr"><span>point C is at ({Xc1},{Yc1})&nbsp; therefore the translation&nbsp;is at ({Xc},{Yc}).<br></span></p><p dir="ltr"><span>point D is at ({Xd1},{Yd1})&nbsp; therefore the translation&nbsp;is at ({Xd},{Yd}).</span></p><p dir="ltr"><span style="font-size: 0.9375rem;"><br></span></p><ol><ul>

    </ul>
</ol>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randShape[_0] == correct</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {_0:choices:MCE}<br>Give the <strong>best</strong>, most specific description.</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {=shape[correct]}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361303  -->
  <question type="formulas">
    <name>
      <text>L64- Trapezoid3- translation-Id Shape</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Plot the translation of the quadrilateral {xMove} and {yMove}.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>sideStart={[5, 3, 1, 1],[4, 5, 1, 1],[4, 5, 2, 1],[3, 5, 1, 1],[3, 5, 2, 1],[3, 5, 3, 1],[2, 5, 1, 1],[2, 5, 2, 1],[2, 5, 3, 1],[2, 5, 4, 1],[1, 5, 1, 1],[1, 5, 2, 1],[1, 5, 3, 1],[1, 5, 4, 1],[1, 5, 5, 1],[5, 4, 1, 1],[5, 2, 1, 1],[5, 2, 1, 2],[5, 3, 1, 2],[5, 3, 1, 3],[3, 4, 1, 1],[3, 4, 2, 1],[3, 4, 3, 1],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[3, 4, 1, 2],[3, 4, 2, 2],[3, 4, 3, 2],[2, 4, 1, 1],[2, 4, 2, 1],[2, 4, 3, 1],[2, 4, 4, 1],[2, 4, 1, 2],[2, 4, 2, 2],[2, 4, 3, 2],[2, 4, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[1, 2, 1, 4],[1, 2, 2, 4],[3,2, 3, 4],[1, 2, 4, 4],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 1],[1, 4, 4, 1],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[1, 4, 1, 3],[1, 4, 2, 3],[1, 4, 3, 3],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 2],[1, 4, 2, 2],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 1],[1, 4, 1, 1],[1, 4, 2, 1],[1, 4, 3, 2],[1, 4, 4, 2],[1, 4, 5, 2],[5, 3, 1, 1],[4, 3, 1, 1],[4, 3, 2, 1],[4, 3, 1, 2],[4, 3, 2, 2],[2, 3, 1, 1],[2, 3, 2, 1],[2, 3, 3, 1],[2, 3, 4, 1],[2, 3, 1, 2],[2, 3, 2, 2],[2, 3, 3, 2],[2, 3, 4, 2],[2, 3, 1, 3],[2, 3, 2, 3],[2, 3, 3, 3],[2, 3, 4, 3],[2, 3, 1, 4],[2, 3, 2, 4],[2, 3, 3, 4],[2, 3, 4, 1],[1, 3, 1, 1],[1, 3, 2, 1],[1, 3, 3, 1],[1, 3, 4, 1],[1, 3, 5, 1],[1, 3, 1, 2],[1, 3, 2, 2],[1, 3, 3, 2],[1, 3, 4, 2],[1, 3, 5, 2],[1, 3, 1, 3],[1, 3, 2, 3],[1, 3, 3, 3],[1, 3, 4, 3],[1, 3, 5, 3],[1, 3, 1, 1],[1, 3, 2, 3],[1, 3, 3, 4],[1, 3, 4, 2],[1, 3, 5, 1],[1, 3, 1, 3],[1, 3, 2, 2],[2, 1, 3, 5],[1, 3, 4, 2],[1, 3, 5, 1]};
#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
Xt={-4:4:1};
Yt={-4:4:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[#correct tells number of shape shown
correct=2;
side=sideStart[0];
length=sideStart[1];
Xa1=sideStart[2];
Ya1=sideStart[3];
Xb1=Xa1;
Yb1=Ya1+length;
Xc1=Xa1+side;
Yc1=Ya1+length;
Xd1=Xa1+side+1;
Yd1=Ya1;
Xa1=Xa1-1;
axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;

MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>8</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[Xa,Ya,Xb,Yb,Xc,Yc,Xd,Yd]</text>
 </answer>
 <vars2>
  <text><![CDATA[crita=((_0==Xa) &&(_1==Ya))*.25;
critb=((_2==Xb) &&(_3==Yb))*.25;
critc=((_4==Xc) &&(_5==Yc))*.25;
critd=((_6==Xd) &&(_7==Yd))*.25;]]></text>
 </vars2>
 <correctness>
  <text>crita+critb+critc+critd</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<script type="text/javascript" src="https://jsxgraph.uni-bayreuth.de/distrib/jsxgraphcore.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="https://moodle.itemspro.eu/moodle/aaimg/ajsx/jsxquestion.js">
</script>

<div id="{MB}" class="jxgbox" style="width:350px; height:350px;margin-left:1px; ;"></div>
<script type="text/javascript">
    $(function() {
        var jsxCode = function(main) {
            main.brd = JXG.JSXGraph.initBoard(main.elm.id, {
                boundingbox: [-10, 10, 10, -10],
                showNavigation: false,
                showCopyright: false,
                grid: true,
                axis: true,
                zoom: {
                    enabled: false,
                    wheel: false
                },
                pan: {
                    enabled: false,
                    needTwoFingers: false
                }
            });
            var brd = main.brd;
            brd.options.point.showInfobox = false;

            var t0x = main.get(0);
            if (t0x === null) {
                t0x = 3;
            }
            var t0y = main.get(1);
            if (t0y === null) {
                t0y = -6;
            }
            var t1x = main.get(2);
            if (t1x === null) {
                t1x = 4;
            }
            var t1y = main.get(3);
            if (t1y === null) {
                t1y = -6;
            }
            var t2x = main.get(4);
            if (t2x === null) {
                t2x = 5;
            }
            var t2y = main.get(5);
            if (t2y === null) {
                t2y = -6;
            }
            var t3x = main.get(6);
            if (t3x === null) {
                t3x = 6;
            }
            var t3y = main.get(7);
            if (t3y === null) {
                t3y = -6;
            }


            var p0 = brd.create('point', [t0x, t0y], {
                snapToGrid: true,
                color: 'blue',
                name: 'A1',
                fixed: main.solved
            });
            var p1 = brd.create('point', [t1x, t1y], {
                snapToGrid: true,
                color: 'blue',
                name: 'B1',
                fixed: main.solved
            });
            var p2 = brd.create('point', [t2x, t2y], {
                snapToGrid: true,
                color: 'blue',
                name: 'C1',
                fixed: main.solved
            });
            var p3 = brd.create('point', [t3x, t3y], {
                snapToGrid: true,
                color: 'blue',
                name: 'D1',
                fixed: main.solved
            });

                    var X1=brd.create('point', [{Xa1}, {Ya1}], {
                name: 'A',
                fixed: true,
                color: 'orange',
                visible: true
            });
          
          var X2=brd.create('point', [{Xb1}, {Yb1}], {
                name: 'B',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X3=brd.create('point', [{Xc1}, {Yc1}], {
                name: 'C',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var X4=brd.create('point', [{Xd1}, {Yd1}], {
                name: 'D',
                fixed: true,
                color: 'orange',
                visible: true
            });
          var poly=brd.create('polygon',[X1,X2,X3,X4],{
            visible:true,
            fillColor:'orange'
          });
          
           var ansA= brd.create('point', [{Xa}, {Ya}], {
                color: 'green',
                name: 'A1',
                visible: main.solved
            });
            var ansB= brd.create('point', [{Xb}, {Yb}], {
                color: 'green',
                name: 'B1',
                visible: main.solved
            });
            var ansC= brd.create('point', [{Xc}, {Yc}], {
                color: 'green',
                name: 'C1',
                visible: main.solved
            });
            var ansD= brd.create('point', [{Xd}, {Yd}], {
                color: 'green',
                name: 'D1',
                visible: main.solved
            });
            var poly = brd.create('polygon', [ansA, ansB, ansC, ansD], {
                visible: main.solved,
                fillColor: 'green'
            });

            var check = function() {
                main.set(0, p0.X());
                main.set(1, p0.Y());
                main.set(2, p1.X());
                main.set(3, p1.Y());
                main.set(4, p2.X());
                main.set(5, p2.Y());
                main.set(6, p3.X());
                main.set(7, p3.Y());
            }
            check();
            brd.on('update', function() {
                check();
            });
        };
        new JSXQuestion("{MB}", jsxCode, false);
    });
</script>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"></p><p dir="ltr">To graph the translation&nbsp;of the quadrilateral {xMove} and {yMove}.</p><p dir="ltr"><span>point A is at ({Xa1},{Ya1})&nbsp; therefore the translation is at ({Xa},{Ya}).</span><br></p><p dir="ltr"><span>point B is at ({Xb1},{Yb1})&nbsp; therefore the translation&nbsp;is at ({Xb},{Yb}).<br></span></p><p dir="ltr"><span>point C is at ({Xc1},{Yc1})&nbsp; therefore the translation&nbsp;is at ({Xc},{Yc}).<br></span></p><p dir="ltr"><span>point D is at ({Xd1},{Yd1})&nbsp; therefore the translation&nbsp;is at ({Xd},{Yd}).</span></p><p dir="ltr"><span style="font-size: 0.9375rem;"><br></span></p><ol><ul>

    </ul>
</ol>
<p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randShape[_0] == correct</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {_0:choices:MCE}<br>Give the <strong>best</strong>, most specific description.</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Quadrilateral ABCD is best defined as a {=shape[correct]}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361304  -->
  <question type="formulas">
    <name>
      <text>TL68- Translation or Reflection_MC (R)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="400" height="200"> var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-12,12,12,0],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p1=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p2=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p3=board.create('point',[{Xd},{Yd}],{fixed:true,size:'0',name:'',showInfobox:false});
    var poly1=board.create('polygon',[p0,p1,p2,p3],{strokeColor:'{color1}',fillColor:'{color1}',fillOppacity:.25});
    var p4=board.create('point',[{Xa1},{Ya1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p5=board.create('point',[{Xb1},{Yb1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p6=board.create('point',[{Xc1},{Yc1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p7=board.create('point',[{Xd1},{Yd1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var poly2=board.create('polygon',[p4,p5,p6,p7],{strokeColor:'{color2}',fillColor:'{color2}',fillOppacity:.25});

</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">The figure is <strong>reflected </strong>through the line.&nbsp; &nbsp;It is a reflection.</p>
<jsxgraph width="400" height="200"> var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-12,12,12,0],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p1=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p2=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p3=board.create('point',[{Xd},{Yd}],{fixed:true,size:'0',name:'',showInfobox:false});
    var poly1=board.create('polygon',[p0,p1,p2,p3],{strokeColor:'{color1}',fillColor:'{color1}',fillOppacity:.25});
    var p4=board.create('point',[{Xa1},{Ya1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p5=board.create('point',[{Xb1},{Yb1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p6=board.create('point',[{Xc1},{Yc1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p7=board.create('point',[{Xd1},{Yd1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var poly2=board.create('polygon',[p4,p5,p6,p7],{strokeColor:'{color2}',fillColor:'{color2}',fillOppacity:.25});
   var line=board.create('line',[[0,0],[0,1]]);
</jsxgraph>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};


color1={"red","orange","yellow"};
color2={"green","blue","purple"};

Xb1={1,2};
Yb1={4,5,6,7,8};
Xc1={3,4,5,6};
Yc1={4,5,6,7,8,9};
Xd1={2,3,4,5,6};
Yd1={1,2};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[Xa1=1;
Ya1=1;
#correct tells number of shape shown
correct=1;

axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");

Xa=Xa1*(-1);
Ya=Ya1;
Xb=Xb1*(-1);
Yb=Yb1;
Xc=Xc1*(-1);
Yc=Yc1;
Xd=Xd1*(-1);
Yd=Yd1;

MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}
xArray=[Xa,Xb,Xc,Xd,Xa1,Xb1,Xc1,Xd1];
yArray=[Ya,Yb,Yc,Yd,Ya1,Yb1,Yc1,Yd1];
lowX=100;
lowY=100;
maxX=-1;
maxY=-1;
for (i:[0:8]){
lowX=(xArray[i]<lowX)?i:lowX;
lowY=(yArray[i]<lowY)?i:lowY;
maxX=(xArray[i]>maxX)?i:maxX;
maxY=(yArray[i]>maxY)?i:maxY;
}
maxX=maxX+1;
maxY=maxY+1;
loxX=lowX-1;
lowY=lowY-1;
height=((maxY-lowY)*400)/(maxX-lowX);
choices=["translation","reflection"];]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">What transformation is shown? {_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361305  -->
  <question type="formulas">
    <name>
      <text>TL68- Translation or Reflection_MC (trans)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="400" height="400">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[0,12,12,0],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p1=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p2=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p3=board.create('point',[{Xd},{Yd}],{fixed:true,size:'0',name:'',showInfobox:false});
    var poly1=board.create('polygon',[p0,p1,p2,p3],{strokeColor:'{color1}',fillColor:'{color1}',fillOppacity:.25});
    var p4=board.create('point',[{Xa1},{Ya1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p5=board.create('point',[{Xb1},{Yb1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p6=board.create('point',[{Xc1},{Yc1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p7=board.create('point',[{Xd1},{Yd1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var poly2=board.create('polygon',[p4,p5,p6,p7],{strokeColor:'{color2}',fillColor:'{color2}',fillOppacity:.25});

</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">The {color2} figure is <strong>moved </strong>to the right, and up.&nbsp; &nbsp;It is a translation.</p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
Xt={2:6:1};
Yt={2:6:1};
color1={"red","orange","yellow"};
color2={"green","blue","purple"};

Xb1={1,2};
Yb1={4,5,6,7,8};
Xc1={3,4,5,6};
Yc1={4,5,6,7,8,9};
Xd1={2,3,4,5,6};
Yd1={1,2};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[Xa1=1;
Ya1=1;
#correct tells number of shape shown
correct=1;

axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;

MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}
xArray=[Xa,Xb,Xc,Xd,Xa1,Xb1,Xc1,Xd1];
yArray=[Ya,Yb,Yc,Yd,Ya1,Yb1,Yc1,Yd1];
lowX=100;
lowY=100;
maxX=-1;
maxY=-1;
for (i:[0:8]){
lowX=(xArray[i]<lowX)?i:lowX;
lowY=(yArray[i]<lowY)?i:lowY;
maxX=(xArray[i]>maxX)?i:maxX;
maxY=(yArray[i]>maxY)?i:maxY;
}
maxX=maxX+1;
maxY=maxY+1;
loxX=lowX-1;
lowY=lowY-1;
height=((maxY-lowY)*400)/(maxX-lowX);
choices=["translation","reflection"];]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>0</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">What transformation is shown? {_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test #9/L70- 2-Step Inequalities</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361312  -->
  <question type="formulas">
    <name>
      <text>L70- solve-graph Multiplication 2-step inequality</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[{ques}
Solve for {name}, then graph the solution.<br><br>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[number1={3:8:1};
ans={0,1,2,3};
choices=shuffle([0,1,2,3]);
name={"A","B","C","D","E","F","G","H","R","S","T","X","Y","Z"};
offset={4:9:1};
addSubt={-5,-4,-3,-2,-1,2,3,4,5,6};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[number2=number1+1;
a=choices[0];
b=choices[1];
c=choices[2];
d=choices[3];
ques=join("",offset,name," ",pick(addSubt<0,join(""," + ",addSubt),join(""," ",addSubt)),pick(ans,"&lt;",">","≤","≥")," ",(number1*offset)+addSubt);

mcChoices=["a","b","c","d"];
selection = (choices[0]==ans)?0:-1;
selection = (choices[1]==ans)?1:selection;
selection = (choices[2]==ans)?2:selection;
selection = (choices[3]==ans)?3:selection;
letterAns=mcChoices[selection];
feedback=pick(ans,"Less than (&lt;) means to include the numbers with a lower value.  Do not include the value of the number.","Greater than (>) means include the numbers of higher value.  Do not include the value of the number.","Less than or equal to (≤) means to include the number and all numbers that are a smaller value.","Greater than or equal to (≥) means include the number and all numbers of larger value.");
ineq=["&lt;",">","≤","≥"];
FBp1=pick(ans,"less than","greater than","less than","greater than");
test=pick(ans,number1-1,number1+1,number1-1,number1+1);

FBaddon=pick(addSubt<0,join("","Subtract ",abs(addSubt)," from both sides"),join(""," Add ",abs(addSubt)," on both sides"));
FBaddonSign=pick(addSubt<0,join(""," - ",abs(addSubt)),join(""," + ",abs(addSubt)));
addon=pick(addSubt<0,join(""," + ",addSubt),join(""," ",addSubt));]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[ans,number1]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The solution to the inequality is {name} {_0:ineq:MCE} {_1}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"><br></p>
<table>
    <tbody>
        <tr>
            <td>
                <p dir="ltr">{offset}{name} {addon} {=ineq[ans]} {=(number1*offset)+addSubt}</p>
            </td>
            <td></td>
            <td>&nbsp; Given</td>
        </tr>
        <tr>
            <td>{FBaddonSign}&nbsp; &nbsp;{FBaddonSign}</td>
            <td></td>
            <td>{FBaddon}&nbsp; &nbsp;<br></td>
        </tr>
        <tr>
            <td><u>{offset}{name}</u>&nbsp; {=ineq[ans]} <u>{=(number1*offset)}</u><br></td>
            <td></td>
            <td><br></td>
        </tr>
        <tr>
            <td>
                <p dir="ltr">&nbsp; {offset}&nbsp; &nbsp; &nbsp; &nbsp;<span class="" style="color: rgb(255, 51, 102);">{offset}</span></p>
            </td>
            <td></td>
            <td>Divide both sides by&nbsp;<span class="" style="color: rgb(255, 51, 102);">{offset}</span></td>
        </tr>
        <tr>
            <td>
                <p dir="ltr"><strong>{name}&nbsp; {=ineq[ans]} {number1}</strong></p>
            </td>
            <td></td>
            <td>Simplify</td>
        </tr>
        <tr>
            <td colspan="2">
                <h3 style="text-align: left;"><strong><span class="" style="color: rgb(51, 102, 255);">Check the answer</span></strong></h3>
            </td>

        </tr>
        <tr>
            <td>
                <p dir="ltr">{offset}{name} {=ineq[ans]} {=number1*offset}<br></p>
            </td>
            <td></td>
            <td>Given</td>
        </tr>
        <tr>
            <td>
                <p dir="ltr"><span class="" style="color: rgb(255, 51, 102);"><span class="" style="color: rgb(51, 51, 51);">({offset})</span>({test})</span>&nbsp;{=ineq[ans]} {=number1*offset}<br></p>
            </td>
            <td></td>
            <td>The inequality is {=ineq[ans]} so <br>choose a number {FBp1} {number1}.<br>In the example I will use <span class="" style="color: rgb(255, 51, 102);">{test}</span> as your substitution.</td>
        </tr>
        <tr>
            <td>
                <p dir="ltr">{=test*offset} {=ineq[ans]} {=number1*offset}<br></p>
            </td>
            <td></td>
            <td>Simplify<br>Since it is a <strong>true </strong>statement, <br>the solution is correct.</td>
        </tr>

    </tbody>
</table>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>selection</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>choices[_0]==ans</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[Graph the solution of {ques} for the set of Real Numbers.<table>
    <tbody>
        <tr><td>{_0:mcChoices}<br><br><br></td>
            <td>
                <jsxgraph width="500" height="300">var board = JXG.JSXGraph.initBoard(BOARDID, {boundingbox:[-1,22,11,-10], axis:false, ShowCopyright: false, showNavigation:false});
                    let A={a};
                    let B={b};
                    let C={c};
                    let D={d};

                    var numLine = board.create('axis', [[0, 18],[10, 18]], {firstArrow: true,lastArrow: true,ticks: {insertTicks: false,drawZero: true,majorHeight: 4,minorHeight: 0,minorTicks: 1,tickEndings: [5, 6],ticksDistance: 1,strokeColor: '#121212',label: {offset: [-.5, -20]}}});


                    if (A===0){
                    var pA1=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:"",size:3});
                    var pA1w=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[0,18],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (A===1){
                    var pA1=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:""});
                    var pA1w=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[10,18],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (A===2){
                    var pA1=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[0,18],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (A===3){
                    var pA1=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[10,18],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    }
                    var tA=board.create('text',[-.7,18.5,"(a)"],{fontSize:15});

                    var numLine = board.create('axis', [[0, 12],[10, 12]], {firstArrow: true,lastArrow: true,ticks: {insertTicks: false,drawZero: true,majorHeight: 4,minorHeight: 0,minorTicks: 1,tickEndings: [5, 6],ticksDistance: 1,strokeColor: '#121212',label: {offset: [-.5, -20]}}});


                    if (B===0){
                    var pA1=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:"",size:3});
                    var pA1w=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[0,12],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (B===1){
                    var pA1=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:""});
                    var pA1w=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[10,12],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (B===2){
                    var pA1=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[0,12],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (B===3){
                    var pA1=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[10,12],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    }
                    var tA=board.create('text',[-.7,12.5,"(b)"],{fontSize:15});



                    var numLine = board.create('axis', [[0, 6],[10, 6]], {firstArrow: true,lastArrow: true,ticks: {insertTicks: false,drawZero: true,majorHeight: 4,minorHeight: 0,minorTicks: 1,tickEndings: [5, 6],ticksDistance: 1,strokeColor: '#121212',label: {offset: [-.5, -20]}}});


                    if (C===0){
                    var pA1=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:"",size:3});
                    var pA1w=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[0,6],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (C===1){
                    var pA1=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:""});
                    var pA1w=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[10,6],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (C===2){
                    var pA1=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[0,6],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (C===3){
                    var pA1=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[10,6],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    }
                    var tA=board.create('text',[-.7,6.5,"(c)"],{fontSize:15});


                    var numLine = board.create('axis', [[0, 0],[10, 0]], {firstArrow: true,lastArrow: true,ticks: {insertTicks: false,drawZero: true,majorHeight: 4,minorHeight: 0,minorTicks: 1,tickEndings: [5, 6],ticksDistance: 1,strokeColor: '#121212',label: {offset: [-.5, -20]}}});


                    if (D===0){
                    var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:3});
                    var pA1w=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[0,0],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (D===1){
                    var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""});
                    var pA1w=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[10,0],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (D===2){
                    var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[0,0],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (D===3){
                    var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[10,0],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    }
                    var tA=board.create('text',[-.7,0.5,"(d)"],{fontSize:15});
                </jsxgraph>
            </td>
            
        </tr>
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[{feedback}

The correct graph is:
<jsxgraph width="500" height="100">
    var board = JXG.JSXGraph.initBoard(BOARDID, {boundingbox:[-1,5,11,-10], axis:false, ShowCopyright: false, showNavigation:false}); let A={ans}; var numLine = board.create('axis', [[0, 0],[10, 0]], {firstArrow: true,lastArrow: true,ticks: {insertTicks: false,drawZero: true,majorHeight: 4,minorHeight: 0,minorTicks: 1,tickEndings: [5, 6],ticksDistance: 1,strokeColor: '#121212',label: {offset: [-.5, -20]}}}); if (A===0){ var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:3}); var pA1w=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'}); var pA0=board.create('point',[0,0],{fixed:true,showInfobox:false,name:"",size:0}); var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'}); } else if (A===1){ var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""}); var pA1w=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'}); var pA0=board.create('point',[10,0],{fixed:true,showInfobox:false,name:"",size:0}); var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'}); } else if (A===2){ var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""}); var pA0=board.create('point',[0,0],{fixed:true,showInfobox:false,name:"",size:0}); var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'}); } else if (A===3){ var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""}); var pA0=board.create('point',[10,0],{fixed:true,showInfobox:false,name:"",size:0}); var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'}); } var tA=board.create('text',[-.7,0.5,"({letterAns})"],{fontSize:15});
</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361313  -->
  <question type="formulas">
    <name>
      <text>L70-Division-two step inequalities</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[{ques}
Solve for {name}, then graph the solution.<br><br>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[number1={2,4,5,10};
ans={0,1,2,3};
choices=shuffle([0,1,2,3]);
name={"A","B","C","D","E","F","G","H","R","S","T","X","Y","Z"};
offset={2,4,5,8,10};
addSubt={-5,-4,-3,-2,-1,2,3,4,5,6};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[number2=number1+1;
a=choices[0];
b=choices[1];
c=choices[2];
d=choices[3];
addon=pick(addSubt<0,join(""," + ",addSubt),join(""," ",addSubt));

ques=join("","\\(\\frac{",name,"}{",offset,"}\\) ",pick(addSubt<0,join(""," + ",addSubt),join(""," ",addSubt)), pick(ans,"&lt;",">","≤","≥")," ",(number1/offset)+addSubt);
mcChoices=["a","b","c","d"];
selection = (choices[0]==ans)?0:-1;
selection = (choices[1]==ans)?1:selection;
selection = (choices[2]==ans)?2:selection;
selection = (choices[3]==ans)?3:selection;
letterAns=mcChoices[selection];
feedback=pick(ans,"Less than (&lt;) means to include the numbers with a lower value.  Do not include the value of the number.","Greater than (>) means include the numbers of higher value.  Do not include the value of the number.","Less than or equal to (≤) means to include the number and all numbers that are a smaller value.","Greater than or equal to (≥) means include the number and all numbers of larger value.");
ineq=["&lt;",">","≤","≥"];
FBp1=pick(ans,"less than","greater than","less than","greater than");
test=pick(ans,number1-1,number1+1,number1-1,number1+1);
FBaddon=pick(addSubt<0,join("","Subtract ",abs(addSubt)," from both sides"),join(""," Add ",abs(addSubt)," from both sides"));
FBaddonSign=pick(addSubt<0,join(""," - ",abs(addSubt)),join(""," + ",abs(addSubt)));]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[ans,number1]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The solution to the inequality is {name} {_0:ineq:MCE} {_1}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"><br></p>
<table>
    <tbody>
        <tr>
            <td>
                <p dir="ltr">{name}÷{offset} {addon}&nbsp; {=ineq[ans]} {=(number1/offset)+addSubt}</p>
            </td>
            <td></td>
            <td>&nbsp; Given</td>
        </tr>
        <tr>
            <td>&nbsp; &nbsp; &nbsp; &nbsp; {FBaddonSign}&nbsp; &nbsp;{FBaddonSign}</td>
            <td></td>
            <td>{FBaddon}</td>
        </tr>
        <tr>
            <td>{name}÷{offset}&nbsp; &nbsp;{=ineq[ans]} {=number1/offset}

            </td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td>

            </td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td>
                <p dir="ltr">&nbsp; <span class="" style="color: rgb(255, 51, 102);">x {offset}</span>&nbsp; &nbsp; &nbsp; <span class="" style="color: rgb(255, 51, 102);">x{offset}</span></p>
            </td>
            <td></td>
            <td>Multiply both sides by&nbsp;<span class="" style="color: rgb(255, 51, 102);">{offset}</span></td>
        </tr>
        <tr>
            <td>
                <p dir="ltr"><strong>{name}&nbsp; {=ineq[ans]} {number1}</strong></p>
            </td>
            <td></td>
            <td>Simplify</td>
        </tr>
        <tr>
            <td colspan="2">
                <h3 style="text-align: left;"><strong><span class="" style="color: rgb(51, 102, 255);">Check the answer</span></strong></h3>
            </td>

        </tr>
        <tr>
            <td>
                <p dir="ltr">{name}÷{offset} {addon}&nbsp; {=ineq[ans]} {=(number1/offset)+addSubt}<br></p>
            </td>
            <td></td>
            <td>Given</td>
        </tr>
        <tr>
            <td>
                <p dir="ltr"><span class="" style="color: rgb(255, 51, 102);">({test})<span class="" style="color: rgb(51, 51, 51);">÷({offset})</span></span>&nbsp;{addon} {=ineq[ans]} {=(number1/offset)+addSubt}<br></p>
            </td>
            <td></td>
            <td>The inequality is {=ineq[ans]} so <br>choose a number {FBp1} {number1}.<br>In the example I will use <span class="" style="color: rgb(255, 51, 102);">{test}</span> as your substitution.</td>
        </tr> <tr>
            <td>
                <p dir="ltr">{=(test/offset)} {addon} {=ineq[ans]} {=(number1/offset)+addSubt}<br></p>
            </td>
            <td></td>
            <td>Simplify<br></td>
        </tr>
        <tr>
            <td>
                <p dir="ltr">{=(test/offset)+addSubt} {=ineq[ans]} {=(number1/offset)+addSubt}<br></p>
            </td>
            <td></td>
            <td><br>Since it is a <strong>true </strong>statement, <br>the solution is correct.</td>
        </tr>

    </tbody>
</table>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>selection</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>choices[_0]==ans</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[Graph the solution of {ques} for the set of Real Numbers.<table>
    <tbody>
        <tr><td>{_0:mcChoices}<br><br><br></td>
            <td>
                <jsxgraph width="500" height="300">var board = JXG.JSXGraph.initBoard(BOARDID, {boundingbox:[-1,22,11,-10], axis:false, ShowCopyright: false, showNavigation:false});
                    let A={a};
                    let B={b};
                    let C={c};
                    let D={d};

                    var numLine = board.create('axis', [[0, 18],[10, 18]], {firstArrow: true,lastArrow: true,ticks: {insertTicks: false,drawZero: true,majorHeight: 4,minorHeight: 0,minorTicks: 1,tickEndings: [5, 6],ticksDistance: 1,strokeColor: '#121212',label: {offset: [-.5, -20]}}});


                    if (A===0){
                    var pA1=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:"",size:3});
                    var pA1w=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[0,18],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (A===1){
                    var pA1=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:""});
                    var pA1w=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[10,18],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (A===2){
                    var pA1=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[0,18],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (A===3){
                    var pA1=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[10,18],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    }
                    var tA=board.create('text',[-.7,18.5,"(a)"],{fontSize:15});

                    var numLine = board.create('axis', [[0, 12],[10, 12]], {firstArrow: true,lastArrow: true,ticks: {insertTicks: false,drawZero: true,majorHeight: 4,minorHeight: 0,minorTicks: 1,tickEndings: [5, 6],ticksDistance: 1,strokeColor: '#121212',label: {offset: [-.5, -20]}}});


                    if (B===0){
                    var pA1=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:"",size:3});
                    var pA1w=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[0,12],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (B===1){
                    var pA1=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:""});
                    var pA1w=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[10,12],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (B===2){
                    var pA1=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[0,12],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (B===3){
                    var pA1=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[10,12],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    }
                    var tA=board.create('text',[-.7,12.5,"(b)"],{fontSize:15});



                    var numLine = board.create('axis', [[0, 6],[10, 6]], {firstArrow: true,lastArrow: true,ticks: {insertTicks: false,drawZero: true,majorHeight: 4,minorHeight: 0,minorTicks: 1,tickEndings: [5, 6],ticksDistance: 1,strokeColor: '#121212',label: {offset: [-.5, -20]}}});


                    if (C===0){
                    var pA1=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:"",size:3});
                    var pA1w=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[0,6],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (C===1){
                    var pA1=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:""});
                    var pA1w=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[10,6],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (C===2){
                    var pA1=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[0,6],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (C===3){
                    var pA1=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[10,6],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    }
                    var tA=board.create('text',[-.7,6.5,"(c)"],{fontSize:15});


                    var numLine = board.create('axis', [[0, 0],[10, 0]], {firstArrow: true,lastArrow: true,ticks: {insertTicks: false,drawZero: true,majorHeight: 4,minorHeight: 0,minorTicks: 1,tickEndings: [5, 6],ticksDistance: 1,strokeColor: '#121212',label: {offset: [-.5, -20]}}});


                    if (D===0){
                    var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:3});
                    var pA1w=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[0,0],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (D===1){
                    var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""});
                    var pA1w=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[10,0],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (D===2){
                    var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[0,0],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (D===3){
                    var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[10,0],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    }
                    var tA=board.create('text',[-.7,0.5,"(d)"],{fontSize:15});
                </jsxgraph>
            </td>
            
        </tr>
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[{feedback}

The correct graph is:
<jsxgraph width="500" height="100">
    var board = JXG.JSXGraph.initBoard(BOARDID, {boundingbox:[-1,5,11,-10], axis:false, ShowCopyright: false, showNavigation:false}); let A={ans}; var numLine = board.create('axis', [[0, 0],[10, 0]], {firstArrow: true,lastArrow: true,ticks: {insertTicks: false,drawZero: true,majorHeight: 4,minorHeight: 0,minorTicks: 1,tickEndings: [5, 6],ticksDistance: 1,strokeColor: '#121212',label: {offset: [-.5, -20]}}}); if (A===0){ var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:3}); var pA1w=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'}); var pA0=board.create('point',[0,0],{fixed:true,showInfobox:false,name:"",size:0}); var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'}); } else if (A===1){ var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""}); var pA1w=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'}); var pA0=board.create('point',[10,0],{fixed:true,showInfobox:false,name:"",size:0}); var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'}); } else if (A===2){ var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""}); var pA0=board.create('point',[0,0],{fixed:true,showInfobox:false,name:"",size:0}); var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'}); } else if (A===3){ var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""}); var pA0=board.create('point',[10,0],{fixed:true,showInfobox:false,name:"",size:0}); var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'}); } var tA=board.create('text',[-.7,0.5,"({letterAns})"],{fontSize:15});
</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361314  -->
  <question type="formulas">
    <name>
      <text>L70-Division-two step inequalities (fractionBAR)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[{ques}
Solve for {name}, then graph the solution.<br><br>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>2.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[number1={2,4,5,10};
ans={0,1,2,3};
choices=shuffle([0,1,2,3]);
name={"A","B","C","D","E","F","G","H","R","S","T","X","Y","Z"};
offset={2,4,5,8,10};
addSubt={-5,-4,-3,-2,-1,2,3,4,5,6};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[number2=number1+1;
a=choices[0];
b=choices[1];
c=choices[2];
d=choices[3];
addon=pick(addSubt<0,join(""," + ",addSubt),join(""," ",addSubt));

ques=join("","\\(\\frac{",name,"}{",offset,"}\\) ",pick(addSubt<0,join(""," + ",addSubt),join(""," ",addSubt)), pick(ans,"&lt;",">","≤","≥")," ",(number1/offset)+addSubt);
mcChoices=["a","b","c","d"];
selection = (choices[0]==ans)?0:-1;
selection = (choices[1]==ans)?1:selection;
selection = (choices[2]==ans)?2:selection;
selection = (choices[3]==ans)?3:selection;
letterAns=mcChoices[selection];
feedback=pick(ans,"Less than (&lt;) means to include the numbers with a lower value.  Do not include the value of the number.","Greater than (>) means include the numbers of higher value.  Do not include the value of the number.","Less than or equal to (≤) means to include the number and all numbers that are a smaller value.","Greater than or equal to (≥) means include the number and all numbers of larger value.");
ineq=["&lt;",">","≤","≥"];
FBp1=pick(ans,"less than","greater than","less than","greater than");
test=pick(ans,number1-1,number1+1,number1-1,number1+1);
FBaddon=pick(addSubt<0,join("","Subtract ",abs(addSubt)," from both sides"),join(""," Add ",abs(addSubt)," from both sides"));
FBaddonSign=pick(addSubt<0,join(""," - ",abs(addSubt)),join(""," + ",abs(addSubt)));]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[ans,number1]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">The solution to the inequality is {name} {_0:ineq:MCE} {_1}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr"><br></p>
<table>
    <tbody>
        <tr>
            <td>
                <p dir="ltr">\(\frac{{name}}{{offset}}\) {addon}&nbsp; {=ineq[ans]} {=(number1/offset)+addSubt}</p>
            </td>
            <td></td>
            <td>&nbsp; Given</td>
        </tr>
        <tr>
            <td>&nbsp; &nbsp; &nbsp; &nbsp; {FBaddonSign}&nbsp; &nbsp;{FBaddonSign}</td>
            <td></td>
            <td>{FBaddon}</td>
        </tr>
        <tr>
            <td>\(\frac{{name}}{{offset}}\)&nbsp; &nbsp;{=ineq[ans]} {=number1/offset}

            </td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td>

            </td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td>
                <p dir="ltr">&nbsp; <span class="" style="color: rgb(255, 51, 102);">x {offset}</span>&nbsp; &nbsp; &nbsp; <span class="" style="color: rgb(255, 51, 102);">x{offset}</span></p>
            </td>
            <td></td>
            <td>Multiply both sides by&nbsp;<span class="" style="color: rgb(255, 51, 102);">{offset}</span></td>
        </tr>
        <tr>
            <td>
                <p dir="ltr"><strong>{name}&nbsp; {=ineq[ans]} {number1}</strong></p>
            </td>
            <td></td>
            <td>Simplify</td>
        </tr>
        <tr>
            <td colspan="2">
                <h3 style="text-align: left;"><strong><span class="" style="color: rgb(51, 102, 255);">Check the answer</span></strong></h3>
            </td>

        </tr>
        <tr>
            <td>
                <p dir="ltr">\(\frac{{name}}{{offset}}\) {addon}&nbsp; {=ineq[ans]} {=(number1/offset)+addSubt}<br></p>
            </td>
            <td></td>
            <td>Given</td>
        </tr>
        <tr>
            <td>
                <p dir="ltr"><span class="" style="color: rgb(255, 51, 102);">\(\frac{{test}}{<span class="" style="color: rgb(51, 51, 51);">{offset}}\)</span></span>&nbsp;{addon} {=ineq[ans]} {=(number1/offset)+addSubt}<br></p>
            </td>
            <td></td>
            <td>The inequality is {=ineq[ans]} so <br>choose a number {FBp1} {number1}.<br>In the example I will use <span class="" style="color: rgb(255, 51, 102);">{test}</span> as the substitution.</td>
        </tr>
        <tr>
            <td>
                <p dir="ltr">{=(test/offset)} {addon} {=ineq[ans]} {=(number1/offset)+addSubt}<br></p>
            </td>
            <td></td>
            <td>Simplify<br></td>
        </tr>
        <tr>
            <td>
                <p dir="ltr">{=(test/offset)+addSubt} {=ineq[ans]} {=(number1/offset)+addSubt}<br></p>
            </td>
            <td></td>
            <td><br>Since it is a <strong>true </strong>statement, <br>the solution is correct.</td>
        </tr>

    </tbody>
</table>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>selection</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>choices[_0]==ans</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[Graph the solution of {ques} for the set of Real Numbers.<table>
    <tbody>
        <tr><td>{_0:mcChoices}<br><br><br></td>
            <td>
                <jsxgraph width="500" height="300">var board = JXG.JSXGraph.initBoard(BOARDID, {boundingbox:[-1,22,11,-10], axis:false, ShowCopyright: false, showNavigation:false});
                    let A={a};
                    let B={b};
                    let C={c};
                    let D={d};

                    var numLine = board.create('axis', [[0, 18],[10, 18]], {firstArrow: true,lastArrow: true,ticks: {insertTicks: false,drawZero: true,majorHeight: 4,minorHeight: 0,minorTicks: 1,tickEndings: [5, 6],ticksDistance: 1,strokeColor: '#121212',label: {offset: [-.5, -20]}}});


                    if (A===0){
                    var pA1=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:"",size:3});
                    var pA1w=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[0,18],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (A===1){
                    var pA1=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:""});
                    var pA1w=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[10,18],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (A===2){
                    var pA1=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[0,18],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (A===3){
                    var pA1=board.create('point',[{number1},18],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[10,18],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    }
                    var tA=board.create('text',[-.7,18.5,"(a)"],{fontSize:15});

                    var numLine = board.create('axis', [[0, 12],[10, 12]], {firstArrow: true,lastArrow: true,ticks: {insertTicks: false,drawZero: true,majorHeight: 4,minorHeight: 0,minorTicks: 1,tickEndings: [5, 6],ticksDistance: 1,strokeColor: '#121212',label: {offset: [-.5, -20]}}});


                    if (B===0){
                    var pA1=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:"",size:3});
                    var pA1w=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[0,12],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (B===1){
                    var pA1=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:""});
                    var pA1w=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[10,12],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (B===2){
                    var pA1=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[0,12],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (B===3){
                    var pA1=board.create('point',[{number1},12],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[10,12],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    }
                    var tA=board.create('text',[-.7,12.5,"(b)"],{fontSize:15});



                    var numLine = board.create('axis', [[0, 6],[10, 6]], {firstArrow: true,lastArrow: true,ticks: {insertTicks: false,drawZero: true,majorHeight: 4,minorHeight: 0,minorTicks: 1,tickEndings: [5, 6],ticksDistance: 1,strokeColor: '#121212',label: {offset: [-.5, -20]}}});


                    if (C===0){
                    var pA1=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:"",size:3});
                    var pA1w=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[0,6],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (C===1){
                    var pA1=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:""});
                    var pA1w=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[10,6],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (C===2){
                    var pA1=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[0,6],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (C===3){
                    var pA1=board.create('point',[{number1},6],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[10,6],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    }
                    var tA=board.create('text',[-.7,6.5,"(c)"],{fontSize:15});


                    var numLine = board.create('axis', [[0, 0],[10, 0]], {firstArrow: true,lastArrow: true,ticks: {insertTicks: false,drawZero: true,majorHeight: 4,minorHeight: 0,minorTicks: 1,tickEndings: [5, 6],ticksDistance: 1,strokeColor: '#121212',label: {offset: [-.5, -20]}}});


                    if (D===0){
                    var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:3});
                    var pA1w=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[0,0],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (D===1){
                    var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""});
                    var pA1w=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'});
                    var pA0=board.create('point',[10,0],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (D===2){
                    var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[0,0],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    } else if (D===3){
                    var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""});

                    var pA0=board.create('point',[10,0],{fixed:true,showInfobox:false,name:"",size:0});
                    var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'});
                    }
                    var tA=board.create('text',[-.7,0.5,"(d)"],{fontSize:15});
                </jsxgraph>
            </td>
            
        </tr>
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[{feedback}

The correct graph is:
<jsxgraph width="500" height="100">
    var board = JXG.JSXGraph.initBoard(BOARDID, {boundingbox:[-1,5,11,-10], axis:false, ShowCopyright: false, showNavigation:false}); let A={ans}; var numLine = board.create('axis', [[0, 0],[10, 0]], {firstArrow: true,lastArrow: true,ticks: {insertTicks: false,drawZero: true,majorHeight: 4,minorHeight: 0,minorTicks: 1,tickEndings: [5, 6],ticksDistance: 1,strokeColor: '#121212',label: {offset: [-.5, -20]}}}); if (A===0){ var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:3}); var pA1w=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'}); var pA0=board.create('point',[0,0],{fixed:true,showInfobox:false,name:"",size:0}); var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'}); } else if (A===1){ var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""}); var pA1w=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:"",size:1,strokeColor:'#FFFFFF',fillColor:'#FFFFFF'}); var pA0=board.create('point',[10,0],{fixed:true,showInfobox:false,name:"",size:0}); var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'}); } else if (A===2){ var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""}); var pA0=board.create('point',[0,0],{fixed:true,showInfobox:false,name:"",size:0}); var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'}); } else if (A===3){ var pA1=board.create('point',[{number1},0],{fixed:true,showInfobox:false,name:""}); var pA0=board.create('point',[10,0],{fixed:true,showInfobox:false,name:"",size:0}); var l1=board.create('line',[pA1,pA0],{firstArrow:false,lastArrow:true,straightFirst:false,straightLast:false,strokeColor:'#FF0000'}); } var tA=board.create('text',[-.7,0.5,"({letterAns})"],{fontSize:15});
</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test #9/L65- Probability/L65-Spinner</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361352  -->
  <question type="formulas">
    <name>
      <text>65-probabilty-spinner in 8ths (colors)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[A game is played with a color spinner.  Each section is the same size.  Find the probability of landing on each color.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID, {boundingbox:[-1.5,1.5,1.5,-1.5], axis:false, ShowCopyright: false, showNavigation:false});


    var s1 = board.create('sector', [[0,0], [1, 0], [{x1},{y1}]], {
    anglePoint: {visible:false}, center: {visible: false}, radiusPoint: {visible: false},
    fillColor: '{s1Fill}',highlightFillColor:'{s1Fill}', strokeColor: 'black'});

    var s2 = board.create('sector', [[0,0], [{x1},{y1}], [{x2},{y2}]], {
    anglePoint: {visible:false}, center: {visible: false}, radiusPoint: {visible: false},
    fillColor: '{s2Fill}',highlightFillColor:'{s2Fill}', strokeColor: 'black'});

    var s3 = board.create('sector', [[0,0], [{x2},{y2}], [{x3},{y3}]], {
    anglePoint: {visible:false}, center: {visible: false}, radiusPoint: {visible: false},
    fillColor: '{s3Fill}',highlightFillColor:'{s3Fill}', strokeColor: 'black'});

    var s4 = board.create('sector', [[0,0], [{x3},{y3}], [{x4},{y4}]], {
    anglePoint: {visible:false}, center: {visible: false}, radiusPoint: {visible: false},
    fillColor: '{s4Fill}',highlightFillColor:'{s4Fill}', strokeColor: 'black'});

    var s5 = board.create('sector', [[0,0], [{x4},{y4}], [{x5},{y5}]], {
    anglePoint: {visible:false}, center: {visible: false}, radiusPoint: {visible: false},
    fillColor: '{s5Fill}',highlightFillColor:'{s5Fill}', strokeColor: 'black'});

    var s6 = board.create('sector', [[0,0], [{x5},{y5}], [{x6},{y6}]], {
    anglePoint: {visible:false}, center: {visible: false}, radiusPoint: {visible: false},
    fillColor: '{s6Fill}',highlightFillColor:'{s6Fill}', strokeColor: 'black'});

    var s7 = board.create('sector', [[0,0], [{x6},{y6}], [{x7},{y7}]], {
    anglePoint: {visible:false}, center: {visible: false}, radiusPoint: {visible: false},
    fillColor: '{s7Fill}',highlightFillColor:'{s7Fill}', strokeColor: 'black'});

    var s8 = board.create('sector', [[0,0], [{x7},{y7}], [1,0]], {
    anglePoint: {visible:false}, center: {visible: false}, radiusPoint: {visible: false},
    fillColor: '{s8Fill}',highlightFillColor:'{s8Fill}', strokeColor: 'black'});

    var spinner=board.create('line',[[{Xn},{Yn}],[-1*{Xn},-1*{Yn}]],{straightFirst:false,straightLast:false,lastArrow:true, strokeColor: 'black'});

    var info = board.create('text', [-1,4.7, 'Triangle ABC is a right triangle.'],{parse: false, fixed: true, fontSize: 15});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"><br></p><br><p></p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[colors=shuffle(["green","red","brown","purple","blue","orange","yellow"]);
orderAll=shuffle([0,0,0,0,0,0,0,1,1,1,1,1]);
angleN={.1:1.5,1.6:3,3.25:4.6,4.8:6.2};
]]></text>
</varsrandom>
<varsglobal><text><![CDATA[Xn=cos(angleN)/2;
Yn=sin(angleN)/2;
order=[orderAll[0],orderAll[1],orderAll[2],orderAll[3],orderAll[4],orderAll[5],orderAll[6],orderAll[7]];
color1=colors[0];
color2=colors[1];
num=0;
for (i:[0:8]){
num=(order[i]==1)?num+1:num;
}
den=8;
x1=cos(deg2rad(45));
y1=sin(deg2rad(45));
x2=0;
y2=1;
x3=-1*cos(deg2rad(45));
y3=sin(deg2rad(45));
x4=-1;
y4=0;
x5=-1*cos(deg2rad(45));
y5=-1*sin(deg2rad(45));
x6=0;
y6=-1;
x7=cos(deg2rad(45));
y7=-1*sin(deg2rad(45));


shadeColor=color2;
shadeColor2=color1;
fillColor=shadeColor2;
s1Fill=pick(order[0],fillColor,shadeColor);
s2Fill=pick(order[1],fillColor,shadeColor);
s3Fill=pick(order[2],fillColor,shadeColor);
s4Fill=pick(order[3],fillColor,shadeColor);
s5Fill=pick(order[4],fillColor,shadeColor);
s6Fill=pick(order[5],fillColor,shadeColor);
s7Fill=pick(order[6],fillColor,shadeColor);
s8Fill=pick(order[7],fillColor,shadeColor);

#num den reducing
GCF1=gcd(num,den);
rNum=num/GCF1;
rDen=den/GCF1;
FB1=pick(GCF1>1,"",join("","Write the fraction in simplified form.  <br>The GCF of ",num," and ",den," is <b>",GCF1,"</b>. <br> \\(\\frac{",num,"÷",GCF1,"}{",den,"÷",GCF1,"}\\) = \\(\\frac{",rNum,"}{",rDen,"}\\)."));

num2=den-num;
GCF2=gcd(den-num,den);
rNum2=(den-num)/GCF2;
rDen2=den/GCF2;
FB2=pick(GCF2>1,"",join("","Write the fraction in simplified form.  <br>The GCF of ",num2," and ",den," is <b>",GCF2,"</b>. <br> \\(\\frac{",num2,"÷",GCF2,"}{",den,"÷",GCF2,"}\\) = \\(\\frac{",rNum2,"}{",rDen2,"}\\)."));]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.5</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[num,den]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>(_0/_1 == num/den)*.6 + (gcd(_0,_1)==1)*.4</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<br><table>
    <tbody>
        <tr>
            <td rowspan="2">
                <h3>What is the probability of landing on {shadeColor}?&nbsp;</h3>
            </td>
            <td style="border-bottom:1px solid black"><h3>{_0}</h3></td>
      </tr><tr> <td><h3>{_1}
            </h3></td>
        </tr>
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;"></p><p dir="ltr">The fraction of the circle shaded {shadeColor} is \(\frac{{num}}{{den}}\).</p><p dir="ltr">{FB1}</p><br><p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.5</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[den-num,den]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>(_0/_1 == (den-num)/den)  *.6 + (gcd(_0,_1)==1)*.4</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;"><br></p><table><tbody><tr><td rowspan="2"><h3></h3><h3>What is the probability of landing on {shadeColor2}?&nbsp;</h3></td><td><h3>{_0}</h3></td></tr><tr><td><h3>{_1}</h3></td></tr></tbody></table><br><p></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;"></p><p dir="ltr">The fraction of the circle shaded {shadeColor2} is \(\frac{{num2}}{{den}}\).</p><p dir="ltr">{FB2}</p><br><p></p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361349  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-Spinner-4 sections</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            
            <td>
                <jsxgraph width="100" height="100">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
                    boundingbox:[-1.5,1.5,1.5,-1.5],
                    axis:false,
                    grid:false,
                    showCopyright:false,
                    showNavigation:false,
                    keepaspectratio:true
                    });
                    var po=board.create('point',[0,0],{fixed:true,size:'0',name:'',showInfobox:false});
                    var pa=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:'',showInfobox:false});
                    var pb=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:'',showInfobox:false});
                    var pc=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:'',showInfobox:false});
                    var pd=board.create('point',[{Xd},{Yd}],{fixed:true,size:'0',name:'',showInfobox:false});
                    var s1=board.create('sector',[po,pa,pb],{fillColor: 'yellow', strokeColor: 'black'});
                    var s2=board.create('sector',[po,pb,pc],{fillColor: 'green', strokeColor: 'black'});
                    var s1=board.create('sector',[po,pc,pd],{fillColor: 'blue', strokeColor: 'black'});
                    var s2=board.create('sector',[po,pd,pa],{fillColor: 'purple', strokeColor: 'black'});
                    var tRadius=board.create('text',[0.5,0.5,"1"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var tRadius=board.create('text',[-0.5,0.5,"2"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var tRadius=board.create('text',[0.5,-0.5,"3"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var tRadius=board.create('text',[-0.5,-0.5,"4"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var spinner=board.create('line',[[{Xn},{Yn}],[-1*{Xn},-1*{Yn}]],{straightFirst:false,straightLast:false,lastArrow:true, strokeColor: 'black'});
                </jsxgraph>
            </td>
<td>A spinner, like the one shown,&nbsp; is used in a game.&nbsp; &nbsp;</td>
        </tr>
    </tbody>
</table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>randSpin={1,2,3,4};
randCh=shuffle([0,1,2,3]);
angleN={.1:1.5,1.6:3,3.25:4.6,4.8:6.2};
</text>
</varsrandom>
<varsglobal><text><![CDATA[Xn=cos(angleN)/2;
Yn=sin(angleN)/2;
sections=4;
Xa=1;
Ya=0;
factor=(2*pi()) * sections-1;
Xb=0;
Yb=1;
Xc=-1;
Yc=0;
Xd=0;
Yd=-1;
ans=1;
#Change ending number to number of sections
choice=fill(4,"");
for (i:[0:4]){
GCF=gcd(i,sections);
num=i/GCF;
den=sections/GCF;
choice[i]=join("","\\(\\frac{",num,"}{",den,"}\\)");
}
choices=[choice[randCh[0]],choice[randCh[1]],choice[randCh[2]],choice[randCh[3]]];
isAre=pick((ans>1)||(ans==0),"is","are");
s=pick((ans>1)||(ans==0),"","s");



]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randCh[_0]==ans</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[Determine the probability of landing on a&nbsp;<strong>{randSpin}</strong>&nbsp;on the next spin. {_0:choices}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, the probability of landing on a&nbsp;<span class="" style="color: rgb(255, 51, 102);"><strong></strong></span><strong>{randSpin} </strong>&nbsp;for the next spin is \(\frac{{ans}}{{sections}}\).&nbsp;&nbsp;</p><p dir="ltr" style="text-align: left;">There {isAre} {ans} section to&nbsp;land on a&nbsp;<span><strong></strong></span><strong>{randSpin}.</strong></p><p dir="ltr" style="text-align: left;">There are&nbsp;<span class="" style="color: rgb(51, 102, 255);">{sections}</span> sections on the spinner.&nbsp;&nbsp;</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p>
<p dir="ltr" style="text-align: left;">T<span style="font-size: 0.9375rem;">he probability of landing on a&nbsp;</span><span style="font-size: 0.9375rem;"><strong></strong></span><strong style="font-size: 0.9375rem;">{randSpin}&nbsp;</strong><span style="font-size: 0.9375rem;">&nbsp;for the next spin is \(\frac{{ans}}{{sections}}\).&nbsp;&nbsp;</span></p><p dir="ltr">There {isAre} {ans} section to&nbsp;land on a&nbsp;<span><strong></strong></span><strong>{randSpin}.</strong></p><p dir="ltr">There are&nbsp;<span>{sections}</span>&nbsp;sections on the spinner.&nbsp;&nbsp;</p><br><p></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361351  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-Spinner-8 Many</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>

            <td>
                <jsxgraph width="200" height="200">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
                    boundingbox:[-1.5,1.5,1.5,-1.5],
                    axis:false,
                    grid:false,
                    showCopyright:false,
                    showNavigation:false,
                    keepaspectratio:true
                    });
                    var po=board.create('point',[0,0],{fixed:true,size:'0',name:'',showInfobox:false});
                    var pa=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:'',showInfobox:false});
                    var pb=board.create('point',[{sq2},{sq2}],{fixed:true,size:'0', name:'', showInfobox:false});
                    var pc=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:'',showInfobox:false});
                    var pd=board.create('point',[{nsq2},{sq2}],{fixed:true,size:'0', name:'', showInfobox:false});
                    var pe=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:'',showInfobox:false});
                    var pf=board.create('point',[{nsq2},{nsq2}],{fixed:true,size:'0', name:'', showInfobox:false});
                    var pg=board.create('point',[{Xd},{Yd}],{fixed:true,size:'0',name:'',showInfobox:false});
                    var ph=board.create('point',[{sq2},{nsq2}],{fixed:true,size:'0', name:'', showInfobox:false});
                    var s1=board.create('sector',[po,pa,pb],{fillColor: '{color0}', strokeColor: 'black'});
                    var s2=board.create('sector',[po,pb,pc],{fillColor: '{color1}', strokeColor: 'black'});
                    var s3=board.create('sector',[po,pc,pd],{fillColor: '{color2}', strokeColor: 'black'});
                    var s4=board.create('sector',[po,pd,pe],{fillColor: '{color3}', strokeColor: 'black'});
                    var s5=board.create('sector',[po,pe,pf],{fillColor: '{color4}', strokeColor: 'black'});
                    var s6=board.create('sector',[po,pf,pg],{fillColor: '{color5}', strokeColor: 'black'});
                    var s7=board.create('sector',[po,pg,ph],{fillColor: '{color6}', strokeColor: 'black'});
                    var s8=board.create('sector',[po,ph,pa],{fillColor: '{color7}', strokeColor: 'black'});

                    var t1=board.create('text',[{sq2},{sq2}/2,"1"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var t2=board.create('text',[{sq2}/2,{sq2},"2"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var t3=board.create('text',[{nsq2}/2,{sq2},"3"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var t4=board.create('text',[{nsq2},{sq2}/2,"4"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                   var t5=board.create('text',[{nsq2},{nsq2}/2,"5"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var t6=board.create('text',[{nsq2}/2,{nsq2},"6"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var t7=board.create('text',[{sq2}/2,{nsq2},"7"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var t8=board.create('text',[{sq2},{nsq2}/2,"8"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var spinner=board.create('line',[[{Xn},{Yn}],[-1*{Xn},-1*{Yn}]],{straightFirst:false,straightLast:false,lastArrow:true, strokeColor: 'black'});
                </jsxgraph>
            </td>
            <td>A spinner, like the one shown,&nbsp; is used in a game.&nbsp; &nbsp;</td>
        </tr>
    </tbody>
</table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[randQues={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18};

randCh=shuffle([0,1,2,3,4,5,6,7]);
angleN={.1:1.5,1.6:3,3.25:4.6,4.8:6.2};
colors=shuffle(["red","yellow","orange", "green", "aqua", "blue","pink", "brown", "purple"]);]]></text>
</varsrandom>
<varsglobal><text><![CDATA[ques=["a 1","a 2","a 3","a 4", "a 5","a 6","a 7", "a 8","an odd number","an even number","a number less than 3","a number greater than 3","not a three","not a four","not a number more than 5","a two or a four","a three or six","a zero","a ten"];
answers=[1,1,1,1,1,1,1,1,4,4,2,5,7,7,5,2,2,0,0];
ans=answers[randQues];
randSpin=ques[randQues];
sq2=1/pow(2,1/2);
nsq2=-1*sq2;
Xn=cos(angleN)/2;
Yn=sin(angleN)/2;
sections=8;
Xa=1;
Ya=0;
factor=(2*pi()) * sections-1;
Xb=0;
Yb=1;
Xc=-1;
Yc=0;
Xd=0;
Yd=-1;

#Change ending number to number of sections
choice=fill(8,"");
for (i:[0:8]){
GCF=gcd(i,sections);
num=i/GCF;
den=sections/GCF;
choice[i]=join("","\\(\\frac{",num,"}{",den,"}\\)");
}
choices=[choice[randCh[0]],choice[randCh[1]],choice[randCh[2]],choice[randCh[3]],choice[randCh[4]],choice[randCh[5]],choice[randCh[6]],choice[randCh[7]]];
isAre=pick((ans>1)||(ans==0),"is","are");
s=pick((ans>1)||(ans==0),"","s");
color0=colors[0];
color1=colors[1];
color2=colors[2];
color3=colors[3];
color4=colors[4];
color5=colors[5];
color6=colors[6];
color7=colors[7];



]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randCh[_0]==ans</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[Determine the probability of landing on <strong>{=ques[randQues]}</strong>&nbsp;on the next spin. {_0:choices}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, the probability of landing on a&nbsp;<span class="" style="color: rgb(255, 51, 102);"><strong></strong></span><strong>{randSpin} </strong>&nbsp;for the next spin is \(\frac{{ans}}{{sections}}\).&nbsp;&nbsp;</p><p dir="ltr" style="text-align: left;">There {isAre} {ans} section to&nbsp;land on&nbsp;<strong>{randSpin}.</strong></p><p dir="ltr" style="text-align: left;">There are&nbsp;<span class="" style="color: rgb(51, 102, 255);">{sections}</span> sections on the spinner.&nbsp;&nbsp;</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p>
<p dir="ltr" style="text-align: left;">T<span style="font-size: 0.9375rem;">he probability of landing on a&nbsp;</span><span style="font-size: 0.9375rem;"><strong></strong></span><strong style="font-size: 0.9375rem;">{randSpin}&nbsp;</strong><span style="font-size: 0.9375rem;">&nbsp;for the next spin is \(\frac{{ans}}{{sections}}\).&nbsp;&nbsp;</span></p><p dir="ltr">There {isAre} {ans} section to&nbsp;land on&nbsp;<strong>{randSpin}.</strong></p><p dir="ltr">There are&nbsp;<span>{sections}</span>&nbsp;sections on the spinner.&nbsp;&nbsp;</p><br><p></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361350  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-Spinner-8 sections</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>

            <td>
                <jsxgraph width="200" height="200">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
                    boundingbox:[-1.5,1.5,1.5,-1.5],
                    axis:false,
                    grid:false,
                    showCopyright:false,
                    showNavigation:false,
                    keepaspectratio:true
                    });
                    var po=board.create('point',[0,0],{fixed:true,size:'0',name:'',showInfobox:false});
                    var pa=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:'',showInfobox:false});
                    var pb=board.create('point',[{sq2},{sq2}],{fixed:true,size:'0', name:'', showInfobox:false});
                    var pc=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:'',showInfobox:false});
                    var pd=board.create('point',[{nsq2},{sq2}],{fixed:true,size:'0', name:'', showInfobox:false});
                    var pe=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:'',showInfobox:false});
                    var pf=board.create('point',[{nsq2},{nsq2}],{fixed:true,size:'0', name:'', showInfobox:false});
                    var pg=board.create('point',[{Xd},{Yd}],{fixed:true,size:'0',name:'',showInfobox:false});
                    var ph=board.create('point',[{sq2},{nsq2}],{fixed:true,size:'0', name:'', showInfobox:false});
                    var s1=board.create('sector',[po,pa,pb],{fillColor: '{color0}', strokeColor: 'black'});
                    var s2=board.create('sector',[po,pb,pc],{fillColor: '{color1}', strokeColor: 'black'});
                    var s3=board.create('sector',[po,pc,pd],{fillColor: '{color2}', strokeColor: 'black'});
                    var s4=board.create('sector',[po,pd,pe],{fillColor: '{color3}', strokeColor: 'black'});
                    var s5=board.create('sector',[po,pe,pf],{fillColor: '{color4}', strokeColor: 'black'});
                    var s6=board.create('sector',[po,pf,pg],{fillColor: '{color5}', strokeColor: 'black'});
                    var s7=board.create('sector',[po,pg,ph],{fillColor: '{color6}', strokeColor: 'black'});
                    var s8=board.create('sector',[po,ph,pa],{fillColor: '{color7}', strokeColor: 'black'});

                    var t1=board.create('text',[{sq2},{sq2}/2,"1"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var t2=board.create('text',[{sq2}/2,{sq2},"2"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var t3=board.create('text',[{nsq2}/2,{sq2},"3"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var t4=board.create('text',[{nsq2},{sq2}/2,"4"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                   var t5=board.create('text',[{nsq2},{nsq2}/2,"5"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var t6=board.create('text',[{nsq2}/2,{nsq2},"6"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var t7=board.create('text',[{sq2}/2,{nsq2},"7"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var t8=board.create('text',[{sq2},{nsq2}/2,"8"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
                    var spinner=board.create('line',[[{Xn},{Yn}],[-1*{Xn},-1*{Yn}]],{straightFirst:false,straightLast:false,lastArrow:true, strokeColor: 'black'});
                </jsxgraph>
            </td>
            <td>A spinner, like the one shown,&nbsp; is used in a game.&nbsp; &nbsp;</td>
        </tr>
    </tbody>
</table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[randSpin={1,2,3,4,5,6,7,8};
randCh=shuffle([0,1,2,3,4,5,6,7]);
angleN={.1:1.5,1.6:3,3.25:4.6,4.8:6.2};
colors=shuffle(["red","yellow","orange", "green", "aqua", "blue","pink", "brown", "purple"]);]]></text>
</varsrandom>
<varsglobal><text><![CDATA[sq2=1/pow(2,1/2);
nsq2=-1*sq2;
Xn=cos(angleN)/2;
Yn=sin(angleN)/2;
sections=8;
Xa=1;
Ya=0;
factor=(2*pi()) * sections-1;
Xb=0;
Yb=1;
Xc=-1;
Yc=0;
Xd=0;
Yd=-1;
ans=1;
#Change ending number to number of sections
choice=fill(8,"");
for (i:[0:8]){
GCF=gcd(i,sections);
num=i/GCF;
den=sections/GCF;
choice[i]=join("","\\(\\frac{",num,"}{",den,"}\\)");
}
choices=[choice[randCh[0]],choice[randCh[1]],choice[randCh[2]],choice[randCh[3]],choice[randCh[4]],choice[randCh[5]],choice[randCh[6]],choice[randCh[7]]];
isAre=pick((ans>1)||(ans==0),"is","are");
s=pick((ans>1)||(ans==0),"","s");
color0=colors[0];
color1=colors[1];
color2=colors[2];
color3=colors[3];
color4=colors[4];
color5=colors[5];
color6=colors[6];
color7=colors[7];



]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randCh[_0]==ans</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[Determine the probability of landing on a&nbsp;<strong>{randSpin}</strong>&nbsp;on the next spin. {_0:choices}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, the probability of landing on a&nbsp;<span class="" style="color: rgb(255, 51, 102);"><strong></strong></span><strong>{randSpin} </strong>&nbsp;for the next spin is \(\frac{{ans}}{{sections}}\).&nbsp;&nbsp;</p><p dir="ltr" style="text-align: left;">There {isAre} {ans} section to&nbsp;land on a&nbsp;<span><strong></strong></span><strong>{randSpin}.</strong></p><p dir="ltr" style="text-align: left;">There are&nbsp;<span class="" style="color: rgb(51, 102, 255);">{sections}</span> sections on the spinner.&nbsp;&nbsp;</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p>
<p dir="ltr" style="text-align: left;">T<span style="font-size: 0.9375rem;">he probability of landing on a&nbsp;</span><span style="font-size: 0.9375rem;"><strong></strong></span><strong style="font-size: 0.9375rem;">{randSpin}&nbsp;</strong><span style="font-size: 0.9375rem;">&nbsp;for the next spin is \(\frac{{ans}}{{sections}}\).&nbsp;&nbsp;</span></p><p dir="ltr">There {isAre} {ans} section to&nbsp;land on a&nbsp;<span><strong></strong></span><strong>{randSpin}.</strong></p><p dir="ltr">There are&nbsp;<span>{sections}</span>&nbsp;sections on the spinner.&nbsp;&nbsp;</p><br><p></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test #9/L65- Probability/L65-One Die</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361397  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-6-sided die</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="50" height="50" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll a six sided die.&nbsp; What is the probability of rolling a {roll}?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>roll={1,2,3,4,5,6};</text>
</varsrandom>
<varsglobal><text><![CDATA[sides=6;
ans=0;
choices=[join("","\\(\\frac{1}{6}\\)"),join("","\\(\\frac{2}{6}\\)"),join("","\\(\\frac{3}{6}\\)"),join("","\\(\\frac{4}{6}\\)"),join("","\\(\\frac{5}{6}\\)"),join("","\\(\\frac{6}{6}\\)")];
]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, there is <span class="" style="color: rgb(255, 51, 102);"><strong>one </strong></span><strong>{roll}</strong> on the six sided die.&nbsp; The probability is \(\frac{1}{6}\).</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p><p dir="ltr" style="text-align: left;">There is&nbsp;<span><strong><span class="" style="color: rgb(255, 51, 102);">one&nbsp;</span></strong></span><strong>{roll}</strong>&nbsp;on the six sided die.&nbsp; The probability is \(\frac{1}{6}\).<br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361407  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-6-sided die</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="50" height="50" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll a six sided die.&nbsp; What is the probability of rolling a {roll}?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>roll={1,2,3,4,5,6};</text>
</varsrandom>
<varsglobal><text><![CDATA[sides=6;
ans=0;
choices=[join("","\\(\\frac{1}{6}\\)"),join("","\\(\\frac{2}{6}\\)"),join("","\\(\\frac{3}{6}\\)"),join("","\\(\\frac{4}{6}\\)"),join("","\\(\\frac{5}{6}\\)"),join("","\\(\\frac{6}{6}\\)")];
]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, there is <span class="" style="color: rgb(255, 51, 102);"><strong>one </strong></span><strong>{roll}</strong> on the six sided die.&nbsp; The probability is \(\frac{1}{6}\).</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p><p dir="ltr" style="text-align: left;">There is&nbsp;<span><strong><span class="" style="color: rgb(255, 51, 102);">one&nbsp;</span></strong></span><strong>{roll}</strong>&nbsp;on the six sided die.&nbsp; The probability is \(\frac{1}{6}\).<br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361399  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-6-sided die-REDUCE</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="50" height="50" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll a six sided die.&nbsp; What is the probability of rolling a {roll}?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>roll={1,2,3,4,5,6};
random=shuffle([0,1,2,3,4,5]);</text>
</varsrandom>
<varsglobal><text><![CDATA[sides=6;
ans=0;
fractions=[join("","\\(\\frac{1}{6}\\)"),join("","\\(\\frac{1}{3}\\)"),join("","\\(\\frac{1}{2}\\)"),join("","\\(\\frac{2}{3}\\)"),join("","\\(\\frac{5}{6}\\)"),join("","1")];
choices=[fractions[random[0]],fractions[random[1]], fractions[random[2]], fractions[random[3]], fractions[random[4]], fractions[random[5]]];]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>random[_0] == ans</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, there is <span class="" style="color: rgb(255, 51, 102);"><strong>one </strong></span><strong>{roll}</strong> on the six sided die.&nbsp; The probability is \(\frac{1}{6}\).</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p><p dir="ltr" style="text-align: left;">There is&nbsp;<span><strong><span class="" style="color: rgb(255, 51, 102);">one&nbsp;</span></strong></span><strong>{roll}</strong>&nbsp;on the six sided die.&nbsp; The probability is \(\frac{1}{6}\).<br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361403  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-die-even/odd</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="50" height="50" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll a six sided die.&nbsp; What is the probability of rolling an {evenOdd} number?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>roll={1,2,3,4,5,6};
random=shuffle([0,1,2,3,4,5,6]);
randEO={0,1};</text>
</varsrandom>
<varsglobal><text><![CDATA[evenOdd=pick(randEO,"even","odd");
FBEO=pick(randEO,"The even numbers are 2, 4, and 6","The odd numbers are 1, 3, and 5");
sides=6;
ans=3;
FB="";


fractions=[join("","\\(\\frac{0}{6}\\)"),join("","\\(\\frac{1}{6}\\)"),join("","\\(\\frac{1}{3}\\)"),join("","\\(\\frac{1}{2}\\)"),join("","\\(\\frac{2}{3}\\)"),join("","\\(\\frac{5}{6}\\)"),join("","1")];
Rfractions=[join("","0"),join("","\\(\\frac{1}{6}\\)"),join("","\\(\\frac{1}{3}\\)"),join("","\\(\\frac{1}{2}\\)"),join("","\\(\\frac{2}{3}\\)"),join("","\\(\\frac{5}{6}\\)"),join("","1")];
choices=[fractions[random[0]],fractions[random[1]], fractions[random[2]], fractions[random[3]], fractions[random[4]], fractions[random[5]], fractions[random[6]]];
isAre=pick(ans>1,"is","are");
s=pick(ans>1,"","s");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>random[_0]==ans</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;"></p><p dir="ltr">Correct, there {isAre}&nbsp;<strong><span class="" style="color: rgb(255, 51, 102);">{ans} {evenOdd} number{s} </span></strong>on the six sided die.&nbsp; The probability is \(\frac{{ans}}{6}\).</p><p dir="ltr">Reduce the fraction:&nbsp; &nbsp;\(\frac{{ans}}{6}\) = \(\frac{1}{2}\)</p><br><p></p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;"></p>Your answer is incorrect.<p></p><p dir="ltr"><span style="font-size: 0.9375rem;">There {isAre}&nbsp;</span><strong style="font-size: 0.9375rem;"><span><span class="" style="color: rgb(255, 51, 102);">{ans} {evenOdd} number{s}</span>&nbsp;</span></strong><span style="font-size: 0.9375rem;">on the six sided die.&nbsp; The probability is \(\frac{{ans}}{6}\).</span><br></p><p dir="ltr">Reduce the fraction:&nbsp; &nbsp;\(\frac{{ans}}{6}\) = \(\frac{1}{2}\)</p><p dir="ltr"></p><p dir="ltr" style="text-align: left;"><br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361401  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-die-greater than</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="50" height="50" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll a six sided die.&nbsp; What is the probability of rolling a number greater than {roll}?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>roll={1,2,3,4,5,6};</text>
</varsrandom>
<varsglobal><text><![CDATA[sides=6;
ans=0;
FB="";
for (i:[1:7]) {
ans=(i>roll)?ans+1:ans;
FB=pick(i>roll,FB,join("",FB,i," is greater than ",roll,".<br> "));
}
choices=[join("","\\(\\frac{0}{6}\\)"),join("","\\(\\frac{1}{6}\\)"),join("","\\(\\frac{2}{6}\\)"),join("","\\(\\frac{3}{6}\\)"),join("","\\(\\frac{4}{6}\\)"),join("","\\(\\frac{5}{6}\\)"),join("","\\(\\frac{6}{6}\\)")];
isAre=pick(ans>1,"is","are");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, there {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);"><strong>{ans} numbers greater than&nbsp;</strong></span><strong>{roll}</strong> on the six sided die.&nbsp; The probability is \(\frac{{ans}}{6}\).</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p><p dir="ltr" style="text-align: left;">{FB}</p><p dir="ltr" style="text-align: left;">There {isAre}&nbsp;<strong>{ans} numbers greater than&nbsp;</strong><strong>{roll}</strong>&nbsp;on the six sided die.&nbsp; The probability is \(\frac{{ans}}{6}\).<br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361398  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-die-less than</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="50" height="50" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll a six sided die.&nbsp; What is the probability of rolling a number less than {roll}?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>roll={1,2,3,4,5,6};</text>
</varsrandom>
<varsglobal><text><![CDATA[sides=6;
ans=0;
for (i:[1:7]) {
ans=(i<roll)?ans+1:ans;
}
choices=[join("","\\(\\frac{0}{6}\\)"),join("","\\(\\frac{1}{6}\\)"),join("","\\(\\frac{2}{6}\\)"),join("","\\(\\frac{3}{6}\\)"),join("","\\(\\frac{4}{6}\\)"),join("","\\(\\frac{5}{6}\\)"),join("","\\(\\frac{6}{6}\\)")];
isAre=pick(ans>1,"is","are");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, there {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);"><strong>{ans} numbers less than&nbsp;</strong></span><strong>{roll}</strong> on the six sided die.&nbsp; The probability is \(\frac{{ans}}{6}\).</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p><p dir="ltr" style="text-align: left;">There {isAre}&nbsp;<strong>{ans} numbers less than&nbsp;</strong><strong>{roll}</strong>&nbsp;on the six sided die.&nbsp; The probability is \(\frac{{ans}}{6}\).<br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361400  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-die-Less-Random</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="50" height="50" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll a six sided die.&nbsp; What is the probability of rolling a number less than {roll}?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>roll={1,2,3,4,5,6};
random=shuffle([0,1,2,3,4,5,6]);</text>
</varsrandom>
<varsglobal><text><![CDATA[sides=6;
ans=0;
for (i:[1:7]) {
ans=(i<roll)?ans+1:ans;
}
fractions=[join("","\\(\\frac{0}{6}\\)"),join("","\\(\\frac{1}{6}\\)"),join("","\\(\\frac{1}{3}\\)"),join("","\\(\\frac{1}{2}\\)"),join("","\\(\\frac{2}{3}\\)"),join("","\\(\\frac{5}{6}\\)"),join("","1")];
Rfractions=[join("","0"),join("","\\(\\frac{1}{6}\\)"),join("","\\(\\frac{1}{3}\\)"),join("","\\(\\frac{1}{2}\\)"),join("","\\(\\frac{2}{3}\\)"),join("","\\(\\frac{5}{6}\\)"),join("","1")];
choices=[fractions[random[0]],fractions[random[1]], fractions[random[2]], fractions[random[3]], fractions[random[4]], fractions[random[5]]];
isAre=pick(ans>1,"is","are");
s=pick(ans>1,"","s");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>0</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>random[_0]==ans</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, there {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);"><strong>{ans} number{s} less than&nbsp;</strong></span><strong>{roll}</strong> on the six sided die.&nbsp; The probability is \(\frac{{ans}}{6}\).</p><p dir="ltr" style="text-align: left;">Reduce the fraction:&nbsp; &nbsp;<span style="font-size: 0.9375rem;">\(\frac{{ans}}{6}\) = {=fractions[ans-1]}</span></p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p><p dir="ltr" style="text-align: left;">There {isAre}&nbsp;<strong>{ans} number{s} less than&nbsp;</strong><strong>{roll}</strong>&nbsp;on the six sided die.&nbsp; The probability is \(\frac{{ans}}{6}\).<br></p><p dir="ltr" style="text-align: left;">Reduce the fraction:&nbsp; \(\frac{{ans}}{6}\) = {=Rfractions[ans]}<br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361408  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-die-Less-Random</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="50" height="50" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll a six sided die.&nbsp; What is the probability of rolling a number less than {roll}?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>roll={1,2,3,4,5,6};
random=shuffle([0,1,2,3,4,5,6]);</text>
</varsrandom>
<varsglobal><text><![CDATA[sides=6;
ans=0;
for (i:[1:7]) {
ans=(i<roll)?ans+1:ans;
}
fractions=[join("","\\(\\frac{0}{6}\\)"),join("","\\(\\frac{1}{6}\\)"),join("","\\(\\frac{1}{3}\\)"),join("","\\(\\frac{1}{2}\\)"),join("","\\(\\frac{2}{3}\\)"),join("","\\(\\frac{5}{6}\\)"),join("","1")];
Rfractions=[join("","0"),join("","\\(\\frac{1}{6}\\)"),join("","\\(\\frac{1}{3}\\)"),join("","\\(\\frac{1}{2}\\)"),join("","\\(\\frac{2}{3}\\)"),join("","\\(\\frac{5}{6}\\)"),join("","1")];
choices=[fractions[random[0]],fractions[random[1]], fractions[random[2]], fractions[random[3]], fractions[random[4]], fractions[random[5]]];
isAre=pick(ans>1,"is","are");
s=pick(ans>1,"","s");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>0</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>random[_0]==ans</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, there {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);"><strong>{ans} number{s} less than&nbsp;</strong></span><strong>{roll}</strong> on the six sided die.&nbsp; The probability is \(\frac{{ans}}{6}\).</p><p dir="ltr" style="text-align: left;">Reduce the fraction:&nbsp; &nbsp;<span style="font-size: 0.9375rem;">\(\frac{{ans}}{6}\) = {=fractions[ans-1]}</span></p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p><p dir="ltr" style="text-align: left;">There {isAre}&nbsp;<strong>{ans} number{s} less than&nbsp;</strong><strong>{roll}</strong>&nbsp;on the six sided die.&nbsp; The probability is \(\frac{{ans}}{6}\).<br></p><p dir="ltr" style="text-align: left;">Reduce the fraction:&nbsp; \(\frac{{ans}}{6}\) = {=Rfractions[ans]}<br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361402  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-die-RANDOM-greater than</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="50" height="50" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll a six sided die.&nbsp; What is the probability of rolling a number greater than {roll}?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>roll={1,2,3,4,5,6};
random=shuffle([0,1,2,3,4,5,6]);</text>
</varsrandom>
<varsglobal><text><![CDATA[sides=6;
ans=0;
FB="";
for (i:[1:7]) {
ans=(i>roll)?ans+1:ans;
FB=pick(i>roll,FB,join("",FB,i," is greater than ",roll,".<br> "));
}
fractions=[join("","\\(\\frac{0}{6}\\)"),join("","\\(\\frac{1}{6}\\)"),join("","\\(\\frac{1}{3}\\)"),join("","\\(\\frac{1}{2}\\)"),join("","\\(\\frac{2}{3}\\)"),join("","\\(\\frac{5}{6}\\)"),join("","1")];
Rfractions=[join("","0"),join("","\\(\\frac{1}{6}\\)"),join("","\\(\\frac{1}{3}\\)"),join("","\\(\\frac{1}{2}\\)"),join("","\\(\\frac{2}{3}\\)"),join("","\\(\\frac{5}{6}\\)"),join("","1")];
choices=[fractions[random[0]],fractions[random[1]], fractions[random[2]], fractions[random[3]], fractions[random[4]], fractions[random[5]], fractions[random[6]]];
isAre=pick(ans>1,"is","are");
s=pick(ans>1,"","s");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>random[_0]==ans</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;"></p><p dir="ltr">Correct, there {isAre}&nbsp;<strong><span class="" style="color: rgb(255, 51, 102);">{ans} number{s} greater than</span>&nbsp;</strong><strong>{roll}</strong>&nbsp;on the six sided die.&nbsp; The probability is \(\frac{{ans}}{6}\).</p><p dir="ltr">Reduce the fraction:&nbsp; &nbsp;\(\frac{{ans}}{6}\) = {=fractions[ans-1]}</p><br><p></p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;"></p>Your answer is incorrect.<p></p><p dir="ltr">{FB}</p><p dir="ltr">There {isAre}&nbsp;<strong><span class="" style="color: rgb(255, 51, 102);">{ans} number{s} greater than</span>&nbsp;</strong><strong>{roll}</strong>&nbsp;on the six sided die.&nbsp; The probability is \(\frac{{ans}}{6}\).<br></p><p dir="ltr">Reduce the fraction:&nbsp; \(\frac{{ans}}{6}\) = {=Rfractions[ans]}</p><p dir="ltr" style="text-align: left;"><br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test #9/L65- Probability/TL65-Two Dice</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361409  -->
  <question type="formulas">
    <name>
      <text>TL65- Probability-2-dice-roll EQ a number</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="75" height="75" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll two six sided dice.&nbsp; One of the dice is {color1} and the <br>other is {color2}.&nbsp; What is the probability of rolling a total of {roll}?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[roll={1,2,3,4,5,6,7,8,9,10,11,12};
colors=shuffle(["red","green","blue","orange","white","black","purple","brown","pink"]);]]></text>
</varsrandom>
<varsglobal><text><![CDATA[color1=colors[0];
color2=colors[1];
sides=36;
ans=0;
FB="";
for (i:[1:7]) {
  for (j:[1:7]){
   ans=((i+j)==roll)?ans+1:ans;
   FB=pick((i+j)==roll,FB,join("",FB,"Rolling a ",i," on the ",color1," die and a ",j," on the ",color2," die  results in a ",i+j," total roll. <br>"));
  }
}
num=ans;
den=36;
GCF=gcd(num,den);
rNum=num/GCF;
rDen=den/GCF;
tFrac=join("", "\\(\\frac{",num,"}{",den,"}\\)");
FB2=pick(GCF==1,join("","<b>Reduce the fraction.</b> \\(\\frac{",num,"}{",den,"}\\) reduces to \\(\\frac{",rNum,"}{",rDen,"}\\)"),"");
isAre=pick(ans==1,"are","is");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[rNum,rDen]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[(_0/_1==rNum/rDen)*.6 + ((gcd(_0,_1)==1)&&(_0/_1==rNum/rDen))*.4]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td style="border-bottom: 1px solid black">{_0}</td>
      </tr><tr> <td>{_1}</td>
        </tr>
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, there {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);"><strong>{ans} possible totals of </strong><span class="" style="color: rgb(51, 51, 51);">rolling a&nbsp;</span></span><strong>{roll}</strong> on two six-sided dice.&nbsp; The probability is {tFrac}.</p>
<p dir="ltr" style="text-align: left;">{FB}</p>
<p dir="ltr" style="text-align: left;">{FB2}</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p><p dir="ltr" style="text-align: left;">{FB}</p><p dir="ltr" style="text-align: left;">There {isAre}&nbsp;<strong>{ans} possible totals of&nbsp;</strong><strong>{roll}</strong>&nbsp;on two six-sided dice.&nbsp; The probability is \(\frac{{num}}{{den}}\).<br></p><p dir="ltr" style="text-align: left;">{FB2}</p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361414  -->
  <question type="formulas">
    <name>
      <text>TL65- Probability-2-dice-roll EQ a number</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="75" height="75" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll two six sided dice.&nbsp; One of the dice is {color1} and the <br>other is {color2}.&nbsp; What is the probability of rolling a total of {roll}?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[roll={1,2,3,4,5,6,7,8,9,10,11,12};
colors=shuffle(["red","green","blue","orange","white","black","purple","brown","pink"]);]]></text>
</varsrandom>
<varsglobal><text><![CDATA[color1=colors[0];
color2=colors[1];
sides=36;
ans=0;
FB="";
for (i:[1:7]) {
  for (j:[1:7]){
   ans=((i+j)==roll)?ans+1:ans;
   FB=pick((i+j)==roll,FB,join("",FB,"Rolling a ",i," on the ",color1," die and a ",j," on the ",color2," die  results in a ",i+j," total roll. <br>"));
  }
}
num=ans;
den=36;
GCF=gcd(num,den);
rNum=num/GCF;
rDen=den/GCF;
FB2=pick(GCF==1,join("","<b>Reduce the fraction.</b> \\(\\frac{",num,"}{",den,"}\\) reduces to \\(\\frac{",rNum,"}{",rDen,"}\\)"),"");
isAre=pick(ans==1,"are","is");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[rNum,rDen]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[(_0/_1==rNum/rDen)*.6 + ((gcd(_0,_1)==1)&&(_0/_1==rNum/rDen))*.4]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td style="border-bottom: 1px solid black">{_0}</td>
      </tr><tr> <td>{_1}</td>
        </tr>
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[Correct, there {isAre}&nbsp;<strong>{ans} possible totals of&nbsp;</strong><strong>{roll}</strong>&nbsp;on two six-sided dice.&nbsp; The probability is \(\frac{{num}}{den}}\).
<p dir="ltr" style="text-align: left;">{FB}</p>
<p dir="ltr" style="text-align: left;">{FB2}</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p><p dir="ltr" style="text-align: left;">{FB}</p><p dir="ltr" style="text-align: left;">There {isAre}&nbsp;<strong>{ans} possible totals of&nbsp;</strong><strong>{roll}</strong>&nbsp;on two six-sided dice.&nbsp; The probability is \(\frac{{num}}{{den}}\).<br></p><p dir="ltr" style="text-align: left;">{FB2}</p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361417  -->
  <question type="formulas">
    <name>
      <text>TL65- Probability-2-dice-roll EQ a number</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="75" height="75" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll two six sided dice.&nbsp; One of the dice is {color1} and the <br>other is {color2}.&nbsp; What is the probability of rolling a total of {roll}?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[roll={1,2,3,4,5,6,7,8,9,10,11,12};
colors=shuffle(["red","green","blue","orange","white","black","purple","brown","pink"]);]]></text>
</varsrandom>
<varsglobal><text><![CDATA[color1=colors[0];
color2=colors[1];
sides=36;
ans=0;
FB="";
for (i:[1:7]) {
  for (j:[1:7]){
   ans=((i+j)==roll)?ans+1:ans;
   FB=pick((i+j)==roll,FB,join("",FB,"Rolling a ",i," on the ",color1," die and a ",j," on the ",color2," die  results in a ",i+j," total roll. <br>"));
  }
}
num=ans;
den=36;
GCF=gcd(num,den);
rNum=num/GCF;
rDen=den/GCF;
FB2=pick(GCF==1,join("","<b>Reduce the fraction.</b> \\(\\frac{",num,"}{",den,"}\\) reduces to \\(\\frac{",rNum,"}{",rDen,"}\\)"),"");
isAre=pick(ans==1,"are","is");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[rNum,rDen]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[(_0/_1==rNum/rDen)*.6 + ((gcd(_0,_1)==1)&&(_0/_1==rNum/rDen))*.4]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td style="border-bottom: 1px solid black">{_0}</td>
      </tr><tr> <td>{_1}</td>
        </tr>
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, there {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);"><strong>{ans} possible totals of&nbsp;</strong></span><strong>{roll}</strong> on two six-sided dice.&nbsp; The probability is \(\frac{{num}}{{den}}\).</p><p dir="ltr" style="text-align: left;">{FB}</p><p dir="ltr" style="text-align: left;">{FB2}</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p><p dir="ltr" style="text-align: left;">{FB}</p><p dir="ltr" style="text-align: left;">There {isAre}&nbsp;<strong>{ans} possible totals of&nbsp;</strong><strong>{roll}</strong>&nbsp;on two six-sided dice.&nbsp; The probability is \(\frac{{num}}{den}\).<br></p><p dir="ltr" style="text-align: left;">{FB2}</p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361410  -->
  <question type="formulas">
    <name>
      <text>TL65- Probability-2-dice-roll GT a number</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="75" height="75" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll two six sided dice.&nbsp; One of the dice is {color1} and the <br>other is {color2}.&nbsp; What is the probability of rolling a total greater than {roll}?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[roll={1,2,3,4,5,6,7,8,9,10,11,12};
colors=shuffle(["red","green","blue","orange","white","black","purple","brown","pink"]);]]></text>
</varsrandom>
<varsglobal><text><![CDATA[color1=colors[0];
color2=colors[1];
sides=36;
ans=0;
FB="";
for (i:[1:7]) {
  for (j:[1:7]){
   ans=((i+j)>roll)?ans+1:ans;
   FB=pick((i+j)>roll,FB,join("",FB,"Rolling a ",i," on the ",color1," die and a ",j," on the ",color2," die  results in a ",i+j," total roll.  This is greater than ",roll,".<br> "));
  }
}
num=ans;
den=36;
GCF=gcd(num,den);
rNum=num/GCF;
rDen=den/GCF;
FB2=pick(GCF==1,join("","<b>Reduce the fraction.</b> \\(\\frac{",num,"}{",den,"}\\) reduces to \\(\\frac{",rNum,"}{",rDen,"}\\)"),"");
isAre=pick(ans==1,"are","is");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[rNum,rDen]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[(_0/_1==rNum/rDen)*.6 + ((gcd(_0,_1)==1)&&(_0/_1==rNum/rDen))*.4]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td style="border-bottom: 1px solid black">{_0}</td>
      </tr><tr> <td>{_1}</td>
        </tr>
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, there {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);"><strong>{ans} possible totals greater than&nbsp;</strong></span><strong>{roll}</strong> on two six-sided dice.&nbsp; The probability is \(\frac{{num}}{{den}}\).</p><p dir="ltr" style="text-align: left;">{FB}</p><p dir="ltr" style="text-align: left;">{FB2}</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p><p dir="ltr" style="text-align: left;">{FB}</p><p dir="ltr" style="text-align: left;">There {isAre}&nbsp;<strong>{ans} possible totals of&nbsp;</strong><strong>{roll}</strong>&nbsp;on two six-sided dice.&nbsp; The probability is \(\frac{{num}}{{den}}\).<br></p><p dir="ltr" style="text-align: left;">{FB2}</p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361418  -->
  <question type="formulas">
    <name>
      <text>TL65- Probability-2-dice-roll GT a number</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="75" height="75" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll two six sided dice.&nbsp; One of the dice is {color1} and the <br>other is {color2}.&nbsp; What is the probability of rolling a total greater than {roll}?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[roll={1,2,3,4,5,6,7,8,9,10,11,12};
colors=shuffle(["red","green","blue","orange","white","black","purple","brown","pink"]);]]></text>
</varsrandom>
<varsglobal><text><![CDATA[color1=colors[0];
color2=colors[1];
sides=36;
ans=0;
FB="";
for (i:[1:7]) {
  for (j:[1:7]){
   ans=((i+j)>roll)?ans+1:ans;
   FB=pick((i+j)>roll,FB,join("",FB,"Rolling a ",i," on the ",color1," die and a ",j," on the ",color2," die  results in a ",i+j," total roll.  This is greater than ",roll,".<br> "));
  }
}
num=ans;
den=36;
GCF=gcd(num,den);
rNum=num/GCF;
rDen=den/GCF;
FB2=pick(GCF==1,join("","<b>Reduce the fraction.</b> \\(\\frac{",num,"}{",den,"}\\) reduces to \\(\\frac{",rNum,"}{",rDen,"}\\)"),"");
isAre=pick(ans==1,"are","is");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[rNum,rDen]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[(_0/_1==rNum/rDen)*.6 + ((gcd(_0,_1)==1)&&(_0/_1==rNum/rDen))*.4]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td style="border-bottom: 1px solid black">{_0}</td>
      </tr><tr> <td>{_1}</td>
        </tr>
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, there {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);"><strong>{ans} possible totals greater than&nbsp;</strong></span><strong>{roll}</strong> on two six-sided dice.&nbsp; The probability is \(\frac{{num}}{{den}}\).</p><p dir="ltr" style="text-align: left;">{FB}</p><p dir="ltr" style="text-align: left;">{FB2}</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p><p dir="ltr" style="text-align: left;">{FB}</p><p dir="ltr" style="text-align: left;">There {isAre}&nbsp;<strong>{ans} possible totals greater than&nbsp;</strong><strong>{roll}</strong>&nbsp;on two six-sided dice.&nbsp; The probability is \(\frac{{num}}{den}\).<br></p><p dir="ltr" style="text-align: left;">{FB2}</p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361411  -->
  <question type="formulas">
    <name>
      <text>TL65- Probability-2-dice-roll LT a number</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="75" height="75" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll two six sided dice.&nbsp; One of the dice is {color1} and the <br>other is {color2}.&nbsp; What is the probability of rolling a total less than {roll}?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[roll={1,2,3,4,5,6,7,8,9,10,11,12};
colors=shuffle(["red","green","blue","orange","white","black","purple","brown","pink"]);]]></text>
</varsrandom>
<varsglobal><text><![CDATA[color1=colors[0];
color2=colors[1];
sides=36;
ans=0;
FB="";
for (i:[1:7]) {
  for (j:[1:7]){
   ans=((i+j)<roll)?ans+1:ans;
   FB=pick((i+j)<roll,FB,join("",FB,"Rolling a ",i," on the ",color1," die and a ",j," on the ",color2," die  results in a ",i+j," total roll.  This is less than ",roll,".<br> "));
  }
}
num=ans;
den=36;
GCF=gcd(num,den);
rNum=num/GCF;
rDen=den/GCF;
FB2=pick(GCF==1,join("","<b>Reduce the fraction.</b> \\(\\frac{",num,"}{",den,"}\\) reduces to \\(\\frac{",rNum,"}{",rDen,"}\\)"),"");
isAre=pick(ans==1,"are","is");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[rNum,rDen]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[(_0/_1==rNum/rDen)*.6 + ((gcd(_0,_1)==1)&&(_0/_1==rNum/rDen))*.4]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td style="border-bottom: 1px solid black">{_0}</td>
      </tr><tr> <td>{_1}</td>
        </tr>
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, there {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);"><strong>{ans} possible totals less than&nbsp;</strong></span><strong>{roll}</strong> on two six-sided dice.&nbsp; The probability is \(\frac{{num}}{{den}}\).</p><p dir="ltr" style="text-align: left;">{FB}</p><p dir="ltr" style="text-align: left;">{FB2}</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p><p dir="ltr" style="text-align: left;">{FB}</p><p dir="ltr" style="text-align: left;">There {isAre}&nbsp;<strong>{ans} possible totals of&nbsp;</strong><strong>{roll}</strong>&nbsp;on two six-sided dice.&nbsp; The probability is \(\frac{{num}}{{den}}\).<br></p><p dir="ltr" style="text-align: left;">{FB2}</p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361419  -->
  <question type="formulas">
    <name>
      <text>TL65- Probability-2-dice-roll LT a number</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table><tbody><tr><td><img src="https://thecoopcoach.com/mathcourse/dice.png" alt="photo of two dice" width="75" height="75" role="presentation" class="img-fluid atto_image_button_text-bottom"></td><td>You roll two six sided dice.&nbsp; One of the dice is {color1} and the <br>other is {color2}.&nbsp; What is the probability of rolling a total less than {roll}?</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[roll={1,2,3,4,5,6,7,8,9,10,11,12};
colors=shuffle(["red","green","blue","orange","white","black","purple","brown","pink"]);]]></text>
</varsrandom>
<varsglobal><text><![CDATA[color1=colors[0];
color2=colors[1];
sides=36;
ans=0;
FB="";
for (i:[1:7]) {
  for (j:[1:7]){
   ans=((i+j)<roll)?ans+1:ans;
   FB=pick((i+j)<roll,FB,join("",FB,"Rolling a ",i," on the ",color1," die and a ",j," on the ",color2," die  results in a ",i+j," total roll.  This is less than ",roll,".<br> "));
  }
}
num=ans;
den=36;
GCF=gcd(num,den);
rNum=num/GCF;
rDen=den/GCF;
FB2=pick(GCF==1,join("","<b>Reduce the fraction.</b> \\(\\frac{",num,"}{",den,"}\\) reduces to \\(\\frac{",rNum,"}{",rDen,"}\\)"),"");
isAre=pick(ans==1,"are","is");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[rNum,rDen]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[(_0/_1==rNum/rDen)*.6 + ((gcd(_0,_1)==1)&&(_0/_1==rNum/rDen))*.4]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<table>
    <tbody>
        <tr>
            <td style="border-bottom: 1px solid black">{_0}</td>
      </tr><tr> <td>{_1}</td>
        </tr>
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, there {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);"><strong>{ans} possible totals less than&nbsp;</strong></span><strong>{roll}</strong> on two six-sided dice.&nbsp; The probability is \(\frac{{num}}{{den}}\).</p><p dir="ltr" style="text-align: left;">{FB}</p><p dir="ltr" style="text-align: left;">{FB2}</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p><p dir="ltr" style="text-align: left;">{FB}</p><p dir="ltr" style="text-align: left;">There {isAre}&nbsp;<strong>{ans} possible totals less than&nbsp;</strong><strong>{roll}</strong>&nbsp;on two six-sided dice.&nbsp; The probability is \(\frac{{num}}{den}\).<br></p><p dir="ltr" style="text-align: left;">{FB2}</p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test #9/L65- Probability/L65-Letters</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361422  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-ALGEBRA</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[What is the probability of randomly picking a <strong>{=ques[randQues]}</strong> from the word <strong>{word}</strong>?]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>randQues={0:7:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[word="algebra";
numLetters=7;
ques=["letter a","letter l","letter g","letter e","letter b","letter r","letter s","vowel","consonant"];

quesAns=[2,1,1,1,1,1,0,3,4];
ans=quesAns[randQues];
choices=[join("","\\(\\frac{0}{7}\\)"),join("","\\(\\frac{1}{7}\\)"),join("","\\(\\frac{2}{7}\\)"),join("","\\(\\frac{3}{7}\\)"),join("","\\(\\frac{4}{7}\\)"),join("","\\(\\frac{5}{7}\\)"),join("","\\(\\frac{6}{7}\\)"),join("","\\(\\frac{7}{7}\\)")];
isAre=pick((ans>1)||(ans==0),"is","are");
s=pick((ans>1)||(ans==0),"","s");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, the probability of picking<span class="" style="color: rgb(255, 51, 102);"><strong>&nbsp;</strong></span><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\)<span style="font-size: 0.9375rem;">.&nbsp; There {isAre} </span><span class="" style="font-size: 0.9375rem; color: rgb(255, 51, 102);">{ans}</span><span style="font-size: 0.9375rem;"> </span><strong style="font-size: 0.9375rem;">{=ques[randQues]}</strong><span style="font-size: 0.9375rem;">{s} out of </span><span class="" style="font-size: 0.9375rem; color: rgb(51, 102, 255);">{numLetters}</span><span style="font-size: 0.9375rem;"> letters.</span></p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p>
<p dir="ltr" style="text-align: left;">The probability of picking<strong>&nbsp;</strong><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);">{ans}</span>&nbsp;<strong>{=ques[randQues]}</strong>{s} out of&nbsp;<span class="" style="color: rgb(51, 102, 255);">{numLetters}</span>&nbsp;letters.<br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361423  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-Engineer</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[What is the probability of randomly picking a <strong>{=ques[randQues]}</strong> from the word <strong>{word}</strong>?]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>randQues={0:7:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[word="Engineer";
numLetters=8;
ques=["letter e","letter n","letter g","letter i","letter t","letter s","letter a","vowel","consonant"];

quesAns=[3,2,1,1,0,0,0,4,4];
ans=quesAns[randQues];
choices=fill(9,"");
for (i:[0:9]){
choices[i]=join("","\\(\\frac{",i,"}{",numLetters,"}\\)");
}
isAre=pick((ans>1)||(ans==0),"is","are");
s=pick((ans>1)||(ans==0),"","s");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, the probability of picking<span class="" style="color: rgb(255, 51, 102);"><strong>&nbsp;</strong></span><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre} <span class="" style="color: rgb(255, 51, 102);">{ans}</span> <strong>{=ques[randQues]}</strong>{s} out of <span class="" style="color: rgb(51, 102, 255);">{numLetters}</span> letters.</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p>
<p dir="ltr" style="text-align: left;">The probability of picking<strong>&nbsp;</strong><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);">{ans}</span>&nbsp;<strong>{=ques[randQues]}</strong>{s} out of&nbsp;<span class="" style="color: rgb(51, 102, 255);">{numLetters}</span>&nbsp;letters.<br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361429  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-expressions</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[What is the probability of randomly picking a <strong>{=ques[randQues]}</strong> from the word <strong>{word}</strong>?]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>randQues={0:7:1};
randCh=shuffle([0,1,2,3,4,5,6,7]);</text>
</varsrandom>
<varsglobal><text><![CDATA[word="expression";
numLetters=10;
ques=["letter e","letter n","letter x","letter i","letter o","letter s","letter a","vowel","consonant"];

quesAns=[2,1,1,1,1,2,0,4,6];
ans=quesAns[randQues];
choice=fill(8,"");
for (i:[0:8]){
GCF=gcd(i,numLetters);
num=i/GCF;
den=numLetters/GCF;
choice[i]=join("","\\(\\frac{",num,"}{",den,"}\\)");
}
choices=[choice[randCh[0]],choice[randCh[1]],choice[randCh[2]],choice[randCh[3]],choice[randCh[4]],choice[randCh[5]],choice[randCh[6]],choice[randCh[7]]];
isAre=pick((ans>1)||(ans==0),"is","are");
s=pick((ans>1)||(ans==0),"","s");
GCFA=gcd(ans,numLetters);
numA=ans/GCFA;
denA=numLetters/GCFA;
FB=pick(GCFA==1,join("","<br>Reduce the answer. \\(\\frac{",ans,"}{",numLetters,"}\\) = \\(\\frac{",numA,"}{",denA,"}\\)"),"");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randCh[_0]==ans</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, the probability of picking<span class="" style="color: rgb(255, 51, 102);"><strong>&nbsp;</strong></span><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre} <span class="" style="color: rgb(255, 51, 102);">{ans}</span> <strong>{=ques[randQues]}</strong>{s} out of <span class="" style="color: rgb(51, 102, 255);">{numLetters}</span> letters. {FB}</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p>
<p dir="ltr" style="text-align: left;">The probability of picking<strong>&nbsp;</strong><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);">{ans}</span>&nbsp;<strong>{=ques[randQues]}</strong>{s} out of&nbsp;<span class="" style="color: rgb(51, 102, 255);">{numLetters}</span>&nbsp;letters.<br></p><p dir="ltr" style="text-align: left;">{FB}</p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361421  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-FRIENDS-words</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[What is the probability of randomly picking a <strong>{=ques[randQues]}</strong> from the word <strong>{word}</strong>?]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>randQues={0:7:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[word="friends";
numLetters=7;
ques=["letter f","letter r","letter i","letter e","letter n","letter d","letter s","vowel","consonant"];

quesAns=[1,1,1,1,1,1,1,2,5];
ans=quesAns[randQues];
choices=[join("","\\(\\frac{0}{7}\\)"),join("","\\(\\frac{1}{7}\\)"),join("","\\(\\frac{2}{7}\\)"),join("","\\(\\frac{3}{7}\\)"),join("","\\(\\frac{4}{7}\\)"),join("","\\(\\frac{5}{7}\\)"),join("","\\(\\frac{6}{7}\\)"),join("","\\(\\frac{7}{7}\\)")];
isAre=pick((ans>1)||(ans==0),"is","are");
s=pick((ans>1)||(ans==0),"","s");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, the probability of picking<span class="" style="color: rgb(255, 51, 102);"><strong>&nbsp;</strong></span><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\)<span style="font-size: 0.9375rem;">.&nbsp; There {isAre} </span><span class="" style="font-size: 0.9375rem; color: rgb(255, 51, 102);">{ans}</span><span style="font-size: 0.9375rem;"> </span><strong style="font-size: 0.9375rem;">{=ques[randQues]}</strong><span style="font-size: 0.9375rem;">{s} out of </span><span class="" style="font-size: 0.9375rem; color: rgb(51, 102, 255);">{numLetters}</span><span style="font-size: 0.9375rem;"> letters.</span></p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p>
<p dir="ltr" style="text-align: left;">The probability of picking<strong>&nbsp;</strong><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);">{ans}</span>&nbsp;<strong>{=ques[randQues]}</strong>{s} out of&nbsp;<span class="" style="color: rgb(51, 102, 255);">{numLetters}</span>&nbsp;letters.<br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361426  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-Mathematician</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[What is the probability of randomly picking a <strong>{=ques[randQues]}</strong> from the word <strong>{word}</strong>?]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>randQues={0:7:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[word="Mathematician";
numLetters=13;
ques=["letter m","letter n","letter e","letter i","letter t","letter s","letter a","vowel","consonant"];

quesAns=[2,1,1,2,2,0,3,6,7];
ans=quesAns[randQues];
choices=fill(8,"");
for (i:[0:8]){
choices[i]=join("","\\(\\frac{",i,"}{",numLetters,"}\\)");
}
isAre=pick((ans>1)||(ans==0),"is","are");
s=pick((ans>1)||(ans==0),"","s");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, the probability of picking<span class="" style="color: rgb(255, 51, 102);"><strong>&nbsp;</strong></span><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre} <span class="" style="color: rgb(255, 51, 102);">{ans}</span> <strong>{=ques[randQues]}</strong>{s} out of <span class="" style="color: rgb(51, 102, 255);">{numLetters}</span> letters.</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p>
<p dir="ltr" style="text-align: left;">The probability of picking<strong>&nbsp;</strong><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);">{ans}</span>&nbsp;<strong>{=ques[randQues]}</strong>{s} out of&nbsp;<span class="" style="color: rgb(51, 102, 255);">{numLetters}</span>&nbsp;letters.<br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361427  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-Mathematician-REDUCED</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[What is the probability of randomly picking a <strong>{=ques[randQues]}</strong> from the word <strong>{word}</strong>?]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>randQues={0:7:1};
randCh=shuffle([0,1,2,3,4,5,6,7]);</text>
</varsrandom>
<varsglobal><text><![CDATA[word="Mathematician";
numLetters=13;
ques=["letter m","letter n","letter e","letter i","letter t","letter s","letter a","vowel","consonant"];

quesAns=[2,1,1,2,2,0,3,6,7];
ans=quesAns[randQues];
choice=fill(8,"");
for (i:[0:8]){
GCF=gcd(i,numLetters);
num=i/GCF;
den=numLetters/GCF;
choice[i]=join("","\\(\\frac{",num,"}{",den,"}\\)");
}
choices=[choice[randCh[0]],choice[randCh[1]],choice[randCh[2]],choice[randCh[3]],choice[randCh[4]],choice[randCh[5]],choice[randCh[6]],choice[randCh[7]]];
isAre=pick((ans>1)||(ans==0),"is","are");
s=pick((ans>1)||(ans==0),"","s");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randCh[_0]==ans</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, the probability of picking<span class="" style="color: rgb(255, 51, 102);"><strong>&nbsp;</strong></span><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre} <span class="" style="color: rgb(255, 51, 102);">{ans}</span> <strong>{=ques[randQues]}</strong>{s} out of <span class="" style="color: rgb(51, 102, 255);">{numLetters}</span> letters.</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p>
<p dir="ltr" style="text-align: left;">The probability of picking<strong>&nbsp;</strong><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);">{ans}</span>&nbsp;<strong>{=ques[randQues]}</strong>{s} out of&nbsp;<span class="" style="color: rgb(51, 102, 255);">{numLetters}</span>&nbsp;letters.<br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361428  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-polynomial</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[What is the probability of randomly picking a <strong>{=ques[randQues]}</strong> from the word <strong>{word}</strong>?]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>randQues={0:7:1};
randCh=shuffle([0,1,2,3,4,5,6,7]);</text>
</varsrandom>
<varsglobal><text><![CDATA[word="polynomial";
numLetters=10;
ques=["letter m","letter n","letter l","letter i","letter o","letter s","letter a","vowel","consonant"];

quesAns=[1,1,2,1,2,0,1,4,6];
ans=quesAns[randQues];
choice=fill(8,"");
for (i:[0:8]){
GCF=gcd(i,numLetters);
num=i/GCF;
den=numLetters/GCF;
choice[i]=join("","\\(\\frac{",num,"}{",den,"}\\)");
}
choices=[choice[randCh[0]],choice[randCh[1]],choice[randCh[2]],choice[randCh[3]],choice[randCh[4]],choice[randCh[5]],choice[randCh[6]],choice[randCh[7]]];
isAre=pick((ans>1)||(ans==0),"is","are");
s=pick((ans>1)||(ans==0),"","s");
GCFA=gcd(ans,numLetters);
numA=ans/GCFA;
denA=numLetters/GCFA;
FB=pick(GCFA==1,join("","<br>Reduce the answer. \\(\\frac{",ans,"}{",numLetters,"}\\) = \\(\\frac{",numA,"}{",denA,"}\\)"),"");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randCh[_0]==ans</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, the probability of picking<span class="" style="color: rgb(255, 51, 102);"><strong>&nbsp;</strong></span><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre} <span class="" style="color: rgb(255, 51, 102);">{ans}</span> <strong>{=ques[randQues]}</strong>{s} out of <span class="" style="color: rgb(51, 102, 255);">{numLetters}</span> letters. {FB}</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p>
<p dir="ltr" style="text-align: left;">The probability of picking<strong>&nbsp;</strong><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);">{ans}</span>&nbsp;<strong>{=ques[randQues]}</strong>{s} out of&nbsp;<span class="" style="color: rgb(51, 102, 255);">{numLetters}</span>&nbsp;letters.<br></p><p dir="ltr" style="text-align: left;">{FB}</p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361425  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-Quadrilateral</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[What is the probability of randomly picking a <strong>{=ques[randQues]}</strong> from the word <strong>{word}</strong>?]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>randQues={0:7:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[word="Quadrilateral";
numLetters=13;
ques=["letter e","letter n","letter q","letter i","letter t","letter s","letter a","vowel","consonant"];

quesAns=[1,0,1,1,1,0,3,6,7];
ans=quesAns[randQues];
choices=fill(8,"");
for (i:[0:8]){
choices[i]=join("","\\(\\frac{",i,"}{",numLetters,"}\\)");
}
isAre=pick((ans>1)||(ans==0),"is","are");
s=pick((ans>1)||(ans==0),"","s");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, the probability of picking<span class="" style="color: rgb(255, 51, 102);"><strong>&nbsp;</strong></span><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre} <span class="" style="color: rgb(255, 51, 102);">{ans}</span> <strong>{=ques[randQues]}</strong>{s} out of <span class="" style="color: rgb(51, 102, 255);">{numLetters}</span> letters.</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p>
<p dir="ltr" style="text-align: left;">The probability of picking<strong>&nbsp;</strong><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);">{ans}</span>&nbsp;<strong>{=ques[randQues]}</strong>{s} out of&nbsp;<span class="" style="color: rgb(51, 102, 255);">{numLetters}</span>&nbsp;letters.<br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361424  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-sequence</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[What is the probability of randomly picking a <strong>{=ques[randQues]}</strong> from the word <strong>{word}</strong>?]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>randQues={0:7:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[word="sequence";
numLetters=8;
ques=["letter e","letter n","letter q","letter i","letter t","letter s","letter a","vowel","consonant"];

quesAns=[3,1,1,0,0,1,0,3,5];
ans=quesAns[randQues];
choices=fill(9,"");
for (i:[0:9]){
choices[i]=join("","\\(\\frac{",i,"}{",numLetters,"}\\)");
}
isAre=pick((ans>1)||(ans==0),"is","are");
s=pick((ans>1)||(ans==0),"","s");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, the probability of picking<span class="" style="color: rgb(255, 51, 102);"><strong>&nbsp;</strong></span><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre} <span class="" style="color: rgb(255, 51, 102);">{ans}</span> <strong>{=ques[randQues]}</strong>{s} out of <span class="" style="color: rgb(51, 102, 255);">{numLetters}</span> letters.</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p>
<p dir="ltr" style="text-align: left;">The probability of picking<strong>&nbsp;</strong><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);">{ans}</span>&nbsp;<strong>{=ques[randQues]}</strong>{s} out of&nbsp;<span class="" style="color: rgb(51, 102, 255);">{numLetters}</span>&nbsp;letters.<br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361430  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-Spinner</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[A spinner is used in a game.&nbsp; Determine the probability of landing on a&nbsp;<strong>{randSpin}</strong>&nbsp;on the next spin.&nbsp;<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'0',name:'',showInfobox:false});
    var pa=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:'',showInfobox:false});
    var pb=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:'',showInfobox:false});
    var pc=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:'',showInfobox:false});
    var pd=board.create('point',[{Xd},{Yd}],{fixed:true,size:'0',name:'',showInfobox:false});
    var s1=board.create('sector',[po,pa,pb],{fillColor: 'yellow', strokeColor: 'black'});
    var s2=board.create('sector',[po,pb,pc],{fillColor: 'green', strokeColor: 'black'});
    var s1=board.create('sector',[po,pc,pd],{fillColor: 'blue', strokeColor: 'black'});
    var s2=board.create('sector',[po,pd,pa],{fillColor: 'purple', strokeColor: 'black'});
    var tRadius=board.create('text',[0.5,0.5,"1"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
    var tRadius=board.create('text',[-0.5,0.5,"2"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
    var tRadius=board.create('text',[0.5,-0.5,"3"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
    var tRadius=board.create('text',[-0.5,-0.5,"4"],{fixed:true,anchorX:'middle',anchorY:'middle',fontSize: 20});
    var spinner=board.create('line',[[{Xn},{Yn}],[-1*{Xn},-1*{Yn}]],{straightFirst:false,straightLast:false,lastArrow:true, strokeColor: 'black'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>randSpin={1,2,3,4};
randCh=shuffle([0,1,2,3]);
angleN={.1:1.5,1.6:3,3.25:4.6,4.8:6.2};
</text>
</varsrandom>
<varsglobal><text><![CDATA[Xn=cos(angleN)/2;
Yn=sin(angleN)/2;
sections=4;
Xa=1;
Ya=0;
factor=(2*pi()) * sections-1;
Xb=0;
Yb=1;
Xc=-1;
Yc=0;
Xd=0;
Yd=-1;
ans=1;
#Change ending number to number of sections
choice=fill(4,"");
for (i:[0:4]){
GCF=gcd(i,sections);
num=i/GCF;
den=sections/GCF;
choice[i]=join("","\\(\\frac{",num,"}{",den,"}\\)");
}
choices=[choice[randCh[0]],choice[randCh[1]],choice[randCh[2]],choice[randCh[3]]];
isAre=pick((ans>1)||(ans==0),"is","are");
s=pick((ans>1)||(ans==0),"","s");



]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>randCh[_0]==ans</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, the probability of landing on a&nbsp;<span class="" style="color: rgb(255, 51, 102);"><strong></strong></span><strong>{randSpin} </strong>&nbsp;for the next spin is \(\frac{{ans}}{{sections}}\).&nbsp;&nbsp;</p><p dir="ltr" style="text-align: left;">There {isAre} {ans} section to&nbsp;land on a&nbsp;<span><strong></strong></span><strong>{randSpin}.</strong></p><p dir="ltr" style="text-align: left;">There are&nbsp;<span class="" style="color: rgb(51, 102, 255);">{sections}</span> sections on the spinner.&nbsp;&nbsp;</p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p>
<p dir="ltr" style="text-align: left;">T<span style="font-size: 0.9375rem;">he probability of landing on a&nbsp;</span><span style="font-size: 0.9375rem;"><strong></strong></span><strong style="font-size: 0.9375rem;">{randSpin}&nbsp;</strong><span style="font-size: 0.9375rem;">&nbsp;for the next spin is \(\frac{{ans}}{{sections}}\).&nbsp;&nbsp;</span></p><p dir="ltr">There {isAre} {ans} section to&nbsp;land on a&nbsp;<span><strong></strong></span><strong>{randSpin}.</strong></p><p dir="ltr">There are&nbsp;<span>{sections}</span>&nbsp;sections on the spinner.&nbsp;&nbsp;</p><br><p></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361420  -->
  <question type="formulas">
    <name>
      <text>L65- Probability-STUDENT-words</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[What is the probability of randomly picking a<strong> {=ques[randQues]}</strong> from the word <strong>{word}</strong>?]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text>randQues={0:7:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[word="student";
numLetters=7;
letterA=["s","t","u","d","e","n","t"];
ques=["letter s","letter t","letter u","letter d","letter e","letter n","letter m","vowel","consonant"];

quesAns=[1,2,1,1,1,1,0,2,5];
ans=quesAns[randQues];
choices=[join("","\\(\\frac{0}{7}\\)"),join("","\\(\\frac{1}{7}\\)"),join("","\\(\\frac{2}{7}\\)"),join("","\\(\\frac{3}{7}\\)"),join("","\\(\\frac{4}{7}\\)"),join("","\\(\\frac{5}{7}\\)"),join("","\\(\\frac{6}{7}\\)"),join("","\\(\\frac{7}{7}\\)")];
isAre=pick((ans>1)||(ans==0),"is","are");
s=pick((ans>1)||(ans==0),"","s");]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">{_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Correct, the probability of picking<span class="" style="color: rgb(255, 51, 102);"><strong>&nbsp;</strong></span><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\)<span style="font-size: 0.9375rem;">.&nbsp; There {isAre} </span><span class="" style="font-size: 0.9375rem; color: rgb(255, 51, 102);">{ans}</span><span style="font-size: 0.9375rem;"> </span><strong style="font-size: 0.9375rem;">{=ques[randQues]}</strong><span style="font-size: 0.9375rem;">{s} out of </span><span class="" style="font-size: 0.9375rem; color: rgb(51, 102, 255);">{numLetters}</span><span style="font-size: 0.9375rem;"> letters.</span></p>]]></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Your answer is incorrect.</p>
<p dir="ltr" style="text-align: left;">The probability of picking<strong>&nbsp;</strong><strong></strong>{=ques[randQues]} from the word {word} is \(\frac{{ans}}{{numLetters}}\).&nbsp; There {isAre}&nbsp;<span class="" style="color: rgb(255, 51, 102);">{ans}</span>&nbsp;<strong>{=ques[randQues]}</strong>{s} out of&nbsp;<span class="" style="color: rgb(51, 102, 255);">{numLetters}</span>&nbsp;letters.<br></p>]]></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test #9/L66- Circles - Circumference and Area/L66- circle formulas and radius diameter conversions</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361451  -->
  <question type="formulas">
    <name>
      <text>L66-Given diameter- give radius</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:''});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'2',name:''});
    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'2',name:''});
    var radius=board.create('line',[pr2,pr],{straightFirst:false,straightLast:false});
    var c1=board.create('circle',[po,pr]);
    var tRadius=board.create('text',[0.1,0.1,"{diameter} {unit}"],{fixed:true,anchorX:'middle',anchorY:'middle'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[diameter=2*radius;
units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;
supAngle=angle+pi();
Xb=cos(supAngle);
Yb=sin(supAngle);]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[radius,0]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Find the radius of the circle.&nbsp; (use 3.14 for π)</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
{_0}{_1:units:MCE}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361458  -->
  <question type="formulas">
    <name>
      <text>L66-Given diameter- give radius</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:''});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'2',name:''});
    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'2',name:''});
    var radius=board.create('line',[pr2,pr],{straightFirst:false,straightLast:false});
    var c1=board.create('circle',[po,pr]);
    var tRadius=board.create('text',[0.1,0.1,"{diameter} {unit}"],{fixed:true,anchorX:'middle',anchorY:'middle'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[diameter=2*radius;
units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;
supAngle=angle+pi();
Xb=cos(supAngle);
Yb=sin(supAngle);]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[radius,0]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Find the radius of the circle.&nbsp; (use 3.14 for π)</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
{_0}{_1:units:MCE}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361452  -->
  <question type="formulas">
    <name>
      <text>L66-Given radius- find diameter</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:''});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'2',name:''});
    var radius=board.create('line',[po,pr],{straightFirst:false,straightLast:false});
    var c1=board.create('circle',[po,pr]);
    var tRadius=board.create('text',[{Xa}/2,{Ya}/2,"{radius} {unit}"],{fixed:true,anchorX:'middle',anchorY:'middle'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[radius*2,0]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Find the diameter of the circle.&nbsp; (use 3.14 for π)</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
{_0}{_1:units:MCE}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361459  -->
  <question type="formulas">
    <name>
      <text>L66-Given radius- find diameter</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:''});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'2',name:''});
    var radius=board.create('line',[po,pr],{straightFirst:false,straightLast:false});
    var c1=board.create('circle',[po,pr]);
    var tRadius=board.create('text',[{Xa}/2,{Ya}/2,"{radius} {unit}"],{fixed:true,anchorX:'middle',anchorY:'middle'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>2</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[radius*2,0]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.001]]></text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Find the diameter of the circle.&nbsp; (use 3.14 for π)</p>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
    /*
                                  actualWidth    width of the input
                                  checkWidth     width at which the box becomes wider
                                  defaultWidth   default width of the box
                                  c, ctx             see https://www.w3schools.com/tags/canvas_measuretext.asp
                                  size               size of the font w/ px, e.g. '14 px'
                                                       note that the size of the font can be defined in any units,
                                                      e.g. small, medium, xx-large, 150%, 1.25cm, 22px
                                                      since it is always transformed into px units
                                  sizeN              size of the font w/o px, e.g. '14'
                                  family            family of the font, eg. "Times New Roman", Times, serif
                                  txt                 text of the input, e.g. '123456'
                */
    var defaultWidth = 30;
    document.write('<canvas id="canvas_1" style="display: none;"></canvas>');

    function newWidth() {
        var txt = $(".formulas_number").val();
        var size = $(".formulas_number").css('font-size');
        var sizeN = Number(size.substring(0, size.length - 2));
        var family = $(".formulas_number").css('font-family');
        var c = document.getElementById("canvas_1");
        var ctx = c.getContext("2d");
        ctx.font = size + " " + family;
        var actualWidth = ctx.measureText(txt).width;
        var checkWidth = defaultWidth - sizeN;
        if (actualWidth >= checkWidth) {
            $(".formulas_number").width(actualWidth + sizeN);
        } else {
            $(".formulas_number").width(defaultWidth);
        }
    }
    $(document).ready(function() {
        $(".formulas_number").css("padding-left", "10px");
        newWidth();
        $(".formulas_number").keyup(function() {
            newWidth();
        });
    });
</script>
{_0}{_1:units:MCE}]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361453  -->
  <question type="formulas">
    <name>
      <text>L66-Identify parts of the circle</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:'',color:'{Corigin}'});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:''});
    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:''});
    var pr3=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:''});
    var radius1=board.create('line',[po,pr3],{straightFirst:false,straightLast:false,strokeColor:'{Cradius}'});
    var radius=board.create('line',[pr2,pr],{straightFirst:false,straightLast:false,strokeColor:'{Cdiameter}'});
    var c1=board.create('circle',[po,pr],{strokeColor:'{Ccir}'});
    
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>4.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
partPi={2:10};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};
colors=shuffle(["red","orange","yellow","green","purple","pink","brown"]);
ans=shuffle([0,1,2,3]);
dis=shuffle([0,1,2,3]);]]></text>
</varsrandom>
<varsglobal><text><![CDATA[dis=[0,1,2,3];
part=["circle","radius","center","diameter"];
diameter=2*radius;
units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;
supAngle=angle+pi();
Xb=cos(supAngle);
Yb=sin(supAngle);
radAngle=angle+pi()/partPi;
Xc=cos(radAngle);
Yc=sin(radAngle);
Corigin=colors[dis[2]];
Cdiameter=colors[dis[3]];
Ccir=colors[dis[0]];
Cradius=colors[dis[1]];
choices=[part[ans[0]],part[ans[1]],part[ans[2]],part[ans[3]]];]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>0</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>(ans[_0]==0)</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Identify the {Ccir} part of the circle:</p>
<table>
    <tbody>
        <tr>
            <td>
                <jsxgraph width="50" height="50">&nbsp;var board1=JXG.JSXGraph.initBoard(BOARDID,{
                    boundingbox:[-1.5,1.5,1.5,-1.5],
                    axis:false,
                    grid:false,
                    showCopyright:false,
                    showNavigation:false,
                    keepaspectratio:true
                    });
                    var po=board1.create('point',[0,0],{fixed:true,size:'0',name:'',color:'{Corigin}'});
                    var pr=board1.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:''});

                    var c1=board1.create('circle',[po,pr],{strokeColor:'{Ccir}'});

                </jsxgraph>
            </td>
            <td>{_0:choices:MCE}</td>
        </tr>
        
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>(ans[_0]==1)</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Identify the {Cradius} part of the circle:</p>
<table>
    <tbody>
        
        <tr>
            <td>
                <jsxgraph width="50" height="50">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
                    boundingbox:[-1.5,1.5,1.5,-1.5],
                    axis:false,
                    grid:false,
                    showCopyright:false,
                    showNavigation:false,
                    keepaspectratio:true
                    });
                    var po=board.create('point',[0,0],{fixed:true,size:'0',name:'',color:'{Corigin}'});
                    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:''});
                    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:''});
                    var pr3=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:''});
                    var radius1=board.create('line',[po,pr3],{straightFirst:false,straightLast:false,strokeColor:'{Cradius}'});

                    var c1=board.create('circle',[po,pr],{strokeColor:'black'});

                </jsxgraph>
            </td>
            <td>{_0:choices:MCE}</td>
        </tr>
        
        
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>2</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>(ans[_0]==2)</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[Identify the {Corigin} part of the circle:<br><table><tbody><tr><td>
                <jsxgraph width="50" height="50">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
                    boundingbox:[-1.5,1.5,1.5,-1.5],
                    axis:false,
                    grid:false,
                    showCopyright:false,
                    showNavigation:false,
                    keepaspectratio:true
                    });
                    var po=board.create('point',[0,0],{fixed:true,size:'2',name:'',color:'{Corigin}'});
                    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:''});
                    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:''});
                    var pr3=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:''});

                    var c1=board.create('circle',[po,pr],{strokeColor:'black'});

                </jsxgraph>
            </td>
            <td>{_0:choices:MCE}</td>
        </tr>
        
   
</tbody></table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>3</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>3</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>(ans[_0]==3)</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[Identify the {Corigin} part of the circle:<table><tbody><tr><td><jsxgraph width="50" height="50">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'0',name:'',color:'{Corigin}'});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:''});
    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:''});
    var pr3=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:''});

    var radius=board.create('line',[pr2,pr],{straightFirst:false,straightLast:false,strokeColor:'{Cdiameter}'});
    var c1=board.create('circle',[po,pr],{strokeColor:'black'});

  </jsxgraph></td><td>{_0:choices:MCE}</td></tr><tr></tr></tbody></table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361455  -->
  <question type="formulas">
    <name>
      <text>L66-Identify parts of the circle (0,1,2,3)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:'',color:'{Corigin}'});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:''});
    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:''});
    var pr3=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:''});
    var radius1=board.create('line',[po,pr3],{straightFirst:false,straightLast:false,strokeColor:'{Cradius}'});
    var radius=board.create('line',[pr2,pr],{straightFirst:false,straightLast:false,strokeColor:'{Cdiameter}'});
    var c1=board.create('circle',[po,pr],{strokeColor:'{Ccir}'});
    
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>4.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
partPi={2:10};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};
colors=shuffle(["red","orange","yellow","green","purple","pink","brown"]);
ans=shuffle([0,1,2,3]);
dis=shuffle([0,1,2,3]);]]></text>
</varsrandom>
<varsglobal><text><![CDATA[dis=[0,1,2,3];
part=["circle","radius","center","diameter"];
diameter=2*radius;
units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;
supAngle=angle+pi();
Xb=cos(supAngle);
Yb=sin(supAngle);
radAngle=angle+pi()/partPi;
Xc=cos(radAngle);
Yc=sin(radAngle);
Corigin=colors[dis[2]];
Cdiameter=colors[dis[3]];
Ccir=colors[dis[0]];
Cradius=colors[dis[1]];
choices=[part[ans[0]],part[ans[1]],part[ans[2]],part[ans[3]]];]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>0</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>(ans[_0]==0)</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Identify the {Ccir} part of the circle:</p>
<table>
    <tbody>
        <tr>
            <td>
                <jsxgraph width="50" height="50">&nbsp;var board1=JXG.JSXGraph.initBoard(BOARDID,{
                    boundingbox:[-1.5,1.5,1.5,-1.5],
                    axis:false,
                    grid:false,
                    showCopyright:false,
                    showNavigation:false,
                    keepaspectratio:true
                    });
                    var po=board1.create('point',[0,0],{fixed:true,size:'0',name:'',color:'{Corigin}'});
                    var pr=board1.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:''});

                    var c1=board1.create('circle',[po,pr],{strokeColor:'{Ccir}'});

                </jsxgraph>
            </td>
            <td>{_0:choices:MCE}</td>
        </tr>
        
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>(ans[_0]==1)</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Identify the {Cradius} part of the circle:</p>
<table>
    <tbody>
        
        <tr>
            <td>
                <jsxgraph width="50" height="50">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
                    boundingbox:[-1.5,1.5,1.5,-1.5],
                    axis:false,
                    grid:false,
                    showCopyright:false,
                    showNavigation:false,
                    keepaspectratio:true
                    });
                    var po=board.create('point',[0,0],{fixed:true,size:'0',name:'',color:'{Corigin}'});
                    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:''});
                    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:''});
                    var pr3=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:''});
                    var radius1=board.create('line',[po,pr3],{straightFirst:false,straightLast:false,strokeColor:'{Cradius}'});

                    var c1=board.create('circle',[po,pr],{strokeColor:'black'});

                </jsxgraph>
            </td>
            <td>{_0:choices:MCE}</td>
        </tr>
        
        
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>2</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>(ans[_0]==2)</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[Identify the {Corigin} part of the circle:<br><table><tbody><tr><td>
                <jsxgraph width="50" height="50">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
                    boundingbox:[-1.5,1.5,1.5,-1.5],
                    axis:false,
                    grid:false,
                    showCopyright:false,
                    showNavigation:false,
                    keepaspectratio:true
                    });
                    var po=board.create('point',[0,0],{fixed:true,size:'2',name:'',color:'{Corigin}'});
                    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:''});
                    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:''});
                    var pr3=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:''});

                    var c1=board.create('circle',[po,pr],{strokeColor:'black'});

                </jsxgraph>
            </td>
            <td>{_0:choices:MCE}</td>
        </tr>
        
   
</tbody></table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>3</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>3</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>(ans[_0]==3)</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[Identify the {Corigin} part of the circle:<table><tbody><tr><td><jsxgraph width="50" height="50">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'0',name:'',color:'{Corigin}'});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:''});
    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:''});
    var pr3=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:''});

    var radius=board.create('line',[pr2,pr],{straightFirst:false,straightLast:false,strokeColor:'{Cdiameter}'});
    var c1=board.create('circle',[po,pr],{strokeColor:'black'});

  </jsxgraph></td><td>{_0:choices:MCE}</td></tr><tr></tr></tbody></table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361454  -->
  <question type="formulas">
    <name>
      <text>L66-Identify parts of the circle (0,3,2,1)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-1.5,1.5,1.5,-1.5],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var po=board.create('point',[0,0],{fixed:true,size:'2',name:'',color:'{Corigin}'});
    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:''});
    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:''});
    var pr3=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:''});
    var radius1=board.create('line',[po,pr3],{straightFirst:false,straightLast:false,strokeColor:'{Cradius}'});
    var radius=board.create('line',[pr2,pr],{straightFirst:false,straightLast:false,strokeColor:'{Cdiameter}'});
    var c1=board.create('circle',[po,pr],{strokeColor:'{Ccir}'});
    
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>4.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[angle={0:6.28:.1};
radius={1:100:1};
partPi={2:10};
unit={"feet","inches","meters","cm","km","mm","yards","miles"};
colors=shuffle(["red","orange","yellow","green","purple","pink","brown"]);
ans=shuffle([0,1,2,3]);
dis=shuffle([0,1,2,3]);]]></text>
</varsrandom>
<varsglobal><text><![CDATA[dis=[0,1,2,3];
part=["circle","radius","center","diameter"];
diameter=2*radius;
units=[unit,join(""," square ",unit),join(""," cubic ",unit)];
Xa=cos(angle);
Ya=sin(angle);
cir=3.14*2*radius;
supAngle=angle+pi();
Xb=cos(supAngle);
Yb=sin(supAngle);
radAngle=angle+pi()/partPi;
Xc=cos(radAngle);
Yc=sin(radAngle);
Corigin=colors[dis[2]];
Cdiameter=colors[dis[3]];
Ccir=colors[dis[0]];
Cradius=colors[dis[1]];
choices=[part[ans[0]],part[ans[1]],part[ans[2]],part[ans[3]]];]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>0</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>(ans[_0]==0)</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Identify the {Ccir} part of the circle:</p>
<table>
    <tbody>
        <tr>
            <td>
                <jsxgraph width="50" height="50">&nbsp;var board1=JXG.JSXGraph.initBoard(BOARDID,{
                    boundingbox:[-1.5,1.5,1.5,-1.5],
                    axis:false,
                    grid:false,
                    showCopyright:false,
                    showNavigation:false,
                    keepaspectratio:true
                    });
                    var po=board1.create('point',[0,0],{fixed:true,size:'0',name:'',color:'{Corigin}'});
                    var pr=board1.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:''});

                    var c1=board1.create('circle',[po,pr],{strokeColor:'{Ccir}'});

                </jsxgraph>
            </td>
            <td>{_0:choices:MCE}</td>
        </tr>
        
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>(ans[_0]==3)</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Identify the {Cdiameter} part of the circle:</p>
<table>
    <tbody>

        <tr>
            <td>
                <jsxgraph width="50" height="50">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
                    boundingbox:[-1.5,1.5,1.5,-1.5],
                    axis:false,
                    grid:false,
                    showCopyright:false,
                    showNavigation:false,
                    keepaspectratio:true
                    });
                    var po=board.create('point',[0,0],{fixed:true,size:'0',name:'',color:'{Corigin}'});
                    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:''});
                    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:''});
                    var pr3=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:''});
                    var radius=board.create('line',[pr2,pr],{straightFirst:false,straightLast:false,strokeColor:'{Cdiameter}'});

                    var c1=board.create('circle',[po,pr],{strokeColor:'black'});

                </jsxgraph>
            </td>
            <td>{_0:choices:MCE}</td>
        </tr>


    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>2</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>(ans[_0]==2)</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[Identify the {Corigin} part of the circle:<br><table><tbody><tr><td>
                <jsxgraph width="50" height="50">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
                    boundingbox:[-1.5,1.5,1.5,-1.5],
                    axis:false,
                    grid:false,
                    showCopyright:false,
                    showNavigation:false,
                    keepaspectratio:true
                    });
                    var po=board.create('point',[0,0],{fixed:true,size:'2',name:'',color:'{Corigin}'});
                    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:''});
                    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:''});
                    var pr3=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:''});

                    var c1=board.create('circle',[po,pr],{strokeColor:'black'});

                </jsxgraph>
            </td>
            <td>{_0:choices:MCE}</td>
        </tr>
        
   
</tbody></table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>3</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>(ans[_0]==1)</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[Identify the {Cradius} part of the circle:<table>
    <tbody>
        <tr>
            <td>
                <jsxgraph width="50" height="50">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
                    boundingbox:[-1.5,1.5,1.5,-1.5],
                    axis:false,
                    grid:false,
                    showCopyright:false,
                    showNavigation:false,
                    keepaspectratio:true
                    });
                    var po=board.create('point',[0,0],{fixed:true,size:'0',name:'',color:'{Corigin}'});
                    var pr=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:''});
                    var pr2=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:''});
                    var pr3=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:''});
							var radius1=board.create('line',[po,pr3],{straightFirst:false,straightLast:false,strokeColor:'{Cradius}'});
                    
                    var c1=board.create('circle',[po,pr],{strokeColor:'black'});

                </jsxgraph>
            </td>
            <td>{_0:choices:MCE}</td>
        </tr>
        <tr></tr>
    </tbody>
</table>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361457  -->
  <question type="gapselect">
    <name>
      <text>L66-Area-Circumference-Formulas</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td>[[2]]=</td>
            <td>\(\pi\) r<sup>2</sup></td>
            <td>&nbsp; &nbsp;[[4]]</td>
        </tr>
        <tr>
            <td>[[1]]=</td>
            <td>2 \( \pi \)r</td>
            <td>&nbsp; &nbsp;[[3]]</td>
        </tr>

    </tbody>
</table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Area of a circle = \(\pi\)r<sup>2</sup>&nbsp; &nbsp;&nbsp;Area is the amount of square units inside of the circle.</p>
<p dir="ltr" style="text-align: left;">Circumference of a circle = 2\(\pi\)r&nbsp; &nbsp; Circumference is the distance around the circle.</p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <shuffleanswers>0</shuffleanswers>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
    <selectoption>
      <text>Circumference</text>
      <group>1</group>
    </selectoption>
    <selectoption>
      <text>Area</text>
      <group>1</group>
    </selectoption>
    <selectoption>
      <text>Calculate the distance around a circle.</text>
      <group>2</group>
    </selectoption>
    <selectoption>
      <text>Calculate the area of the circle.</text>
      <group>2</group>
    </selectoption>
  </question>

<!-- question: 361456  -->
  <question type="gapselect">
    <name>
      <text>L66-Circumference-Area-Formulas</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td>[[1]]=</td>
            <td>2 \(  \pi  \) r</td>
          <td>&nbsp; &nbsp;[[3]]</td>
        </tr>
        <tr>
            <td>[[2]]=</td>
            <td>\(\pi\) r<sup>2</sup></td>
            <td>&nbsp; &nbsp;[[4]]</td>
        </tr>
        
    </tbody>
</table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"></p><p dir="ltr">Area of a circle = \(\pi\)r<sup>2</sup>&nbsp; &nbsp;&nbsp;Area is the amount of square units inside of the circle.</p><p dir="ltr">Circumference of a circle = 2\(\pi\)r&nbsp; &nbsp; Circumference is the distance around the circle.</p><br><p></p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <shuffleanswers>0</shuffleanswers>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
    <selectoption>
      <text>Circumference</text>
      <group>1</group>
    </selectoption>
    <selectoption>
      <text>Area</text>
      <group>1</group>
    </selectoption>
    <selectoption>
      <text>Calculate the distance around a circle.</text>
      <group>2</group>
    </selectoption>
    <selectoption>
      <text>Calculate the area of the circle.</text>
      <group>2</group>
    </selectoption>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test #9/L69- Venn Diagrams</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361469  -->
  <question type="description">
    <name>
      <text>L6900</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"><a href="https://thecoopcoach.com/mathcourse/L6900.mp4">https://thecoopcoach.com/mathcourse/L6900.mp4</a><br></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>0.0000000</defaultgrade>
    <penalty>0.0000000</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
  </question>

<!-- question: 361470  -->
  <question type="description">
    <name>
      <text>L6901</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"><a href="https://thecoopcoach.com/mathcourse/L6901.mp4">https://thecoopcoach.com/mathcourse/L6901.mp4</a><br></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>0.0000000</defaultgrade>
    <penalty>0.0000000</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
  </question>

<!-- question: 361471  -->
  <question type="description">
    <name>
      <text>L6902</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"><a href="https://thecoopcoach.com/mathcourse/L6902.mp4">https://thecoopcoach.com/mathcourse/L6902.mp4</a><br></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>0.0000000</defaultgrade>
    <penalty>0.0000000</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
  </question>

<!-- question: 361473  -->
  <question type="description">
    <name>
      <text>L6903</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"><a href="https://thecoopcoach.com/mathcourse/L6903.mp4">https://thecoopcoach.com/mathcourse/L6903.mp4</a><br></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>0.0000000</defaultgrade>
    <penalty>0.0000000</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
  </question>

<!-- question: 361461  -->
  <question type="formulas">
    <name>
      <text>L69- Three Circles</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The venn diagram shown shows the results of a class survey regarding the number of students that {begin} {titleA}, {titleB}, or {titleC} {end}.&nbsp; Use the venn diagram to answer the following questions.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0.1});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.1});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0.1});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[colors=shuffle(["red","green","orange","blue","purple","pink","brown","yellow","aqua","magenta","grey","teal"]);
numA={2:15:1};
numB={2:15:1};
numC={2:15:1};
numB={2:15:1};
numAB={2:15:1};
numAC={2:15:1};
numBC={2:15:1};
numABC={2:15:1};
scenario={["goat","pig","chicken","own a","as a pet"],["dog","cat","hamster","own a","as a pet"],["Tablet","Computer","phone","work on a","for math class"],["cupcake","cake","ice cream","like a","for their birthday"],["gold","platinum","silver","like","jewelry"],["pencil","marker","pen","use a","for math class"],["juice","water","coffee","like to drink","with their breakfast"],["cheese","hawaiian","pepperoni","like to eat a slice of","pizza for dinner"],["eggs","pancakes","sausage","like","for breakfast"],["hymns","pop-songs","kid songs","like to sing","in the shower"],["Python","CAD","Scratch","want to learn","before they graduate high school"],["tea","coffee","water","like to drink","in the morning"],["computer","phone", "tablet", "work on a", "for math class"], ["ice cream","cake","cupcake","like a","for their birthday"],["platinum","silver","gold", "like","jewelry"],["pen","pencil","marker","use a","for math class"],["coffee","water","juice","like to drink","with their breakfast"],["pepperoni","cheese","hawaiian", "like to eat a slice of","pizza for dinner"],["sausage","pancakes","eggs","like","for breakfast"],["kid songs","pop-songs","hymns","like to sing Christian","in the shower"],["CAD","Scratch","Python","want to learn","before they graduate high school"],["coffee","tea","water","like to drink","in the morning"]};]]></text>
</varsrandom>
<varsglobal><text>color1=colors[0];
color2=colors[1];
color3=colors[2];
titleA=scenario[0];
titleB=scenario[1];
titleC=scenario[2];
begin=scenario[3];
end=scenario[4];
total=numA+numB+numC+numAB+numBC+numAC + numABC;</text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numA+numAC+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">A.&nbsp; How many students {begin} {titleA}? {_0} students</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA}? There are {numA} students who {begin} {titleA}. <br>
There are {numAB} students who {begin} {titleA} and {titleB}.<br>
There are {numAC} students who {begin} {titleA} and {titleC}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are {numA} + {numAB} + {numAC} + {numABC} = {=numAB+numA+numAC+numABC} students in total that {begin} {titleA}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:.25});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    

</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numB+numBC+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">B.&nbsp; How many students {begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleB}? There are {numB} students who {begin} {titleB}. <br>
There are {numAB} students who {begin} {titleA} and {titleB}.<br>
There are {numAC} students who {begin} {titleB} and {titleC}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are {numB} + {numAB} + {numBC} + {numABC} = {=numAB+numA+numAC+numABC} students in total that {begin} {titleB}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.25});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">C.&nbsp; How many students {begin} {titleA} <strong>and </strong>{titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA} and {titleB}? Determine what part or parts of the graph are included in the overlap of {titleA} and {titleB}.
There are {numAB} students who {begin} {titleA} and {titleB}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are  {numAB} +  {numABC} = {=numAB+numABC} students in total that {begin} {titleA} and {titleB}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:.25});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:.25});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>3</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.2</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>total</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">D.&nbsp; How many students were surveyed?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Add the numbers to determine the total number of students.&nbsp; {numA} + {numB} + {numAB} +{numAC} + {numBC} + {numABC} = {total}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>4</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numB</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">E.&nbsp; How many students <strong>only </strong>{begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p>How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleB}? There are {numB} students who {begin} {titleB}.&nbsp;</p>
<p>All the other sections have chosen other choices, therefore&nbsp;there are {numB} students in total that {begin} {titleB}.</p>
<jsxgraph width="300" height="300">

    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});



    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});

    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.25});

    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});

    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'white',fillOpacity:1});
 var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:1});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:0});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'white',fillOpacity:0});

   
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});

    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});





</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>5</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numA</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">F.&nbsp; How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleA}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students only {begin} {titleA}? There are {numA} students who {begin} {titleA}. <br>

All the other sections have chosen other choices, therefore there are {numA} students in total that {begin} {titleA}.
<jsxgraph width="300" height="300">

    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});



    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});



    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});

    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:1});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'white',fillOpacity:1});
  var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:1});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0});


    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});

    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});





</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361463  -->
  <question type="formulas">
    <name>
      <text>L69- Three Circles (all three)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The venn diagram shown shows the results of a class survey regarding the number of students that {begin} {titleA}, {titleB}, or {titleC} {end}.&nbsp; Use the venn diagram to answer the following questions.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0.1});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.1});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0.1});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[colors=shuffle(["red","green","orange","blue","purple","pink","brown","yellow","aqua","magenta","grey","teal"]);
numA={2:15:1};
numB={2:15:1};
numC={2:15:1};
numB={2:15:1};
numAB={2:15:1};
numAC={2:15:1};
numBC={2:15:1};
numABC={2:15:1};
scenario={["goat","pig","chicken","own a","as a pet"],["dog","cat","hamster","own a","as a pet"],["Tablet","Computer","phone","work on a","for math class"],["cupcake","cake","ice cream","like a","for their birthday"],["gold","platinum","silver","like","jewelry"],["pencil","marker","pen","use a","for math class"],["juice","water","coffee","like to drink","with their breakfast"],["cheese","hawaiian","pepperoni","like to eat a slice of","pizza for dinner"],["eggs","pancakes","sausage","like","for breakfast"],["hymns","pop-songs","kid songs","like to sing","in the shower"],["Python","CAD","Scratch","want to learn","before they graduate high school"],["tea","coffee","water","like to drink","in the morning"],["computer","phone", "tablet", "work on a", "for math class"], ["ice cream","cake","cupcake","like a","for their birthday"],["platinum","silver","gold", "like","jewelry"],["pen","pencil","marker","use a","for math class"],["coffee","water","juice","like to drink","with their breakfast"],["pepperoni","cheese","hawaiian", "like to eat a slice of","pizza for dinner"],["sausage","pancakes","eggs","like","for breakfast"],["kid songs","pop-songs","hymns","like to sing Christian","in the shower"],["CAD","Scratch","Python","want to learn","before they graduate high school"],["coffee","tea","water","like to drink","in the morning"]};]]></text>
</varsrandom>
<varsglobal><text>color1=colors[0];
color2=colors[1];
color3=colors[2];
titleA=scenario[0];
titleB=scenario[1];
titleC=scenario[2];
begin=scenario[3];
end=scenario[4];
total=numA+numB+numC+numAB+numBC+numAC + numABC;</text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numA+numAC+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">A.&nbsp; How many students {begin} {titleA}? {_0} students</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA}? There are {numA} students who {begin} {titleA}. <br>
There are {numAB} students who {begin} {titleA} and {titleB}.<br>
There are {numAC} students who {begin} {titleA} and {titleC}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are {numA} + {numAB} + {numAC} + {numABC} = {=numAB+numA+numAC+numABC} students in total that {begin} {titleA}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:.25});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    

</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">B.&nbsp; How many students {begin} {titleA}, {titleB}, and {titleC}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA}, {titleB}, and {titleC}? 
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are {numB} + {numAB} + {numBC} + {numABC} = {=numAB+numA+numAC+numABC} students in total that {begin} {titleB}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:.25});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.25});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:.25});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">C.&nbsp; How many students {begin} {titleA} <strong>and </strong>{titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA} and {titleB}? Determine what part or parts of the graph are included in the overlap of {titleA} and {titleB}.
There are {numAB} students who {begin} {titleA} and {titleB}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are  {numAB} +  {numABC} = {=numAB+numABC} students in total that {begin} {titleA} and {titleB}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:.25});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:.25});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>3</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.2</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>total</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">D.&nbsp; How many students were surveyed?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Add the numbers to determine the total number of students.&nbsp; {numA} + {numB} + {numAB} +{numAC} + {numBC} + {numABC} = {total}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>4</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numB</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">E.&nbsp; How many students <strong>only </strong>{begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p>How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleB}? There are {numB} students who {begin} {titleB}.&nbsp;</p>
<p>All the other sections have chosen other choices, therefore&nbsp;there are {numB} students in total that {begin} {titleB}.</p>
<jsxgraph width="300" height="300">

    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});



    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});

    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.25});

    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});

    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'white',fillOpacity:1});
 var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:1});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:0});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'white',fillOpacity:0});

   
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});

    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});





</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>5</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numA</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">F.&nbsp; How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleA}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students only {begin} {titleA}? There are {numA} students who {begin} {titleA}. <br>

All the other sections have chosen other choices, therefore there are {numA} students in total that {begin} {titleA}.
<jsxgraph width="300" height="300">

    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});



    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});



    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});

    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:1});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'white',fillOpacity:1});
  var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:1});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0});


    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});

    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});





</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361462  -->
  <question type="formulas">
    <name>
      <text>L69- Three Circles (v2)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The venn diagram shown shows the results of a class survey regarding the number of students that {begin} {titleA}, {titleB}, or {titleC} {end}.&nbsp; Use the venn diagram to answer the following questions.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0.1});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.1});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0.1});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[colors=shuffle(["red","green","orange","blue","purple","pink","brown","yellow","aqua","magenta","grey","teal"]);
numA={2:15:1};
numB={2:15:1};
numC={2:15:1};
numB={2:15:1};
numAB={2:15:1};
numAC={2:15:1};
numBC={2:15:1};
numABC={2:15:1};
scenario={["goat","pig","chicken","own a","as a pet"],["dog","cat","hamster","own a","as a pet"],["Tablet","Computer","phone","work on a","for math class"],["cupcake","cake","ice cream","like a","for their birthday"],["gold","platinum","silver","like","jewelry"],["pencil","marker","pen","use a","for math class"],["juice","water","coffee","like to drink","with their breakfast"],["cheese","hawaiian","pepperoni","like to eat a slice of","pizza for dinner"],["eggs","pancakes","sausage","like","for breakfast"],["hymns","pop-songs","kid songs","like to sing","in the shower"],["Python","CAD","Scratch","want to learn","before they graduate high school"],["tea","coffee","water","like to drink","in the morning"],["computer","phone", "tablet", "work on a", "for math class"], ["ice cream","cake","cupcake","like a","for their birthday"],["platinum","silver","gold", "like","jewelry"],["pen","pencil","marker","use a","for math class"],["coffee","water","juice","like to drink","with their breakfast"],["pepperoni","cheese","hawaiian", "like to eat a slice of","pizza for dinner"],["sausage","pancakes","eggs","like","for breakfast"],["kid songs","pop-songs","hymns","like to sing Christian","in the shower"],["CAD","Scratch","Python","want to learn","before they graduate high school"],["coffee","tea","water","like to drink","in the morning"]};]]></text>
</varsrandom>
<varsglobal><text>color1=colors[0];
color2=colors[1];
color3=colors[2];
titleA=scenario[0];
titleB=scenario[1];
titleC=scenario[2];
begin=scenario[3];
end=scenario[4];
total=numA+numB+numC+numAB+numBC+numAC + numABC;</text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numBC+numC+numAC+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">A.&nbsp; How many students {begin} {titleC}? {_0} students</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleC}? There are {numC} students who {begin} {titleC}. <br>
There are {numBC} students who {begin} {titleB} and {titleC}.<br>
There are {numAC} students who {begin} {titleA} and {titleC}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are {numC} + {numBC} + {numAC} + {numABC} = {=numBC+numC+numAC+numABC} students in total that {begin} {titleA}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:.25});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numB+numBC+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">B.&nbsp; How many students {begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleB}? There are {numB} students who {begin} {titleB}. <br>
There are {numAB} students who {begin} {titleA} and {titleB}.<br>
There are {numAC} students who {begin} {titleB} and {titleC}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are {numB} + {numAB} + {numBC} + {numABC} = {=numAB+numA+numAC+numABC} students in total that {begin} {titleB}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.25});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAC+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">C.&nbsp; How many students {begin} {titleA} <strong>and </strong>{titleC}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA} and {titleC}? Determine what part or parts of the graph are included in the overlap of {titleA} and {titleC}.
There are {numAC} students who {begin} {titleA} and {titleC}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are {numAC} + {numABC} = {=numAC+numABC} students in total that {begin} {titleA} and {titleC}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:.25});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0.25});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>3</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.2</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>total</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">D.&nbsp; How many students were surveyed?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Add the numbers to determine the total number of students.&nbsp; {numA} + {numB} + {numAB} +{numAC} + {numBC} + {numABC} = {total}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>4</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numB</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">E.&nbsp; How many students <strong>only </strong>{begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p>How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleB}? There are {numB} students who {begin} {titleB}.&nbsp;</p>
<p>All the other sections have chosen other choices, therefore&nbsp;there are {numB} students in total that {begin} {titleB}.</p>
<jsxgraph width="300" height="300">

    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});



    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});

    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.25});

    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});

    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'white',fillOpacity:1});
 var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:1});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:0});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'white',fillOpacity:0});

   
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});

    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});





</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>5</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numA</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">F.&nbsp; How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleA}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students only {begin} {titleA}? There are {numA} students who {begin} {titleA}. <br>

All the other sections have chosen other choices, therefore there are {numA} students in total that {begin} {titleA}.
<jsxgraph width="300" height="300">

    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});



    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});



    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});

    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:1});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'white',fillOpacity:1});
  var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:1});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0});


    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});

    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});





</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361464  -->
  <question type="formulas">
    <name>
      <text>L69-words to venn diagram</text>
    </name>
    <questiontext format="html">
      <text>The results of a recent class survey regarding the number of students that {begin} {titleA}, {titleB}, or {titleC} {end} is as follows: {DnumA} students {begin} {titleA}, {DnumB} students {begin} {titleB}, {DnumC} students {begin} {titleC}. {DnumAB} students {begin} {titleA} and {titleB}. {DnumAC} students {begin} {titleA} and {titleC}. {DnumBC} students {begin} {titleB} and {titleC}. {numABC} students {begin} all three.</text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[1. Draw and Label three overlapping circles.
2. Write the total number of each.<br>
<div class="editor-indent" style="margin-left: 30px;">
    Total {titleA} = {DnumA}<br>
    Total {titleB} = {DnumB}<br>
    Total {titleC} = {DnumC}</div>
2. Subtract the number of overlaps from each group, and temporarily write the number in the overlapping section.<br>
<div class="editor-indent" style="margin-left: 30px;">
    Total {titleA} and {titleB} = {DnumAB}<br>
</div>
<div class="editor-indent" style="margin-left: 30px;">
    <div class="editor-indent" style="margin-left: 30px;">therefore only {titleA} = {DnumA}-{DnumAB}={=DnumA-DnumAB}</div>
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleB} = {DnumB}-{DnumAB}={=DnumB-DnumAB}</div>
</div>
<div class="editor-indent" style="margin-left: 30px;">
    Total {titleB} and {titleC} = {DnumBC}<br></div>
<div class="editor-indent" style="margin-left: 30px;">
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleB} = {DnumB}-{DnumBC}={=DnumB-DnumBC}</div>
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleC} = {DnumC}-{DnumBC}={=DnumC-DnumBC}</div>
</div>
<div class="editor-indent" style="margin-left: 30px;">
    Total {titleA} and {titleC} = {DnumAC}<br></div>
<div class="editor-indent" style="margin-left: 30px;">
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleA} = {DnumA}-{DnumAC}={=DnumA-DnumAC}</div>
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleC} = {DnumC}-{DnumAC}={=DnumC-DnumAC}</div>
</div>
3. Subtract the center overlap showing the students chose all three.<br>
<div class="editor-indent" style="margin-left: 30px;">
    Total {titleA} and {titleB} and {titleC} = {numABC}<br></div>
<div class="editor-indent" style="margin-left: 30px;">
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleA} = {=DnumA-DnumAB}-{numABC}={numA}</div>
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleB} = {=DnumB-DnumAB}-{numABC}={numB}</div>
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleC} = {=DnumC-DnumAB}-{numABC}={numC}</div>
</div>
4. Subtract the center overlap showing the students chose all three from each of the overlaps.<br>
<div class="editor-indent" style="margin-left: 30px;">
    Total {titleA} and {titleB} = {DnumAB} - {numABC}={numAB}<br>
    Total {titleB} and {titleC} = {DnumBC} - {numABC}={numBC}<br>
    Total {titleA} and {titleC} = {DnumAC} - {numABC}={numAC}
</div>
<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0.1});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.1});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0.1});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tnone=board.create('text',[5,.25,"None:{none} students"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tnone=board.create('text',[5,9.5,"Total:{totalStudents} students"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>
The venn diagram shows the results of the survey. The total number of students that answered the survey is the sum of the numbers.<br>&nbsp;{numA} + {numB} + {numC} + {numAB} + {numBC} + {numAC} + {numABC} = {total}.<br>
There are {totalStudents} in the class.<br>
{totalStudents}- {total} = {none} students]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[colors=shuffle(["red","green","orange","blue","purple","pink","brown","yellow","aqua","magenta","grey","teal"]);
numA={2:15:1};
numB={2:15:1};
numC={2:15:1};
numB={2:15:1};
numAB={5:15:1};
numAC={5:15:1};
numBC={5:15:1};
numABC={0:5:1};
none={0:20:1};
scenario={["goat","pig","chicken","own a","as a pet"],["dog","cat","hamster","own a","as a pet"],["Tablet","Computer","phone","work on a","for math class"],["cupcake","cake","ice cream","like a","for their birthday"],["gold","platinum","silver","like","jewelry"],["pencil","marker","pen","use a","for math class"],["juice","water","coffee","like to drink","with their breakfast"],["cheese","hawaiian","pepperoni","like to eat a slice of","pizza for dinner"],["eggs","pancakes","sausage","like","for breakfast"],["hymns","pop-songs","kid songs","like to sing","in the shower"],["Python","CAD","Scratch","want to learn","before they graduate high school"],["tea","coffee","water","like to drink","in the morning"],["computer","phone", "tablet", "work on a", "for math class"], ["ice cream","cake","cupcake","like a","for their birthday"],["platinum","silver","gold", "like","jewelry"],["pen","pencil","marker","use a","for math class"],["coffee","water","juice","like to drink","with their breakfast"],["pepperoni","cheese","hawaiian", "like to eat a slice of","pizza for dinner"],["sausage","pancakes","eggs","like","for breakfast"],["kid songs","pop-songs","hymns","like to sing Christian","in the shower"],["CAD","Scratch","Python","want to learn","before they graduate high school"],["coffee","tea","water","like to drink","in the morning"]};]]></text>
</varsrandom>
<varsglobal><text>color1=colors[0];
color2=colors[1];
color3=colors[2];
titleA=scenario[0];
titleB=scenario[1];
titleC=scenario[2];
begin=scenario[3];
end=scenario[4];
total=numA+numB+numC+numAB+numBC+numAC + numABC;
totalStudents=none+numA+numB+numC+numAB+numBC+numAC + numABC;
DnumAB=numAB+numABC;
DnumAC=numAC+numABC;
DnumBC=numBC+numABC;
DnumA=numA+numAB+numAC+numABC;
DnumB=numB+numAB+numBC+numABC;
DnumC=numC+numAC+numBC+numABC;

</text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>none</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">There are {totalStudents} students in the class.&nbsp; How many students did not choose anything?</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361472  -->
  <question type="multichoice">
    <name>
      <text>L6903</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">The Last Section of our Lesson is filling in Venn Diagrams from the data.&nbsp; &nbsp;This is a more difficult topic.&nbsp; &nbsp;I will include these types of questions in the lesson, however they will be worth less points than other questions.&nbsp; &nbsp;A question like this will be extra credit for the next test.&nbsp; &nbsp;I enjoy figuring these questions out because they are a puzzle.&nbsp; &nbsp;Enjoy the challenge!&nbsp; (Choose one answer, they all will give you full credit!)</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <single>true</single>
    <shuffleanswers>true</shuffleanswers>
    <answernumbering>none</answernumbering>
    <showstandardinstruction>1</showstandardinstruction>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
    <answer fraction="100" format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">I understand that this question is a more difficult question.&nbsp; &nbsp;I will try me best.&nbsp; I will continue with the lesson even if I don't fully understand how to solve this question.&nbsp;&nbsp;</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="100" format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">I will try this question for no more than a half hour before continuing with the lesson.</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="100" format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">I will enjoy the challenge of this question</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test #9/L69- Venn Diagrams/L69-two circles</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361487  -->
  <question type="formulas">
    <name>
      <text>L69- Two circles</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The venn diagram shown shows the results of a class survey regarding the number of students that {begin} {titleA} or {titleB} {end}.&nbsp; Use the venn diagram to answer the following questions.<jsxgraph width="300" height="175"> var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false,keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fixed:true});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fixed:true});
    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}',fixed:true});
    var t1only=board.create('text',[2.75,2.5,"{numA}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black',fixed:true});
    var t2only=board.create('text',[7.25,2.5,"{numB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black',fixed:true});
    var t12both=board.create('text',[5,2.5,"{numAB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[colors=shuffle(["red","green","orange","blue","purple","pink","brown","yellow","aqua","magenta","grey","teal"]);
numA={2:15:1};
numB={2:15:1};
numAB={2:15:1};
scenario={["Tablet","Computer","work on a","for math class"],["cupcake","cake","prefer a","for their birthday"],["gold","silver","prefer","jewelry"],["pencil","pen","use a","for math class"],["juice","water","prefer to drink","with their breakfast"],["cheese","pepperoni","prefer to eat a slice of","pizza for dinner"],["eggs","pancakes","prefer","for breakfast"],["hymns","pop-songs","prefer to sing Christian","in the shower"],["Python","CAD","want to learn","before they graduate high school"],["tea","coffee","prefer to drink","in the morning"],["Computer", "Tablet", "work on a", "for math class"], ["cake","cupcake","prefer a","for their birthday"],["silver","gold","prefer","jewelry"],["pen","pencil","use a","for math class"],["water","juice","prefer to drink","with their breakfast"],["pepperoni","cheese", "prefer to eat a slice of","pizza for dinner"],["pancakes","eggs","prefer","for breakfast"],["pop-songs","hymns","prefer to sing Christian","in the shower"],["CAD","Python","want to learn","before they graduate high school"],["coffee","tea","prefer to drink","in the morning"]};]]></text>
</varsrandom>
<varsglobal><text>color1=colors[0];
color2=colors[1];
titleA=scenario[0];
titleB=scenario[1];
begin=scenario[2];
end=scenario[3];
total=numA+numB+numAB;</text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numA</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">A.&nbsp; How many students {begin} {titleA}? {_0} students</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA}? There are {numA} students who {begin} {titleA}. There are {numAB} students who {begin} {titleA} and {titleB}. Therefore there are {numA} + {numAB} = {=numAB+numA} students in total that {begin} {titleA}.
<jsxgraph width="300" height="175">&nbsp;var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false,keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'{color1}',fillOpacity:.25,fixed:true});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fixed:true});
    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}',fixed:true});
    var t1only=board.create('text',[2.75,2.5,"{numA}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black',fixed:true});

    var t12both=board.create('text',[5,2.5,"{numAB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numB</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">B.&nbsp; How many students {begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleB}?&nbsp; There are {numB} students who {begin} {titleB}.&nbsp; {numAB} students {begin} {titleA} and {titleB}. Therefore&nbsp; {numB} + {numAB} = {=numAB+numB} students in total that {begin} {titleB}.
<jsxgraph width="300" height="175"> var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false,keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}'});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fillColor:'{color2}',fillOpacity:.25});
    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}'});
    var t1only=board.create('text',[2.75,2.5," "],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t2only=board.create('text',[7.25,2.5,"{numB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t12both=board.create('text',[5,2.5,"{numAB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">C.&nbsp; How many students {begin} {titleA} <strong>and </strong>{titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA} <strong>and </strong>{titleB}?&nbsp; There are {numAB} students who {begin} {titleA} <strong>and </strong>{titleB}.&nbsp; The overlap of the two circles displays the amount of students {begin} both {titleA} and {titleB}.
<jsxgraph width="300" height="175"> 
  var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'{color1}',fillOpacity:.25});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}'});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fillColor:'{color2}',fillOpacity:.25});
    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}'});
    var t1only=board.create('text',[2.75,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t2only=board.create('text',[7.25,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t12both=board.create('text',[5,2.5,"{numAB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>3</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.2</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>total</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">D.&nbsp; How many students were surveyed?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Add the numbers to determine the total number of students.&nbsp; {numA} + {numB} + {numAB} = {total}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>4</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numB</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">E.&nbsp; How many students <strong>only </strong>{begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleB}?&nbsp; There are {numB} students who {begin} <strong>&nbsp;</strong>{titleB}.&nbsp; Do not include the overlap of the two circles since it displays the amount of students {begin} both {titleA} and {titleB}.&nbsp; &nbsp;<jsxgraph width="300" height="175">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'white',fillOpacity:1});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}'});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fillColor:'{color2}',fillOpacity:.25});
  var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'white',fillOpacity:1});
    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}'});
    var t1only=board.create('text',[2.75,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t2only=board.create('text',[7.25,2.5,"{numB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t12both=board.create('text',[5,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>5</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numA</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">F.&nbsp; How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleA}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleA}?&nbsp; There are {numA} students who {begin} <strong>&nbsp;</strong>{titleA}.&nbsp; Do not include the overlap of the two circles since it displays the amount of students {begin} both {titleA} and {titleB}.&nbsp; &nbsp;<jsxgraph width="300" height="175">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'white',fillOpacity:1});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}'});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'{color1}',fillOpacity:.25});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fillColor:'white',fillOpacity:1});

    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}'});
    var t1only=board.create('text',[2.75,2.5,"{numA}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t2only=board.create('text',[7.25,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t12both=board.create('text',[5,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361488  -->
  <question type="formulas">
    <name>
      <text>L69- Two circles-341520</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The venn diagram shown shows the results of a class survey regarding the number of students that {begin} {titleA} or {titleB} {end}.&nbsp; Use the venn diagram to answer the following questions.<jsxgraph width="300" height="175"> var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false,keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fixed:true});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fixed:true});
    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}',fixed:true});
    var t1only=board.create('text',[2.75,2.5,"{numA}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black',fixed:true});
    var t2only=board.create('text',[7.25,2.5,"{numB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black',fixed:true});
    var t12both=board.create('text',[5,2.5,"{numAB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[colors=shuffle(["red","green","orange","blue","purple","pink","brown","yellow","aqua","magenta","grey","teal"]);
numA={2:15:1};
numB={2:15:1};
numAB={2:15:1};
scenario={["Tablet","Computer","work on a","for math class"],["cupcake","cake","prefer a","for their birthday"],["gold","silver","prefer","jewelry"],["pencil","pen","use a","for math class"],["juice","water","prefer to drink","with their breakfast"],["cheese","pepperoni","prefer to eat a slice of","pizza for dinner"],["eggs","pancakes","prefer","for breakfast"],["hymns","pop-songs","prefer to sing Christian","in the shower"],["Python","CAD","want to learn","before they graduate high school"],["tea","coffee","prefer to drink","in the morning"],["Computer", "Tablet", "work on a", "for math class"], ["cake","cupcake","prefer a","for their birthday"],["silver","gold","prefer","jewelry"],["pen","pencil","use a","for math class"],["water","juice","prefer to drink","with their breakfast"],["pepperoni","cheese", "prefer to eat a slice of","pizza for dinner"],["pancakes","eggs","prefer","for breakfast"],["pop-songs","hymns","prefer to sing Christian","in the shower"],["CAD","Python","want to learn","before they graduate high school"],["coffee","tea","prefer to drink","in the morning"]};]]></text>
</varsrandom>
<varsglobal><text>color1=colors[0];
color2=colors[1];
titleA=scenario[0];
titleB=scenario[1];
begin=scenario[2];
end=scenario[3];
total=numA+numB+numAB;</text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numA</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">F.&nbsp; How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleA}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleA}?&nbsp; There are {numA} students who {begin} <strong>&nbsp;</strong>{titleA}.&nbsp; Do not include the overlap of the two circles since it displays the amount of students {begin} both {titleA} and {titleB}.&nbsp; &nbsp;<jsxgraph width="300" height="175">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'white',fillOpacity:1});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}'});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'{color1}',fillOpacity:.25});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fillColor:'white',fillOpacity:1});

    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}'});
    var t1only=board.create('text',[2.75,2.5,"{numA}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t2only=board.create('text',[7.25,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t12both=board.create('text',[5,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">C.&nbsp; How many students {begin} {titleA} <strong>and </strong>{titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA} <strong>and </strong>{titleB}?&nbsp; There are {numAB} students who {begin} {titleA} <strong>and </strong>{titleB}.&nbsp; The overlap of the two circles displays the amount of students {begin} both {titleA} and {titleB}.
<jsxgraph width="300" height="175"> 
  var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'{color1}',fillOpacity:.25});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}'});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fillColor:'{color2}',fillOpacity:.25});
    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}'});
    var t1only=board.create('text',[2.75,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t2only=board.create('text',[7.25,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t12both=board.create('text',[5,2.5,"{numAB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numB</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">E.&nbsp; How many students <strong>only </strong>{begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleB}?&nbsp; There are {numB} students who {begin} <strong>&nbsp;</strong>{titleB}.&nbsp; Do not include the overlap of the two circles since it displays the amount of students {begin} both {titleA} and {titleB}.&nbsp; &nbsp;<jsxgraph width="300" height="175">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'white',fillOpacity:1});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}'});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fillColor:'{color2}',fillOpacity:.25});
  var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'white',fillOpacity:1});
    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}'});
    var t1only=board.create('text',[2.75,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t2only=board.create('text',[7.25,2.5,"{numB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t12both=board.create('text',[5,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>3</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numA</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">A.&nbsp; How many students {begin} {titleA}? {_0} students</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA}? There are {numA} students who {begin} {titleA}. There are {numAB} students who {begin} {titleA} and {titleB}. Therefore there are {numA} + {numAB} = {=numAB+numA} students in total that {begin} {titleA}.
<jsxgraph width="300" height="175">&nbsp;var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false,keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'{color1}',fillOpacity:.25,fixed:true});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fixed:true});
    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}',fixed:true});
    var t1only=board.create('text',[2.75,2.5,"{numA}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black',fixed:true});

    var t12both=board.create('text',[5,2.5,"{numAB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>4</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numB</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">B.&nbsp; How many students {begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleB}?&nbsp; There are {numB} students who {begin} {titleB}.&nbsp; {numAB} students {begin} {titleA} and {titleB}. Therefore&nbsp; {numB} + {numAB} = {=numAB+numB} students in total that {begin} {titleB}.
<jsxgraph width="300" height="175"> var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false,keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}'});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fillColor:'{color2}',fillOpacity:.25});
    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}'});
    var t1only=board.create('text',[2.75,2.5," "],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t2only=board.create('text',[7.25,2.5,"{numB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t12both=board.create('text',[5,2.5,"{numAB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>5</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.2</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>total</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">D.&nbsp; How many students were surveyed?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Add the numbers to determine the total number of students.&nbsp; {numA} + {numB} + {numAB} = {total}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361489  -->
  <question type="formulas">
    <name>
      <text>L69- Two circles-mixedup</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The venn diagram shown shows the results of a class survey regarding the number of students that {begin} {titleA} or {titleB} {end}.&nbsp; Use the venn diagram to answer the following questions.<jsxgraph width="300" height="175"> var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false,keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fixed:true});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fixed:true});
    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}',fixed:true});
    var t1only=board.create('text',[2.75,2.5,"{numA}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black',fixed:true});
    var t2only=board.create('text',[7.25,2.5,"{numB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black',fixed:true});
    var t12both=board.create('text',[5,2.5,"{numAB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[colors=shuffle(["red","green","orange","blue","purple","pink","brown","yellow","aqua","magenta","grey","teal"]);
numA={2:15:1};
numB={2:15:1};
numAB={2:15:1};
scenario={["Tablet","Computer","work on a","for math class"],["cupcake","cake","prefer a","for their birthday"],["gold","silver","prefer","jewelry"],["pencil","pen","use a","for math class"],["juice","water","prefer to drink","with their breakfast"],["cheese","pepperoni","prefer to eat a slice of","pizza for dinner"],["eggs","pancakes","prefer","for breakfast"],["hymns","pop-songs","prefer to sing Christian","in the shower"],["Python","CAD","want to learn","before they graduate high school"],["tea","coffee","prefer to drink","in the morning"],["Computer", "Tablet", "work on a", "for math class"], ["cake","cupcake","prefer a","for their birthday"],["silver","gold","prefer","jewelry"],["pen","pencil","use a","for math class"],["water","juice","prefer to drink","with their breakfast"],["pepperoni","cheese", "prefer to eat a slice of","pizza for dinner"],["pancakes","eggs","prefer","for breakfast"],["pop-songs","hymns","prefer to sing Christian","in the shower"],["CAD","Python","want to learn","before they graduate high school"],["coffee","tea","prefer to drink","in the morning"]};]]></text>
</varsrandom>
<varsglobal><text>color1=colors[0];
color2=colors[1];
titleA=scenario[0];
titleB=scenario[1];
begin=scenario[2];
end=scenario[3];
total=numA+numB+numAB;</text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numA</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">A.&nbsp; How many students {begin} {titleA}? {_0} students</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA}? There are {numA} students who {begin} {titleA}. There are {numAB} students who {begin} {titleA} and {titleB}. Therefore there are {numA} + {numAB} = {=numAB+numA} students in total that {begin} {titleA}.
<jsxgraph width="300" height="175">&nbsp;var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false,keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'{color1}',fillOpacity:.25,fixed:true});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fixed:true});
    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}',fixed:true});
    var t1only=board.create('text',[2.75,2.5,"{numA}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black',fixed:true});

    var t12both=board.create('text',[5,2.5,"{numAB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">C.&nbsp; How many students {begin} {titleA} <strong>and </strong>{titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA} <strong>and </strong>{titleB}?&nbsp; There are {numAB} students who {begin} {titleA} <strong>and </strong>{titleB}.&nbsp; The overlap of the two circles displays the amount of students {begin} both {titleA} and {titleB}.
<jsxgraph width="300" height="175"> 
  var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'{color1}',fillOpacity:.25});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}'});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fillColor:'{color2}',fillOpacity:.25});
    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}'});
    var t1only=board.create('text',[2.75,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t2only=board.create('text',[7.25,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t12both=board.create('text',[5,2.5,"{numAB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.2</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>total</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">D.&nbsp; How many students were surveyed?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Add the numbers to determine the total number of students.&nbsp; {numA} + {numB} + {numAB} = {total}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>3</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numB</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">E.&nbsp; How many students <strong>only </strong>{begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleB}?&nbsp; There are {numB} students who {begin} <strong>&nbsp;</strong>{titleB}.&nbsp; Do not include the overlap of the two circles since it displays the amount of students {begin} both {titleA} and {titleB}.&nbsp; &nbsp;<jsxgraph width="300" height="175">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'white',fillOpacity:1});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}'});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fillColor:'{color2}',fillOpacity:.25});
  var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'white',fillOpacity:1});
    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}'});
    var t1only=board.create('text',[2.75,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t2only=board.create('text',[7.25,2.5,"{numB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t12both=board.create('text',[5,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>4</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numA</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">F.&nbsp; How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleA}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleA}?&nbsp; There are {numA} students who {begin} <strong>&nbsp;</strong>{titleA}.&nbsp; Do not include the overlap of the two circles since it displays the amount of students {begin} both {titleA} and {titleB}.&nbsp; &nbsp;<jsxgraph width="300" height="175">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'white',fillOpacity:1});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}'});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',fillColor:'{color1}',fillOpacity:.25});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fillColor:'white',fillOpacity:1});

    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}'});
    var t1only=board.create('text',[2.75,2.5,"{numA}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t2only=board.create('text',[7.25,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t12both=board.create('text',[5,2.5,""],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>5</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numB</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">B.&nbsp; How many students {begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleB}?&nbsp; There are {numB} students who {begin} {titleB}.&nbsp; {numAB} students {begin} {titleA} and {titleB}. Therefore&nbsp; {numB} + {numAB} = {=numAB+numB} students in total that {begin} {titleB}.
<jsxgraph width="300" height="175"> var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false,keepAspectRatio:true,showCopyright:false,boundingbox:[-.75,6,11,0]});
    var c1=board.create('circle',[[2.75,2.5],[5.75,2.5]],{strokeColor:'{color1}',});
    var t1=board.create('text',[2.5,5.25,"{titleA}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color1}'});
    var c2=board.create('circle',[[7.25,2.5],[4.25,2.5]],{strokeColor:'{color2}',fillColor:'{color2}',fillOpacity:.25});
    var t2=board.create('text',[7.25,5.25,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true,fontSize:20,strokeColor:'{color2}'});
    var t1only=board.create('text',[2.75,2.5," "],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t2only=board.create('text',[7.25,2.5,"{numB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});
    var t12both=board.create('text',[5,2.5,"{numAB}"],{anchorX:'middle',anchorY:'middle',fixed:true,fontSize:30,strokeColor:'black'});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test #9/L68- Translations on the Coordinate Plane/L68-MC translation or Reflection</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361550  -->
  <question type="formulas">
    <name>
      <text>TL68- Translation or Reflection_MC (R)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="400" height="200"> var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-12,12,12,0],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p1=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p2=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p3=board.create('point',[{Xd},{Yd}],{fixed:true,size:'0',name:'',showInfobox:false});
    var poly1=board.create('polygon',[p0,p1,p2,p3],{strokeColor:'{color1}',fillColor:'{color1}',fillOppacity:.25});
    var p4=board.create('point',[{Xa1},{Ya1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p5=board.create('point',[{Xb1},{Yb1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p6=board.create('point',[{Xc1},{Yc1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p7=board.create('point',[{Xd1},{Yd1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var poly2=board.create('polygon',[p4,p5,p6,p7],{strokeColor:'{color2}',fillColor:'{color2}',fillOppacity:.25});

</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">The figure is <strong>reflected </strong>through the line.&nbsp; &nbsp;It is a reflection.</p>
<jsxgraph width="400" height="200"> var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[-12,12,12,0],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p1=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p2=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p3=board.create('point',[{Xd},{Yd}],{fixed:true,size:'0',name:'',showInfobox:false});
    var poly1=board.create('polygon',[p0,p1,p2,p3],{strokeColor:'{color1}',fillColor:'{color1}',fillOppacity:.25});
    var p4=board.create('point',[{Xa1},{Ya1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p5=board.create('point',[{Xb1},{Yb1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p6=board.create('point',[{Xc1},{Yc1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p7=board.create('point',[{Xd1},{Yd1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var poly2=board.create('polygon',[p4,p5,p6,p7],{strokeColor:'{color2}',fillColor:'{color2}',fillOppacity:.25});
   var line=board.create('line',[[0,0],[0,1]]);
</jsxgraph>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};


color1={"red","orange","yellow"};
color2={"green","blue","purple"};

Xb1={1,2};
Yb1={4,5,6,7,8};
Xc1={3,4,5,6};
Yc1={4,5,6,7,8,9};
Xd1={2,3,4,5,6};
Yd1={1,2};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[Xa1=1;
Ya1=1;
#correct tells number of shape shown
correct=1;

axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");

Xa=Xa1*(-1);
Ya=Ya1;
Xb=Xb1*(-1);
Yb=Yb1;
Xc=Xc1*(-1);
Yc=Yc1;
Xd=Xd1*(-1);
Yd=Yd1;

MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}
xArray=[Xa,Xb,Xc,Xd,Xa1,Xb1,Xc1,Xd1];
yArray=[Ya,Yb,Yc,Yd,Ya1,Yb1,Yc1,Yd1];
lowX=100;
lowY=100;
maxX=-1;
maxY=-1;
for (i:[0:8]){
lowX=(xArray[i]<lowX)?i:lowX;
lowY=(yArray[i]<lowY)?i:lowY;
maxX=(xArray[i]>maxX)?i:maxX;
maxY=(yArray[i]>maxY)?i:maxY;
}
maxX=maxX+1;
maxY=maxY+1;
loxX=lowX-1;
lowY=lowY-1;
height=((maxY-lowY)*400)/(maxX-lowX);
choices=["translation","reflection"];]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>1</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">What transformation is shown? {_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361551  -->
  <question type="formulas">
    <name>
      <text>TL68- Translation or Reflection_MC (trans)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="400" height="400">&nbsp;var board=JXG.JSXGraph.initBoard(BOARDID,{
    boundingbox:[0,12,12,0],
    axis:false,
    grid:false,
    showCopyright:false,
    showNavigation:false,
    keepaspectratio:true
    });
    var p0=board.create('point',[{Xa},{Ya}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p1=board.create('point',[{Xb},{Yb}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p2=board.create('point',[{Xc},{Yc}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p3=board.create('point',[{Xd},{Yd}],{fixed:true,size:'0',name:'',showInfobox:false});
    var poly1=board.create('polygon',[p0,p1,p2,p3],{strokeColor:'{color1}',fillColor:'{color1}',fillOppacity:.25});
    var p4=board.create('point',[{Xa1},{Ya1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p5=board.create('point',[{Xb1},{Yb1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p6=board.create('point',[{Xc1},{Yc1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var p7=board.create('point',[{Xd1},{Yd1}],{fixed:true,size:'0',name:'',showInfobox:false});
    var poly2=board.create('polygon',[p4,p5,p6,p7],{strokeColor:'{color2}',fillColor:'{color2}',fillOppacity:.25});

</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">The {color2} figure is <strong>moved </strong>to the right, and up.&nbsp; &nbsp;It is a translation.</p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[#0= x-axis and 1=y-axis
axisRand={0,1};
randShape=shuffle([0,1,2,3,4,5]);
bn={1:99999};
Xt={2:6:1};
Yt={2:6:1};
color1={"red","orange","yellow"};
color2={"green","blue","purple"};

Xb1={1,2};
Yb1={4,5,6,7,8};
Xc1={3,4,5,6};
Yc1={4,5,6,7,8,9};
Xd1={2,3,4,5,6};
Yd1={1,2};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[Xa1=1;
Ya1=1;
#correct tells number of shape shown
correct=1;

axis=pick(axisRand,"x","y");
nonAxis=pick(axisRand,"y","x");
xMove=pick(Xt>0,join("",abs(Xt)," to the left"),join("",abs(Xt)," to the right"));
yMove=pick(Yt>0,join("",abs(Yt)," down"),join("",abs(Yt)," up"));
Xa=Xa1+Xt;
Ya=Ya1+Yt;
Xb=Xb1+Xt;
Yb=Yb1+Yt;
Xc=Xc1+Xt;
Yc=Yc1+Yt;
Xd=Xd1+Xt;
Yd=Yd1+Yt;

MB=join("","MyBoxH1",bn);
s=join("","A:(",Xa,",",Ya,"), B:(",Xb,",",Yb,"), C:(",Xc,",",Yc,"), D:(",Xd,",",Yd,")");
shape=["square","rectangle","trapezoid", "quadrilateral", "parallelogram", "rhombus"];
choices=[shape[randShape[0]],shape[randShape[1]],shape[randShape[2]],shape[randShape[3]],shape[randShape[4]],shape[randShape[5]]];
ans=-1;
for (i:[0:6]){
ans=(randShape[i]==correct)?i:ans;
}
xArray=[Xa,Xb,Xc,Xd,Xa1,Xb1,Xc1,Xd1];
yArray=[Ya,Yb,Yc,Yd,Ya1,Yb1,Yc1,Yd1];
lowX=100;
lowY=100;
maxX=-1;
maxY=-1;
for (i:[0:8]){
lowX=(xArray[i]<lowX)?i:lowX;
lowY=(yArray[i]<lowY)?i:lowY;
maxX=(xArray[i]>maxX)?i:maxX;
maxY=(yArray[i]>maxY)?i:maxY;
}
maxX=maxX+1;
maxY=maxY+1;
loxX=lowX-1;
lowY=lowY-1;
height=((maxY-lowY)*400)/(maxX-lowX);
choices=["translation","reflection"];]]></text>
</varsglobal>
<answernumbering><text>none</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>0</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">What transformation is shown? {_0:choices}</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test #9/L69- Venn Diagrams/L69-Venn Diagrams 3 Circles</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361553  -->
  <question type="formulas">
    <name>
      <text>L69- Three Circles</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The venn diagram shown shows the results of a class survey regarding the number of students that {begin} {titleA}, {titleB}, or {titleC} {end}.&nbsp; Use the venn diagram to answer the following questions.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0.1});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.1});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0.1});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[colors=shuffle(["red","green","orange","blue","purple","pink","brown","yellow","aqua","magenta","grey","teal"]);
numA={2:15:1};
numB={2:15:1};
numC={2:15:1};
numB={2:15:1};
numAB={2:15:1};
numAC={2:15:1};
numBC={2:15:1};
numABC={2:15:1};
scenario={["goat","pig","chicken","own a","as a pet"],["dog","cat","hamster","own a","as a pet"],["Tablet","Computer","phone","work on a","for math class"],["cupcake","cake","ice cream","like a","for their birthday"],["gold","platinum","silver","like","jewelry"],["pencil","marker","pen","use a","for math class"],["juice","water","coffee","like to drink","with their breakfast"],["cheese","hawaiian","pepperoni","like to eat a slice of","pizza for dinner"],["eggs","pancakes","sausage","like","for breakfast"],["hymns","pop-songs","kid songs","like to sing","in the shower"],["Python","CAD","Scratch","want to learn","before they graduate high school"],["tea","coffee","water","like to drink","in the morning"],["computer","phone", "tablet", "work on a", "for math class"], ["ice cream","cake","cupcake","like a","for their birthday"],["platinum","silver","gold", "like","jewelry"],["pen","pencil","marker","use a","for math class"],["coffee","water","juice","like to drink","with their breakfast"],["pepperoni","cheese","hawaiian", "like to eat a slice of","pizza for dinner"],["sausage","pancakes","eggs","like","for breakfast"],["kid songs","pop-songs","hymns","like to sing Christian","in the shower"],["CAD","Scratch","Python","want to learn","before they graduate high school"],["coffee","tea","water","like to drink","in the morning"]};]]></text>
</varsrandom>
<varsglobal><text>color1=colors[0];
color2=colors[1];
color3=colors[2];
titleA=scenario[0];
titleB=scenario[1];
titleC=scenario[2];
begin=scenario[3];
end=scenario[4];
total=numA+numB+numC+numAB+numBC+numAC + numABC;</text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numA+numAC+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">A.&nbsp; How many students {begin} {titleA}? {_0} students</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA}? There are {numA} students who {begin} {titleA}. <br>
There are {numAB} students who {begin} {titleA} and {titleB}.<br>
There are {numAC} students who {begin} {titleA} and {titleC}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are {numA} + {numAB} + {numAC} + {numABC} = {=numAB+numA+numAC+numABC} students in total that {begin} {titleA}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:.25});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    

</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numB+numBC+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">B.&nbsp; How many students {begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleB}? There are {numB} students who {begin} {titleB}. <br>
There are {numAB} students who {begin} {titleA} and {titleB}.<br>
There are {numAC} students who {begin} {titleB} and {titleC}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are {numB} + {numAB} + {numBC} + {numABC} = {=numAB+numA+numAC+numABC} students in total that {begin} {titleB}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.25});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">C.&nbsp; How many students {begin} {titleA} <strong>and </strong>{titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA} and {titleB}? Determine what part or parts of the graph are included in the overlap of {titleA} and {titleB}.
There are {numAB} students who {begin} {titleA} and {titleB}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are  {numAB} +  {numABC} = {=numAB+numABC} students in total that {begin} {titleA} and {titleB}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:.25});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:.25});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>3</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.2</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>total</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">D.&nbsp; How many students were surveyed?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Add the numbers to determine the total number of students.&nbsp; {numA} + {numB} + {numAB} +{numAC} + {numBC} + {numABC} = {total}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>4</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numB</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">E.&nbsp; How many students <strong>only </strong>{begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p>How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleB}? There are {numB} students who {begin} {titleB}.&nbsp;</p>
<p>All the other sections have chosen other choices, therefore&nbsp;there are {numB} students in total that {begin} {titleB}.</p>
<jsxgraph width="300" height="300">

    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});



    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});

    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.25});

    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});

    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'white',fillOpacity:1});
 var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:1});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:0});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'white',fillOpacity:0});

   
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});

    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});





</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>5</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numA</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">F.&nbsp; How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleA}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students only {begin} {titleA}? There are {numA} students who {begin} {titleA}. <br>

All the other sections have chosen other choices, therefore there are {numA} students in total that {begin} {titleA}.
<jsxgraph width="300" height="300">

    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});



    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});



    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});

    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:1});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'white',fillOpacity:1});
  var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:1});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0});


    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});

    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});





</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361555  -->
  <question type="formulas">
    <name>
      <text>L69- Three Circles (all three)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The venn diagram shown shows the results of a class survey regarding the number of students that {begin} {titleA}, {titleB}, or {titleC} {end}.&nbsp; Use the venn diagram to answer the following questions.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0.1});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.1});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0.1});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[colors=shuffle(["red","green","orange","blue","purple","pink","brown","yellow","aqua","magenta","grey","teal"]);
numA={2:15:1};
numB={2:15:1};
numC={2:15:1};
numB={2:15:1};
numAB={2:15:1};
numAC={2:15:1};
numBC={2:15:1};
numABC={2:15:1};
scenario={["goat","pig","chicken","own a","as a pet"],["dog","cat","hamster","own a","as a pet"],["Tablet","Computer","phone","work on a","for math class"],["cupcake","cake","ice cream","like a","for their birthday"],["gold","platinum","silver","like","jewelry"],["pencil","marker","pen","use a","for math class"],["juice","water","coffee","like to drink","with their breakfast"],["cheese","hawaiian","pepperoni","like to eat a slice of","pizza for dinner"],["eggs","pancakes","sausage","like","for breakfast"],["hymns","pop-songs","kid songs","like to sing","in the shower"],["Python","CAD","Scratch","want to learn","before they graduate high school"],["tea","coffee","water","like to drink","in the morning"],["computer","phone", "tablet", "work on a", "for math class"], ["ice cream","cake","cupcake","like a","for their birthday"],["platinum","silver","gold", "like","jewelry"],["pen","pencil","marker","use a","for math class"],["coffee","water","juice","like to drink","with their breakfast"],["pepperoni","cheese","hawaiian", "like to eat a slice of","pizza for dinner"],["sausage","pancakes","eggs","like","for breakfast"],["kid songs","pop-songs","hymns","like to sing Christian","in the shower"],["CAD","Scratch","Python","want to learn","before they graduate high school"],["coffee","tea","water","like to drink","in the morning"]};]]></text>
</varsrandom>
<varsglobal><text>color1=colors[0];
color2=colors[1];
color3=colors[2];
titleA=scenario[0];
titleB=scenario[1];
titleC=scenario[2];
begin=scenario[3];
end=scenario[4];
total=numA+numB+numC+numAB+numBC+numAC + numABC;</text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numA+numAC+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">A.&nbsp; How many students {begin} {titleA}? {_0} students</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA}? There are {numA} students who {begin} {titleA}. <br>
There are {numAB} students who {begin} {titleA} and {titleB}.<br>
There are {numAC} students who {begin} {titleA} and {titleC}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are {numA} + {numAB} + {numAC} + {numABC} = {=numAB+numA+numAC+numABC} students in total that {begin} {titleA}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:.25});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    

</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">B.&nbsp; How many students {begin} {titleA}, {titleB}, and {titleC}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA}, {titleB}, and {titleC}? 
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br><jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:.25});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.25});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:.25});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">C.&nbsp; How many students {begin} {titleA} <strong>and </strong>{titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA} and {titleB}? Determine what part or parts of the graph are included in the overlap of {titleA} and {titleB}.
There are {numAB} students who {begin} {titleA} and {titleB}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are  {numAB} +  {numABC} = {=numAB+numABC} students in total that {begin} {titleA} and {titleB}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:.25});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:.25});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>3</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.2</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>total</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">D.&nbsp; How many students were surveyed?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Add the numbers to determine the total number of students.&nbsp; {numA} + {numB} + {numAB} +{numAC} + {numBC} + {numABC} = {total}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>4</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numB</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">E.&nbsp; How many students <strong>only </strong>{begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p>How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleB}? There are {numB} students who {begin} {titleB}.&nbsp;</p>
<p>All the other sections have chosen other choices, therefore&nbsp;there are {numB} students in total that {begin} {titleB}.</p>
<jsxgraph width="300" height="300">

    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});



    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});

    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.25});

    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});

    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'white',fillOpacity:1});
 var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:1});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:0});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'white',fillOpacity:0});

   
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});

    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});





</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>5</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numA</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">F.&nbsp; How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleA}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students only {begin} {titleA}? There are {numA} students who {begin} {titleA}. <br>

All the other sections have chosen other choices, therefore there are {numA} students in total that {begin} {titleA}.
<jsxgraph width="300" height="300">

    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});



    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});



    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});

    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:1});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'white',fillOpacity:1});
  var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:1});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0});


    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});

    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});





</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361554  -->
  <question type="formulas">
    <name>
      <text>L69- Three Circles (v2)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[The venn diagram shown shows the results of a class survey regarding the number of students that {begin} {titleA}, {titleB}, or {titleC} {end}.&nbsp; Use the venn diagram to answer the following questions.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0.1});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.1});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0.1});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[colors=shuffle(["red","green","orange","blue","purple","pink","brown","yellow","aqua","magenta","grey","teal"]);
numA={2:15:1};
numB={2:15:1};
numC={2:15:1};
numB={2:15:1};
numAB={2:15:1};
numAC={2:15:1};
numBC={2:15:1};
numABC={2:15:1};
scenario={["goat","pig","chicken","own a","as a pet"],["dog","cat","hamster","own a","as a pet"],["Tablet","Computer","phone","work on a","for math class"],["cupcake","cake","ice cream","like a","for their birthday"],["gold","platinum","silver","like","jewelry"],["pencil","marker","pen","use a","for math class"],["juice","water","coffee","like to drink","with their breakfast"],["cheese","hawaiian","pepperoni","like to eat a slice of","pizza for dinner"],["eggs","pancakes","sausage","like","for breakfast"],["hymns","pop-songs","kid songs","like to sing","in the shower"],["Python","CAD","Scratch","want to learn","before they graduate high school"],["tea","coffee","water","like to drink","in the morning"],["computer","phone", "tablet", "work on a", "for math class"], ["ice cream","cake","cupcake","like a","for their birthday"],["platinum","silver","gold", "like","jewelry"],["pen","pencil","marker","use a","for math class"],["coffee","water","juice","like to drink","with their breakfast"],["pepperoni","cheese","hawaiian", "like to eat a slice of","pizza for dinner"],["sausage","pancakes","eggs","like","for breakfast"],["kid songs","pop-songs","hymns","like to sing Christian","in the shower"],["CAD","Scratch","Python","want to learn","before they graduate high school"],["coffee","tea","water","like to drink","in the morning"]};]]></text>
</varsrandom>
<varsglobal><text>color1=colors[0];
color2=colors[1];
color3=colors[2];
titleA=scenario[0];
titleB=scenario[1];
titleC=scenario[2];
begin=scenario[3];
end=scenario[4];
total=numA+numB+numC+numAB+numBC+numAC + numABC;</text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numBC+numC+numAC+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">A.&nbsp; How many students {begin} {titleC}? {_0} students</p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleC}? There are {numC} students who {begin} {titleC}. <br>
There are {numBC} students who {begin} {titleB} and {titleC}.<br>
There are {numAC} students who {begin} {titleA} and {titleC}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are {numC} + {numBC} + {numAC} + {numABC} = {=numBC+numC+numAC+numABC} students in total that {begin} {titleA}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:.25});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAB+numB+numBC+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">B.&nbsp; How many students {begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleB}? There are {numB} students who {begin} {titleB}. <br>
There are {numAB} students who {begin} {titleA} and {titleB}.<br>
There are {numAC} students who {begin} {titleB} and {titleC}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are {numB} + {numAB} + {numBC} + {numABC} = {=numAB+numA+numAC+numABC} students in total that {begin} {titleB}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.25});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numAC+numABC</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">C.&nbsp; How many students {begin} {titleA} <strong>and </strong>{titleC}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students {begin} {titleA} and {titleC}? Determine what part or parts of the graph are included in the overlap of {titleA} and {titleC}.
There are {numAC} students who {begin} {titleA} and {titleC}.<br>
There are {numABC} students who {begin} {titleA}, {titleB} and {titleC}.<br>
Therefore there are {numAC} + {numABC} = {=numAC+numABC} students in total that {begin} {titleA} and {titleC}.
<jsxgraph width="300" height="300">
    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:.25});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0.25});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>3</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.2</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>total</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">D.&nbsp; How many students were surveyed?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">Add the numbers to determine the total number of students.&nbsp; {numA} + {numB} + {numAB} +{numAC} + {numBC} + {numABC} = {total}</p>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>4</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numB</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">E.&nbsp; How many students <strong>only </strong>{begin} {titleB}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[<p>How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleB}? There are {numB} students who {begin} {titleB}.&nbsp;</p>
<p>All the other sections have chosen other choices, therefore&nbsp;there are {numB} students in total that {begin} {titleB}.</p>
<jsxgraph width="300" height="300">

    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});



    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});

    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.25});

    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});

    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'white',fillOpacity:1});
 var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:1});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:0});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'white',fillOpacity:0});

   
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});

    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});





</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
<answers>
 <partindex>
  <text>5</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.16</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>numA</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">F.&nbsp; How many students&nbsp;<strong>only&nbsp;</strong>{begin} {titleA}?&nbsp;{_0} students<br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[How many students only {begin} {titleA}? There are {numA} students who {begin} {titleA}. <br>

All the other sections have chosen other choices, therefore there are {numA} students in total that {begin} {titleA}.
<jsxgraph width="300" height="300">

    var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});



    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});



    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});

    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:1});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'white',fillOpacity:1});
  var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'white',fillOpacity:1});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0});


    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});

    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});

    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});





</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test #9/L69- Venn Diagrams/L69- Data to Venn Diagram</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361559  -->
  <question type="formulas">
    <name>
      <text>L69-words to venn diagram</text>
    </name>
    <questiontext format="html">
      <text>The results of a recent class survey regarding the number of students that {begin} {titleA}, {titleB}, or {titleC} {end} is as follows: {DnumA} students {begin} {titleA}, {DnumB} students {begin} {titleB}, {DnumC} students {begin} {titleC}. {DnumAB} students {begin} {titleA} and {titleB}. {DnumAC} students {begin} {titleA} and {titleC}. {DnumBC} students {begin} {titleB} and {titleC}. {numABC} students {begin} all three.</text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[1. Draw and Label three overlapping circles.
2. Write the total number of each.<br>
<div class="editor-indent" style="margin-left: 30px;">
    Total {titleA} = {DnumA}<br>
    Total {titleB} = {DnumB}<br>
    Total {titleC} = {DnumC}</div>
2. Subtract the number of overlaps from each group, and temporarily write the number in the overlapping section.<br>
<div class="editor-indent" style="margin-left: 30px;">
    Total {titleA} and {titleB} = {DnumAB}<br>
</div>
<div class="editor-indent" style="margin-left: 30px;">
    <div class="editor-indent" style="margin-left: 30px;">therefore only {titleA} = {DnumA}-{DnumAB}={=DnumA-DnumAB}</div>
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleB} = {DnumB}-{DnumAB}={=DnumB-DnumAB}</div>
</div>
<div class="editor-indent" style="margin-left: 30px;">
    Total {titleB} and {titleC} = {DnumBC}<br></div>
<div class="editor-indent" style="margin-left: 30px;">
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleB} = {DnumB}-{DnumBC}={=DnumB-DnumBC}</div>
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleC} = {DnumC}-{DnumBC}={=DnumC-DnumBC}</div>
</div>
<div class="editor-indent" style="margin-left: 30px;">
    Total {titleA} and {titleC} = {DnumAC}<br></div>
<div class="editor-indent" style="margin-left: 30px;">
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleA} = {DnumA}-{DnumAC}={=DnumA-DnumAC}</div>
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleC} = {DnumC}-{DnumAC}={=DnumC-DnumAC}</div>
</div>
3. Subtract the center overlap showing the students chose all three.<br>
<div class="editor-indent" style="margin-left: 30px;">
    Total {titleA} and {titleB} and {titleC} = {numABC}<br></div>
<div class="editor-indent" style="margin-left: 30px;">
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleA} = {=DnumA-DnumAB}-{numABC}={numA}</div>
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleB} = {=DnumB-DnumAB}-{numABC}={numB}</div>
    <div class="editor-indent" style="margin-left: 30px;">
        therefore only {titleC} = {=DnumC-DnumAB}-{numABC}={numC}</div>
</div>
4. Subtract the center overlap showing the students chose all three from each of the overlaps.<br>
<div class="editor-indent" style="margin-left: 30px;">
    Total {titleA} and {titleB} = {DnumAB} - {numABC}={numAB}<br>
    Total {titleB} and {titleC} = {DnumBC} - {numABC}={numBC}<br>
    Total {titleA} and {titleC} = {DnumAC} - {numABC}={numAC}
</div>
<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{axis:false,grid:false,showNavigation:false, keepAspectRatio:true,showCopyright:false,boundingbox:[0,10,10,0]});
    var c1=board.create('circle',[[5,6.5],[5,4.5]],{strokeColor:'{color1}',fixed:true,fillColor:'{color1}',fillOpacity:0.1});
    var t1=board.create('text',[5,9.5,"{titleA}"],{anchorX:'center',anchorY:'top', fixed:true,fontSize:20,strokeColor:'{color1}',fixed:true});
    var c2=board.create('circle',[[3.5,4],[5.5,4]],{strokeColor:'{color2}',fixed:true,fillColor:'{color2}',fillOpacity:0.1});
    var t2=board.create('text',[2.5,2,"{titleB}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color2}',fixed:true});
    var c3=board.create('circle',[[6.5,4],[4.5,4]],{strokeColor:'{color3}',fixed:true,fillColor:'{color3}',fillOpacity:0.1});
    var t3=board.create('text',[8.25,2,"{titleC}"],{anchorX:'middle',anchorY:'top',fixed:true, fontSize:20,strokeColor:'{color3}',fixed:true});
    var tA=board.create('text',[5,6.5,"{numA}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tB=board.create('text',[3.5,4,"{numB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tC=board.create('text',[6.5,4,"{numC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tAB=board.create('text',[4.08,5.37,"{numAB}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tAC=board.create('text',[5.88,5.44,"{numAC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15,strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5,3.86,"{numBC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tCboth=board.create('text',[5.03,4.83,"{numABC}"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tnone=board.create('text',[5,.25,"None:{none} students"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});
    var tnone=board.create('text',[5,9.5,"Total:{totalStudents} students"],{anchorX:'middle', anchorY:'middle', fixed:true, fontSize:15, strokeColor:'black',fixed:true});


</jsxgraph>
The venn diagram shows the results of the survey. The total number of students that answered the survey is the sum of the numbers.<br>&nbsp;{numA} + {numB} + {numC} + {numAB} + {numBC} + {numAC} + {numABC} = {total}.<br>
There are {totalStudents} in the class.<br>
{totalStudents}- {total} = {none} students]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <idnumber></idnumber>
    <correctfeedback format="html">
      <text>Your answer is correct.</text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text>Your answer is partially correct.</text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text>Your answer is incorrect.</text>
    </incorrectfeedback>
    <shownumcorrect/>
<varsrandom><text><![CDATA[colors=shuffle(["red","green","orange","blue","purple","pink","brown","yellow","aqua","magenta","grey","teal"]);
numA={2:15:1};
numB={2:15:1};
numC={2:15:1};
numB={2:15:1};
numAB={5:15:1};
numAC={5:15:1};
numBC={5:15:1};
numABC={0:5:1};
none={0:20:1};
scenario={["goat","pig","chicken","own a","as a pet"],["dog","cat","hamster","own a","as a pet"],["Tablet","Computer","phone","work on a","for math class"],["cupcake","cake","ice cream","like a","for their birthday"],["gold","platinum","silver","like","jewelry"],["pencil","marker","pen","use a","for math class"],["juice","water","coffee","like to drink","with their breakfast"],["cheese","hawaiian","pepperoni","like to eat a slice of","pizza for dinner"],["eggs","pancakes","sausage","like","for breakfast"],["hymns","pop-songs","kid songs","like to sing","in the shower"],["Python","CAD","Scratch","want to learn","before they graduate high school"],["tea","coffee","water","like to drink","in the morning"],["computer","phone", "tablet", "work on a", "for math class"], ["ice cream","cake","cupcake","like a","for their birthday"],["platinum","silver","gold", "like","jewelry"],["pen","pencil","marker","use a","for math class"],["coffee","water","juice","like to drink","with their breakfast"],["pepperoni","cheese","hawaiian", "like to eat a slice of","pizza for dinner"],["sausage","pancakes","eggs","like","for breakfast"],["kid songs","pop-songs","hymns","like to sing Christian","in the shower"],["CAD","Scratch","Python","want to learn","before they graduate high school"],["coffee","tea","water","like to drink","in the morning"]};]]></text>
</varsrandom>
<varsglobal><text>color1=colors[0];
color2=colors[1];
color3=colors[2];
titleA=scenario[0];
titleB=scenario[1];
titleC=scenario[2];
begin=scenario[3];
end=scenario[4];
total=numA+numB+numC+numAB+numBC+numAC + numABC;
totalStudents=none+numA+numB+numC+numAB+numBC+numAC + numABC;
DnumAB=numAB+numABC;
DnumAC=numAC+numABC;
DnumBC=numBC+numABC;
DnumA=numA+numAB+numAC+numABC;
DnumB=numB+numAB+numBC+numABC;
DnumC=numC+numAC+numBC+numABC;

</text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>1</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>none</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text>_err == 0</text>
 </correctness>
 <unitpenalty>
  <text>1</text>
 </unitpenalty>
 <postunit>
  <text></text>
 </postunit>
 <ruleid>
  <text>1</text>
 </ruleid>
 <otherrule>
  <text></text>
 </otherrule>
 <subqtext format="html">
<text><![CDATA[<p dir="ltr" style="text-align: left;">There are {totalStudents} students in the class.&nbsp; How many students did not choose anything?</p>]]></text>
 </subqtext>
 <feedback format="html">
<text></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

</quiz>