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

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test#10/L71- Pythagorean Theorem</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361320  -->
  <question type="formulas">
    <name>
      <text>L71 Pythagorean Theorem (b)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[&nbsp;<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-.25,1.25,1.25,-.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1=board.create('point',[{Xa},{Ya}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p2=board.create('point',[{Xa},0],{name:"",size:"0",fixed:true,showInfobox:false});
    var p0=board.create('point',[0,0],{name:"",size:"0",fixed:true,showInfobox:false});
    var poly=board.create('polygon',[p0,p1,p2],{strokecolor:'magenta',fillColor:'magenta',fillOpacity:'1'});
    var t1=board.create('text',[{Xa}+.1,{Ya}/2,"b"],{fontSize:'20'});
    var t2=board.create('text',[{Xa}/2,-0.1,"{l2}"],{fontSize:'20'});
    var t3=board.create('text',[{Xa}/2,{Ya}/2,"{hy}"],{anchorX:'right',anchorY:'bottom',fontSize:'20'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"></p><table><tbody><tr><td>The triangle is a right triangle.</td><td></td><td>Use the Pythagorean Theorem to<br>determine the length of the 'missing' side.</td></tr><tr><td>a<sup>2</sup>&nbsp;+ b<sup>2</sup>&nbsp;= c<sup>2</sup></td><td></td><td><br>a={l2}<br>b=____<br>c={hy}<br><br></td></tr><tr><td>({l2})<sup>2</sup>&nbsp;+ b<sup>2</sup>&nbsp;= ({hy})<sup>2</sup></td><td></td><td>Substitute the known amounts</td></tr><tr><td>({l2})<sup>2</sup>&nbsp;+ b<sup>2</sup>&nbsp;= ({hy})<sup>2</sup></td><td></td><td><br>Determine the squares of the numbers:<br>({l2})<sup>2</sup>&nbsp;=&nbsp;({l2})({l2}) = {=l2*l2}<br>({hy})<sup>2</sup>&nbsp;= ({hy})({hy}) = {=hy*hy}<br><br></td></tr><tr><td>{=l2*l2} + b<sup>2</sup>&nbsp;= {=hy*hy}<br>-{=l2*l2}&nbsp; &nbsp; &nbsp; -{=l2*l2}<br></td><td></td><td>Subtract&nbsp;{=l2*l2} from both sides</td></tr><tr><td>b<sup>2</sup>&nbsp;= {=(hy*hy) - (l2*l2)}</td><td></td><td>Simplify</td></tr><tr><td>\(\sqrt{b^2}\)&nbsp;= \(\sqrt{{=(hy*hy) - (l2*l2)}}\)</td><td></td><td>Take the Square root of both sides.</td></tr><tr><td>b&nbsp;= {l1}</td><td></td><td><br>Simplify&nbsp; &nbsp;(The length is measured<br>on a ruler, therefore it is a positive answer.)</td></tr></tbody></table><p dir="ltr" style="text-align: left;"><br></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>triplet={[3,4,5],[5,12,13],[8,15,17],[6,8,10],[9,12,15],[15,20,25],[12,16,20]};</text>
</varsrandom>
<varsglobal><text>triplet=[6,8,10];
l1=triplet[0];
l2=triplet[1];
hy=triplet[2];
theta=asin(l1/hy);
Xa=cos(theta);
Ya=sin(theta);</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>l1</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[Determine the length of the missing side of the triangle.<p dir="ltr" style="text-align: left;">b={_0}</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: 361319  -->
  <question type="formulas">
    <name>
      <text>L71- Pythagorean Theorem (a)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-.25,1.25,1.25,-.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1=board.create('point',[{Xa},{Ya}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p2=board.create('point',[{Xa},0],{name:"",size:"0",fixed:true,showInfobox:false});
    var p0=board.create('point',[0,0],{name:"",size:"0",fixed:true,showInfobox:false});
    var poly=board.create('polygon',[p0,p1,p2],{strokecolor:'black',fillColor:'navy',fillOpacity:'1'});
    var t1=board.create('text',[{Xa}+.1,{Ya}/2,"b"],{fontSize:'20'});
    var t2=board.create('text',[{Xa}/2,-0.1,"{l2}"],{fontSize:'20'});
    var t3=board.create('text',[{Xa}/2,{Ya}/2,"{hy}"],{anchorX:'right',anchorY:'bottom',fontSize:'20'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td>The triangle is a right triangle.</td>
            <td></td>
            <td>Use the Pythagorean Theorem to <br>determine the length of the 'missing' side.</td>
        </tr>
        <tr>
            <td>a<sup>2</sup> + b<sup>2</sup> = c<sup>2</sup></td>
            <td></td>
            <td><br>a=____<br>b={l2}<br>c={hy}<br><br></td>
        </tr>
        <tr>
            <td>b<sup>2</sup>&nbsp;+ ({l2})<sup>2</sup>&nbsp;= ({hy})<sup>2</sup></td>
            <td></td>
            <td>Substitute the known amounts</td>
        </tr>
        <tr>
            <td>b<sup>2</sup>&nbsp;+ ({l2})<sup>2</sup>&nbsp;= ({hy})<sup>2</sup></td>
            <td></td>
            <td><br>Determine the squares of the numbers:<br>({l2})<sup>2</sup>&nbsp;=&nbsp;({l2})({l2}) = {=l2*l2}<br>({hy})<sup>2</sup>&nbsp;= ({hy})({hy}) = {=hy*hy}<br><br></td>
        </tr>
        <tr>
            <td>b<sup>2</sup>&nbsp;+ {=l2*l2} = {=hy*hy}<br>&nbsp; &nbsp; -{=l2*l2}&nbsp; &nbsp; &nbsp; -{=l2*l2}<br></td>
            <td></td>
            <td>Subtract&nbsp;{=l2*l2} from both sides</td>
        </tr>
         <tr>
            <td>b<sup>2</sup>&nbsp;= {=(hy*hy) - (l2*l2)}</td>
            <td></td>
            <td>Simplify</td>
        </tr> <tr>
            <td>\(\sqrt{b^2}\)&nbsp;= \(\sqrt{{=(hy*hy) - (l2*l2)}}\)</td>
            <td></td>
            <td>Take the Square root of both sides.</td>
        </tr><tr>
            <td>b&nbsp;= {l1}</td>
            <td></td>
            <td><br>Simplify&nbsp; &nbsp;(The length is measured <br>on a ruler, therefore it is a positive answer.)</td>
        </tr>
    </tbody>
</table><p dir="ltr" style="text-align: left;"><br></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>triplet={[3,4,5],[5,12,13],[8,15,17],[6,8,10],[9,12,15],[15,20,25],[12,16,20]};</text>
</varsrandom>
<varsglobal><text>triplet= [8,15,17];
l1=triplet[0];
l2=triplet[1];
hy=triplet[2];
theta=asin(l1/hy);
Xa=cos(theta);
Ya=sin(theta);</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>l1</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;">Determine
    the
    length of the missing side of the triangle.<br>b={_0}</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: 361321  -->
  <question type="formulas">
    <name>
      <text>L71-Pythagorean Theorem (hy)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-.25,1.25,1.25,-.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1=board.create('point',[{Xa},{Ya}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p2=board.create('point',[{Xa},0],{name:"",size:"0",fixed:true,showInfobox:false});
    var p0=board.create('point',[0,0],{name:"",size:"0",fixed:true,showInfobox:false});
    var poly=board.create('polygon',[p0,p1,p2],{strokeColor:'orange',fillColor:'orange',fillOpacity:'1'});
    var t1=board.create('text',[{Xa}+.1,{Ya}/2,"{l1}"],{fontSize:'20'});
    var t2=board.create('text',[{Xa}/2,-0.1,"{l2}"],{fontSize:'20'});
    var t3=board.create('text',[{Xa}/2,{Ya}/2,"c"],{anchorX:'right',anchorY:'bottom',fontSize:'20'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"></p><table><tbody><tr><td>The triangle is a right triangle.</td><td></td><td>Use the Pythagorean Theorem to<br>determine the length of the 'missing' side.</td></tr><tr><td>a<sup>2</sup>&nbsp;+ b<sup>2</sup>&nbsp;= c<sup>2</sup></td><td></td><td><br>a={l2}<br>b={l1}<br>c=___<br><br></td></tr><tr><td>({l2})<sup>2</sup>&nbsp;+ ({l1})<sup>2</sup>&nbsp;= c<sup>2</sup></td><td></td><td>Substitute the known amounts</td></tr><tr><td>({l2})<sup>2</sup>&nbsp;+&nbsp;({l1})<sup>2</sup>&nbsp;= c<sup>2</sup></td><td></td><td><br>Determine the squares of the numbers:<br>({l2})<sup>2</sup>&nbsp;=&nbsp;({l2})({l2}) = {=l2*l2}<br>&nbsp;({l1})<sup>2</sup>&nbsp;= &nbsp;({l1})&nbsp;({l1}) = {=l1*l1}<br><br></td></tr><tr><td>{=l2*l2} + {=l1*l1}<sup></sup>&nbsp;= c<sup>2</sup><br><br></td><td></td><td>Add&nbsp;{=l2*l2} + {=l1*l1}<sup></sup>&nbsp;&nbsp;</td></tr><tr><td>{=l2*l2+l1*l1}&nbsp;&nbsp;= c<sup>2</sup></td><td></td><td>Simplify</td></tr><tr><td>\(\sqrt{{sums}}\)&nbsp;= \(\sqrt{c^2}\)</td><td></td><td>Take the Square root of both sides.</td></tr><tr><td>{hy} = c</td><td></td><td><br>Simplify&nbsp; &nbsp;(The length is measured<br>on a ruler, therefore it is a positive answer.)</td></tr></tbody></table><p dir="ltr" style="text-align: left;"><br></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>triplet={[3,4,5],[5,12,13],[8,15,17],[6,8,10],[9,12,15],[15,20,25],[12,16,20]};</text>
</varsrandom>
<varsglobal><text>triplet=[20,15,25];
l1=triplet[0];
l2=triplet[1];
hy=triplet[2];
theta=asin(l1/hy);
Xa=cos(theta);
Ya=sin(theta);
sums=l2*l2+l1*l1;</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>hy</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={_0}</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#10/L72- Volume of Rectangular Prisms</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361599  -->
  <question type="formulas">
    <name>
      <text>L72- Volume of cubes</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="400" height="400">
    var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-2,8,8,-2],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p0=board.create('point',[0,0],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[0,{w}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p2=board.create('point',[{l},{w}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p3=board.create('point',[{l},0],{name:"",size:"0",fixed:true,showInfobox:false});
    var p4=board.create('point',[{l}/2,{w}/2],{name:"",size:"0",fixed:true,showInfobox:false});
    var p5=board.create('point',[{l}/2,3*{w}/2],{name:"",size:"0",fixed:true,showInfobox:false});
    var p6=board.create('point',[3*{l}/2,3*{w}/2],{name:"",size:"0", fixed:true,showInfobox:false});
    var p7=board.create('point',[3*{l}/2,{w}/2],{name:"",size:"0",fixed:true,showInfobox:false});


    var poly1=board.create('polygon',[p0,p1,p2,p3],{strokeColor:'black', fillColor:'{color}', fillOpacity:'.3'});
    var poly2=board.create('polygon',[p1,p5,p6,p2],{strokeColor:'black', fillColor:'{color}', fillOpacity:'.5'});
    var poly3=board.create('polygon',[p3,p2,p6,p7],{strokeColor:'black', fillColor:'{color}', fillOpacity:'.7'});
    varl1=board.create('line',[p5,p4],{strokeColor:'black',dash:'2',straightFirst:false,straightLast:false});
    varl1=board.create('line',[p4,p7],{strokeColor:'black',dash:'2',straightFirst:false,straightLast:false}); varl1=board.create('line',[p4,p0],{strokeColor:'black',dash:'2',straightFirst:false,straightLast:false});
    var tl=board.create('text',[{l}/2,-.1,"{s} {units}"],{anchorX:'left',anchorY:top,fontSize:'20'});
    var t2=board.create('text',[-.1,{w}/2,"{s} {units}"],{anchorX:'right',fontSize:'20'});
    var t3=board.create('text',[5*{l}/4,{w}/4,"{s} {units}"],{anchorX:'left',anchorY:'top',fontSize:'20'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[To find the Volume of a rectangular prism multiply the length times the width times the height.
<br>
<table>
    <tbody>
        <tr>
            <td>V = s<sup>3</sup></td>
            <td></td>
            <td>Formula for Volume</td>
        </tr><tr>
            <td>V=({s})<sup>3</sup></td>
            <td></td>
            <td>Substitute the known values<br>s= {s} {units}<br></td>
        </tr><tr>
            <td>V = ({s})({s})({s})</td>
            <td></td>
            <td>Multiply ({s})({s})({s})</td>
        </tr><tr>
            <td>V = {volume} {unit[2]}</td>
            <td></td>
            <td>Write the Units</td>
        </tr><tr>
            <td><br></td>
            <td></td>
            <td></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[s={1:10:1};
units={"feet","meters","yards","cm","mm","km","inches"};
color={"red","orange","green","blue","yellow","magenta","brown"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[l=4;
w=l;
h=l;
volume=s*s*s;
unit=[units,join("",units,"<sup>2</sup"),join("",units,"<sup>3</sup")];
volUnit=2;]]></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>[volume,volUnit]</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[Calculate the Volume of the Cube.<br><table><tbody><tr><td>Volume={_0}</td><td>{_1:unit}</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>
  </question>

<!-- question: 361598  -->
  <question type="formulas">
    <name>
      <text>L72- Volume of Rectangular Prisms</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<jsxgraph width="400" height="400">
    var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-2,8,8,-2],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p0=board.create('point',[0,0],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[0,{w}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p2=board.create('point',[{l},{w}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p3=board.create('point',[{l},0],{name:"",size:"0",fixed:true,showInfobox:false});
    var p4=board.create('point',[{l}/2,{w}/2],{name:"",size:"0",fixed:true,showInfobox:false});
    var p5=board.create('point',[{l}/2,3*{w}/2],{name:"",size:"0",fixed:true,showInfobox:false});
    var p6=board.create('point',[3*{l}/2,3*{w}/2],{name:"",size:"0", fixed:true,showInfobox:false});
    var p7=board.create('point',[3*{l}/2,{w}/2],{name:"",size:"0",fixed:true,showInfobox:false});


    var poly1=board.create('polygon',[p0,p1,p2,p3],{strokeColor:'black', fillColor:'{color}', fillOpacity:'.3'});
    var poly2=board.create('polygon',[p1,p5,p6,p2],{strokeColor:'black', fillColor:'{color}', fillOpacity:'.5'});
    var poly3=board.create('polygon',[p3,p2,p6,p7],{strokeColor:'black', fillColor:'{color}', fillOpacity:'.7'});
    varl1=board.create('line',[p5,p4],{strokeColor:'black',dash:'2',straightFirst:false,straightLast:false});
    varl1=board.create('line',[p4,p7],{strokeColor:'black',dash:'2',straightFirst:false,straightLast:false}); varl1=board.create('line',[p4,p0],{strokeColor:'black',dash:'2',straightFirst:false,straightLast:false});
    var tl=board.create('text',[{l}/2,-.1,"{dl} {units}"],{anchorX:'left',anchorY:top,fontSize:'20'});
    var t2=board.create('text',[-.1,{w}/2,"{dw} {units}"],{anchorX:'right',fontSize:'20'});
    var t3=board.create('text',[5*{l}/4,{w}/4,"{dh} {units}"],{anchorX:'left',anchorY:'top',fontSize:'20'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[To find the Volume of a rectangular prism multiply the length times the width times the height.
<br>
<table>
    <tbody>
        <tr>
            <td>V = lwh</td>
            <td></td>
            <td>Formula for Volume</td>
        </tr>
        <tr>
            <td>V=({dl})({dw})({dh})</td>
            <td></td>
            <td>Substitute the known values<br>l= {dl} {units}<br>w= {dw} {units}<br>h= {dh} {units}<br></td>
        </tr>
        <tr>
            <td>V = ({=dl*dw})({dh})</td>
            <td></td>
            <td>Multiply ({dl})({dw})</td>
        </tr>
        <tr>
            <td>V = {volume} {unit[2]}</td>
            <td></td>
            <td>Multiply&nbsp;&nbsp;({=dl*dw})({dh})</td>
        </tr>
        <tr>
            <td><br></td>
            <td></td>
            <td></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[l={2:6:1};
w={2:6:1};
h={1:3:1};
factor={1,2,3,4,5};
units={"feet","meters","yards","cm","mm","km","inches"};
color={"red","orange","green","blue","yellow","magenta","brown"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[dl=l*factor;
dw=w*factor;
dh=h*factor;
volume=dl*dw*dh;
unit=[units,join("",units,"<sup>2</sup"),join("",units,"<sup>3</sup")];
volUnit=2;]]></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>[volume,volUnit]</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[<table><tbody><tr><td>Volume={_0}</td><td>{_1:unit}</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>
  </question>

<!-- question: 0  -->
  <question type="category">
    <category>
      <text>$course$/top/Default for MSII/Test#10/L73- Transversal and Parallel Lines</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361646  -->
  <question type="formulas">
    <name>
      <text>L73- transversal Parallel Lines</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">{vp0}{vp1} is parallel to {vp2}{vp3}.&nbsp; line {pi0}{pi1} intersects the parallel lines. &lt;{=angles[randAngles[0]]} = {=degrees[randAngles[0]]}<sup>o</sup></p>

<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{v1a}",
    size:"1",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"{v1b}",
    size:"1",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"{pi0}",size:"1",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"{pi1}",size:"1",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{vp0}",size:"1",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"{vp1}",size:"1",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{vp2}",size:"1",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"{vp3}",size:"1",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{v1a}",
    size:"1",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"{v1b}",
    size:"1",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"{pi0}",size:"1",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"{pi1}",size:"1",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{vp0}",size:"1",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"{vp1}",size:"1",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{vp2}",size:"1",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"{vp3}",size:"1",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}+.2,{Ypi0}+.1,"{deg}<sup>o</sup>"],{fontSize:20,strokeColor:'green'});
    var tA2=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"{deg}<sup>o</sup>"],{fontSize:20,strokeColor:'green'});
    var tA3=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"{deg}<sup>o</sup>"],{fontSize:20,strokeColor:'green'});
    var tA4=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"{deg}<sup>o</sup>"],{fontSize:20,strokeColor:'green'});
    var tA5=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"{sup}<sup>o</sup>"],{fontSize:20,strokeColor:'red'});
    var tA6=board.create('text',[{Xpi0}+.2,{Ypi0}-.1,"{sup}<sup>o</sup>"],{fontSize:20,strokeColor:'red'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"{sup}<sup>o</sup>"],{fontSize:20,strokeColor:'red'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"{sup}<sup>o</sup>"],{fontSize:20,strokeColor:'red'});
</jsxgraph>]]></text>
    </generalfeedback>
    <defaultgrade>0.9900000</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={.5:2.7:.05};
vertices=shuffle(["A","B","C","D","E","F","G","H","L","M","N","P","Q","R","S","T","V","W","X","Y","Z"]);
randAngles=shuffle([0,1,2,3,4,5,6,7]);]]></text>
</varsrandom>
<varsglobal><text><![CDATA[randAngles=[0,1,2,3,4,5,6,7];
v1a=vertices[0];
v1b=vertices[1];
vp0=vertices[2];
vp1=vertices[3];
vp2=vertices[4];
vp3=vertices[5];
pi0=vertices[6];
pi1=vertices[7];
Xa=cos(angle);
Ya=sin(angle);
Xb=cos(angle+pi());
Yb=sin(angle+pi());
deg=round(angle*180/pi(),0);
sup=180-deg;
m=(Ya-Yb)/(Xa-Xb);
b=Ya-m*Xa;
Xpi0=(.25-b)/m;
Ypi0=.25;
Xpi1=(-.25-b)/m;
Ypi1=-.25;
angles=[join("",v1a,pi0,vp0),join("",v1a,pi0,vp1),join("",vp0,pi0,pi1), join("",vp1,pi0,pi1),join("",pi0,pi1,vp2),join("",pi0,pi1,vp3), join("",vp2,pi1,v1b),join("",vp3,pi1,v1b)];
degrees=[180-deg,deg,deg,180-deg,180-deg,deg,deg,180-deg];]]></text>
</varsglobal>
<answernumbering><text>abc</text>
</answernumbering>
<answers>
 <partindex>
  <text>0</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.33</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>degrees[randAngles[1]]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.01]]></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[&lt;{=angles[randAngles[1]]}={_0}<sup>o</sup>
<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 = 70;
    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>
<answers>
 <partindex>
  <text>1</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.33</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>degrees[randAngles[2]]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.01]]></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;">&lt;{=angles[randAngles[2]]}={_0}<sup>o</sup><br></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>
<answers>
 <partindex>
  <text>2</text>
 </partindex>
 <placeholder>
  <text></text>
 </placeholder>
 <answermark>
  <text>0.33</text>
 </answermark>
 <answertype>
  <text>0</text>
 </answertype>
 <numbox>
  <text>1</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>degrees[randAngles[3]]</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.01]]></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;">&lt;{=angles[randAngles[3]]}={_0}<sup>o</sup><br></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: 365977  -->
  <question type="formulas">
    <name>
      <text>L73- transversal-FIND x-supplementary angles</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"><span style="font-size: 0.9375rem;">line {pl1Name} is parallel to line {pl2Name}.&nbsp;</span><br></p>

<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"1"],{fontSize:20,strokeColor:'black'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"2"],{fontSize:20,strokeColor:'black'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"3"],{fontSize:20,strokeColor:'black'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"4"],{fontSize:20,strokeColor:'black'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"5"],{fontSize:20,strokeColor:'black'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"6"],{fontSize:20,strokeColor:'black'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"7"],{fontSize:20,strokeColor:'black'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"8"],{fontSize:20,strokeColor:'black'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[The congruent angles are the same color.&nbsp; The supplementary angles are different colors.&nbsp; Meaning, a blue number angle is supplementary to a green numbered angle.&nbsp;&lt;{Ang} and &lt;{AngAns} are supplementary angles&nbsp;<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"1"],{fontSize:20,strokeColor:'blue'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"2"],{fontSize:20,strokeColor:'green'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"3"],{fontSize:20,strokeColor:'green'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"4"],{fontSize:20,strokeColor:'blue'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"5"],{fontSize:20,strokeColor:'blue'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"6"],{fontSize:20,strokeColor:'green'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"7"],{fontSize:20,strokeColor:'green'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"8"],{fontSize:20,strokeColor:'blue'});
</jsxgraph>
<table>
    <tbody>
        <tr>
            <td>&lt;{Ang}={a}x+{b} and &lt;{AngAns}={c}x+{d}</td>
            <td></td>
            <td>given</td>
        </tr>
        <tr>
            <td>&lt;{Ang} and &lt;{AngAns} are supplementary</td>
            <td></td>
            <td>The angles add to 180<sup>o</sup></td>
        </tr>
        <tr>
            <td>{a}x+{b} + {c}x+{d} = 180</td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td><span class="" style="color: rgb(255, 51, 102);">{a}x + {c}x</span>&nbsp; &nbsp; &nbsp;<span class="" style="color: rgb(51, 102, 255);">+{b}+{d}</span> = 180</td>
            <td></td>
            <td>To simplify, combine the like terms<br><span class="" style="color: rgb(255, 51, 102);">{a}x + {c}x = {=a+c}x</span><br><span class="" style="color: rgb(51, 102, 255);">+{b}+{d} = {=b+d}</span><br></td>
        </tr> <tr>
            <td>{=a+c}x + {=b+d} = 180<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <u>-{=b+d}</u>&nbsp; &nbsp;<u>-{=b+d}</u><br></td>
            <td></td>
            <td>Subtract&nbsp;{=b+d} from both sides</td>
        </tr> <tr>
            <td><u>{=a+c}x</u>&nbsp; = <span><u>{=180-(b+d)}</u><br>{=a+c}&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="">{=a+c}</span></span></td>
            <td></td>
            <td>Divide both sides by {=a+c}</td>
        </tr> <tr>
            <td>x = {x}</td>
            <td></td>
            <td>The value of x.&nbsp;&nbsp;</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>angle={.5:2.7:.05};
vStart={0:18:1};
x={1:30:1};
a={-5,-4,-3,-2,2,3,4,5};
c={-4,-3,-2,2,3};
axPb={30:90:1};
randAngles={[2,1],[2,4],[2,5],[2,8],[3,1],[3,4],[3,5],[3,8],[6,1],[6,4],[6,5],[6,8],[7,1],[7,4],[7,5],[7,8]};</text>
</varsrandom>
<varsglobal><text><![CDATA[a=(a==(-1*c))?a+1:a;
b=axPb-a*x;
cxPd=180-axPb;
d=cxPd-c*x;
deg=c*x+d;
sup=180-deg;
angle=deg*pi()/180;
vertices=["A","B","C","D","E","F","G","H","L","M","N","P","Q","R","S","T","V","W",
"X","Y","Z"];
l1Name=vertices[vStart];
pl1Name=vertices[vStart+1];
pl2Name=vertices[vStart+2];
v1a=l1Name;
v1b=pl1Name;
vp0=pl2Name;
vp1=vertices[3];
vp2=vertices[4];
vp3=vertices[5];
pi0=vertices[6];
pi1=vertices[7];
Xa=cos(angle);
Ya=sin(angle);
Xb=cos(angle+pi());
Yb=sin(angle+pi());

m=(Ya-Yb)/(Xa-Xb);
bInt=Ya-m*Xa;
Xpi0=(.25-bInt)/m;
Ypi0=.25;
Xpi1=(-.25-bInt)/m;
Ypi1=-.25;
angles=["1","2","3","4","5","6","7","8"];
degrees=[180-deg,deg,deg,180-deg,180-deg,deg,deg,180-deg];
choices=[1,2,3,4,5,6,7,8];
Ang=randAngles[1];
AngAns=randAngles[0];]]></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>x</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.01]]></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[&lt;{Ang}={a}x+{b} and &lt;{AngAns}={c}x+{d}<br>The value of x = {_0}<br>]]></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: 365978  -->
  <question type="formulas">
    <name>
      <text>L73- transversal-FIND x2-supplementary angles</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"><span style="font-size: 0.9375rem;">line {pl1Name} is parallel to line {pl2Name}.&nbsp;</span><br></p>

<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"1"],{fontSize:20,strokeColor:'black'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"2"],{fontSize:20,strokeColor:'black'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"3"],{fontSize:20,strokeColor:'black'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"4"],{fontSize:20,strokeColor:'black'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"5"],{fontSize:20,strokeColor:'black'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"6"],{fontSize:20,strokeColor:'black'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"7"],{fontSize:20,strokeColor:'black'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"8"],{fontSize:20,strokeColor:'black'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[The congruent angles are the same color.&nbsp; The supplementary angles are different colors.&nbsp; Meaning, a blue number angle is supplementary to a green numbered angle.&nbsp;&lt;{Ang} and &lt;{AngAns} are supplementary angles&nbsp;<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"1"],{fontSize:20,strokeColor:'blue'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"2"],{fontSize:20,strokeColor:'green'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"3"],{fontSize:20,strokeColor:'green'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"4"],{fontSize:20,strokeColor:'blue'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"5"],{fontSize:20,strokeColor:'blue'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"6"],{fontSize:20,strokeColor:'green'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"7"],{fontSize:20,strokeColor:'green'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"8"],{fontSize:20,strokeColor:'blue'});
</jsxgraph>
<table>
    <tbody>
        <tr>
            <td>&lt;{Ang}={a}x+{b} and &lt;{AngAns}={c}x+{d}</td>
            <td></td>
            <td>given</td>
        </tr>
        <tr>
            <td>&lt;{Ang} and &lt;{AngAns} are supplementary</td>
            <td></td>
            <td>The angles add to 180<sup>o</sup></td>
        </tr>
        <tr>
            <td>{a}x+{b} + {c}x+{d} = 180</td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td><span class="" style="color: rgb(255, 51, 102);">{a}x + {c}x</span>&nbsp; &nbsp; &nbsp;<span class="" style="color: rgb(51, 102, 255);">+{b}+{d}</span> = 180</td>
            <td></td>
            <td>To simplify, combine the like terms<br><span class="" style="color: rgb(255, 51, 102);">{a}x + {c}x = {=a+c}x</span><br><span class="" style="color: rgb(51, 102, 255);">+{b}+{d} = {=b+d}</span><br></td>
        </tr> <tr>
            <td>{=a+c}x + {=b+d} = 180<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<u>-{=b+d}</u>&nbsp; &nbsp;<u>-{=b+d}</u><br></td>
            <td></td>
            <td>Subtract&nbsp;{=b+d} from both sides</td>
        </tr> <tr>
            <td><u>{=a+c}x</u>&nbsp; = <span><u>{=180-(b+d)}</u><br>{=a+c}&nbsp; &nbsp; &nbsp; &nbsp;<span style="">{=a+c}</span></span></td>
            <td></td>
            <td>Divide both sides by {=a+c}</td>
        </tr> <tr>
            <td>x = {x}</td>
            <td></td>
            <td>The value of x.&nbsp;&nbsp;</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>vStart={0:18:1};
x={1:30:1};
a={-5,-4,-3,-2,2,3,4,5};
c={-4,-3,-2,2,3};
cxPd={30:90:1};

randAngles={[2,1],[2,4],[2,5],[2,8],[3,1],[3,4],[3,5],[3,8],[6,1],[6,4],[6,5],[6,8],[7,1],[7,4],[7,5],[7,8]};</text>
</varsrandom>
<varsglobal><text><![CDATA[a=(a==(-1*c))?a+1:a;
d=cxPd-c*x;
axPb=180-cxPd;
b=axPb-a*x;
deg=c*x+d;
sup=180-deg;
angle=deg*pi()/180;
vertices=["A","B","C","D","E","F","G","H","L","M","N","P","Q","R","S","T","V","W",
"X","Y","Z"];
l1Name=vertices[vStart];
pl1Name=vertices[vStart+1];
pl2Name=vertices[vStart+2];
v1a=l1Name;
v1b=pl1Name;
vp0=pl2Name;
vp1=vertices[3];
vp2=vertices[4];
vp3=vertices[5];
pi0=vertices[6];
pi1=vertices[7];
Xa=cos(angle);
Ya=sin(angle);
Xb=cos(angle+pi());
Yb=sin(angle+pi());

m=(Ya-Yb)/(Xa-Xb);
bInt=Ya-m*Xa;
Xpi0=(.25-bInt)/m;
Ypi0=.25;
Xpi1=(-.25-bInt)/m;
Ypi1=-.25;
angles=["1","2","3","4","5","6","7","8"];
degrees=[180-deg,deg,deg,180-deg,180-deg,deg,deg,180-deg];
choices=[1,2,3,4,5,6,7,8];
Ang=randAngles[1];
AngAns=randAngles[0];]]></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>x</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.01]]></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[&lt;{Ang}={a}x+{b} and &lt;{AngAns}={c}x+{d}<br>The value of x = {_0}<br>]]></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: 365979  -->
  <question type="formulas">
    <name>
      <text>L73- transversal-FIND xANG-supplementary angles</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"><span style="font-size: 0.9375rem;">line {pl1Name} is parallel to line {pl2Name}.&nbsp;</span><br></p>

<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"1"],{fontSize:20,strokeColor:'black'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"2"],{fontSize:20,strokeColor:'black'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"3"],{fontSize:20,strokeColor:'black'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"4"],{fontSize:20,strokeColor:'black'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"5"],{fontSize:20,strokeColor:'black'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"6"],{fontSize:20,strokeColor:'black'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"7"],{fontSize:20,strokeColor:'black'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"8"],{fontSize:20,strokeColor:'black'});
</jsxgraph>]]></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>#angle={.5:2.7:.05};
vStart={0:18:1};
x={1:30:1};
c={-5,-2,4,5,2,-4,7,-7};
a={-6,6,-3,3,-1,8,-8};
axPb={30:90:1};


randAngles={[1,2],[1,3],[1,6],[1,7],[4,2],[4,3],[4,6],[4,7],[5,2],[5,3],[5,6],[5,7],[8,2],[8,3],[8,6],[8,7]};
randomAng={0,1,2,3,4,5,6,7};</text>
</varsrandom>
<varsglobal><text><![CDATA[a=(a==(-1*c))?a+1:a;
b=axPb-a*x;
cxPd=180-axPb;
d=cxPd-c*x;
deg=c*x+d;
sup=180-deg;
angle=deg*pi()/180;
vertices=["A","B","C","D","E","F","G","H","L","M","N","P","Q","R","S","T","V","W",
"X","Y","Z"];
l1Name=vertices[vStart];
pl1Name=vertices[vStart+1];
pl2Name=vertices[vStart+2];
v1a=l1Name;
v1b=pl1Name;
vp0=pl2Name;
vp1=vertices[3];
vp2=vertices[4];
vp3=vertices[5];
pi0=vertices[6];
pi1=vertices[7];
Xa=cos(angle);
Ya=sin(angle);
Xb=cos(angle+pi());
Yb=sin(angle+pi());

m=(Ya-Yb)/(Xa-Xb);
bInt=Ya-m*Xa;
Xpi0=(.25-bInt)/m;
Ypi0=.25;
Xpi1=(-.25-bInt)/m;
Ypi1=-.25;

angles=["1","2","3","4","5","6","7","8"];
degrees=[180-deg,deg,deg,180-deg,180-deg,deg,deg,180-deg];
ang1=degrees[0];
ang2=degrees[1];
ang3=degrees[2];
ang4=degrees[3];
ang5=degrees[4];
ang6=degrees[5];
ang7=degrees[6];
ang8=degrees[7];

choices=[1,2,3,4,5,6,7,8];
Ang=randAngles[0];
AngAns=randAngles[1];]]></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>x</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.01]]></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[&lt;{Ang}={a}x+{b} and &lt;{AngAns}={c}x+{d}<br>The value of x = {_0}<br>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[The congruent angles are the same color.&nbsp; The supplementary angles are different colors.&nbsp; Meaning, a blue number angle is supplementary to a red numbered angle.&nbsp;&lt;{Ang} and &lt;{AngAns} are supplementary angles&nbsp;<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"1"],{fontSize:20,strokeColor:'blue'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"2"],{fontSize:20,strokeColor:'red'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"3"],{fontSize:20,strokeColor:'red'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"4"],{fontSize:20,strokeColor:'blue'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"5"],{fontSize:20,strokeColor:'blue'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"6"],{fontSize:20,strokeColor:'red'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"7"],{fontSize:20,strokeColor:'red'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"8"],{fontSize:20,strokeColor:'blue'});
</jsxgraph>
<table>
    <tbody>
        <tr>
            <td>&lt;{Ang}={a}x+{b} and &lt;{AngAns}={c}x+{d}</td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td>given</td>
        </tr>
        <tr>
            <td>&lt;{Ang} and &lt;{AngAns} are supplementary</td>
            <td></td>
            <td>The angles add to 180<sup>o</sup></td>
        </tr>
        <tr>
            <td>{a}x+{b} + {c}x+{d} = 180</td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td><span class="" style="color: rgb(255, 51, 102);">{a}x + {c}x</span>&nbsp; &nbsp; &nbsp;<span class="" style="color: rgb(51, 102, 255);">+{b}+{d}</span> = 180</td>
            <td></td>
            <td>To simplify, combine the like terms<br><span class="" style="color: rgb(255, 51, 102);">{a}x + {c}x = {=a+c}x</span><br><span class="" style="color: rgb(51, 102, 255);">+{b}+{d} = {=b+d}</span><br></td>
        </tr>
        <tr>
            <td>{=a+c}x + {=b+d} = 180<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <u>-{=b+d}</u>&nbsp; &nbsp;<u>-{=b+d}</u><br></td>
            <td></td>
            <td>Subtract&nbsp;{=b+d} from both sides<br>180 -&nbsp;{=b+d} =&nbsp;{=180-(b+d)}</td>
        </tr>
        <tr>
            <td><u>{=a+c}x</u>&nbsp; = <span><u>{=180-(b+d)}</u><br>{=a+c}&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="">{=a+c}</span></span></td>
            <td></td>
            <td>Divide both sides by {=a+c}<br><span>{=180-(b+d)}&nbsp;÷ {=a+c} = {x}</span><br></td>
        </tr>
        <tr>
            <td>x = {x}</td>
            <td></td>
            <td>The value of x.&nbsp;&nbsp;</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>degrees[randomAng]</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;">Calculate the measure of &lt;{=1+randomAng}.</p><p dir="ltr" style="text-align: left;">&lt;{=1+randomAng} = {_0}<sup>o</sup><br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[Determine the measure of each angle by substituting {x} for the value of x.
<table>
    <tbody>
        <tr>
            <td>&lt;{Ang}={a}x+{b}<br>
                ({a})({x})+{b}<br>
                {=a*x}+{b}<br>
                {=axPb}</td>
            <td></td>
            <td>Substitute x={x} to determine the measure of &lt;{Ang}</td>
        </tr>
        <tr>
            <td>&lt;{AngAns}={c}x+{d}<br>
                ({c})({x})+{d}<br>
                {=c*x}+{d}<br>
                {=cxPd}</td>
            <td></td>
            <td>Substitute x={x} to determine the measure of &lt;{AngAns}</td>
        </tr>
        <tr>
            <td colspan="3">Use the angle relationships to determine the value of each angle.</td>

        </tr>
    </tbody>
</table>
&nbsp;<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"{ang1}"],{fontSize:20,strokeColor:'blue'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"{ang2}"],{fontSize:20,strokeColor:'red'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"{ang3}"],{fontSize:20,strokeColor:'red'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"{ang4}"],{fontSize:20,strokeColor:'blue'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"{ang5}"],{fontSize:20,strokeColor:'blue'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"{ang6}"],{fontSize:20,strokeColor:'red'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"{ang7}"],{fontSize:20,strokeColor:'red'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"{ang8}"],{fontSize:20,strokeColor:'blue'});
</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 365982  -->
  <question type="formulas">
    <name>
      <text>L73- transversal-FIND xANG-supplementary angles</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"><span style="font-size: 0.9375rem;">line {pl1Name} is parallel to line {pl2Name}.&nbsp;</span><br></p>

<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"1"],{fontSize:20,strokeColor:'black'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"2"],{fontSize:20,strokeColor:'black'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"3"],{fontSize:20,strokeColor:'black'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"4"],{fontSize:20,strokeColor:'black'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"5"],{fontSize:20,strokeColor:'black'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"6"],{fontSize:20,strokeColor:'black'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"7"],{fontSize:20,strokeColor:'black'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"8"],{fontSize:20,strokeColor:'black'});
</jsxgraph>]]></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>angle={.5:2.7:.05};
vStart={0:18:1};
x={1:30:1};
a={-5,-4,-3,-2,2,3,4,5};
c={-4,-3,-2,2,3};
axPb={30:90:1};

randAngles={[1,2],[1,3],[1,6],[1,7],[4,2],[4,3],[4,6],[4,7],[5,2],[5,3],[5,6],[5,7],[8,2],[8,3],[8,6],[8,7]};
randomAng={0,1,2,3,4,5,6,7};</text>
</varsrandom>
<varsglobal><text><![CDATA[a=(a==(-1*c))?a+1:a;
b=axPb-a*x;
cxPd=180-axPb;
d=cxPd-c*x;
deg=c*x+d;
sup=180-deg;
angle=deg*pi()/180;
vertices=["A","B","C","D","E","F","G","H","L","M","N","P","Q","R","S","T","V","W",
"X","Y","Z"];
l1Name=vertices[vStart];
pl1Name=vertices[vStart+1];
pl2Name=vertices[vStart+2];
v1a=l1Name;
v1b=pl1Name;
vp0=pl2Name;
vp1=vertices[3];
vp2=vertices[4];
vp3=vertices[5];
pi0=vertices[6];
pi1=vertices[7];
Xa=cos(angle);
Ya=sin(angle);
Xb=cos(angle+pi());
Yb=sin(angle+pi());

m=(Ya-Yb)/(Xa-Xb);
bInt=Ya-m*Xa;
Xpi0=(.25-bInt)/m;
Ypi0=.25;
Xpi1=(-.25-bInt)/m;
Ypi1=-.25;
angles=["1","2","3","4","5","6","7","8"];
degrees=[180-deg,deg,deg,180-deg,180-deg,deg,deg,180-deg];
ang1=degrees[0];
ang2=degrees[1];
ang3=degrees[2];
ang4=degrees[3];
ang5=degrees[4];
ang6=degrees[5];
ang7=degrees[6];
ang8=degrees[7];

choices=[1,2,3,4,5,6,7,8];
Ang=randAngles[0];
AngAns=randAngles[1];]]></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>x</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.01]]></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[&lt;{Ang}={a}x+{b} and &lt;{AngAns}={c}x+{d}<br>The value of x = {_0}<br>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[The congruent angles are the same color.&nbsp; The supplementary angles are different colors.&nbsp; Meaning, a blue number angle is supplementary to a red numbered angle.&nbsp;&lt;{Ang} and &lt;{AngAns} are supplementary angles&nbsp;<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"1"],{fontSize:20,strokeColor:'blue'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"2"],{fontSize:20,strokeColor:'red'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"3"],{fontSize:20,strokeColor:'red'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"4"],{fontSize:20,strokeColor:'blue'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"5"],{fontSize:20,strokeColor:'blue'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"6"],{fontSize:20,strokeColor:'red'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"7"],{fontSize:20,strokeColor:'red'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"8"],{fontSize:20,strokeColor:'blue'});
</jsxgraph>
<table>
    <tbody>
        <tr>
            <td>&lt;{Ang}={a}x+{b} and &lt;{AngAns}={c}x+{d}</td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td>given</td>
        </tr>
        <tr>
            <td>&lt;{Ang} and &lt;{AngAns} are supplementary</td>
            <td></td>
            <td>The angles add to 180<sup>o</sup></td>
        </tr>
        <tr>
            <td>{a}x+{b} + {c}x+{d} = 180</td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td><span class="" style="color: rgb(255, 51, 102);">{a}x + {c}x</span>&nbsp; &nbsp; &nbsp;<span class="" style="color: rgb(51, 102, 255);">+{b}+{d}</span> = 180</td>
            <td></td>
            <td>To simplify, combine the like terms<br><span class="" style="color: rgb(255, 51, 102);">{a}x + {c}x = {=a+c}x</span><br><span class="" style="color: rgb(51, 102, 255);">+{b}+{d} = {=b+d}</span><br></td>
        </tr>
        <tr>
            <td>{=a+c}x + {=b+d} = 180<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <u>-{=b+d}</u>&nbsp; &nbsp;<u>-{=b+d}</u><br></td>
            <td></td>
            <td>Subtract&nbsp;{=b+d} from both sides<br>180 -&nbsp;{=b+d} =&nbsp;{=180-(b+d)}</td>
        </tr>
        <tr>
            <td><u>{=a+c}x</u>&nbsp; = <span><u>{=180-(b+d)}</u><br>{=a+c}&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="">{=a+c}</span></span></td>
            <td></td>
            <td>Divide both sides by {=a+c}<br><span>{=180-(b+d)}&nbsp;÷ {=a+c} = {x}</span><br></td>
        </tr>
        <tr>
            <td>x = {x}</td>
            <td></td>
            <td>The value of x.&nbsp;&nbsp;</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>degrees[randomAng]</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;">Calculate the measure of &lt;{=1+randomAng}.</p><p dir="ltr" style="text-align: left;">&lt;{=1+randomAng} = {_0}<sup>o</sup><br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[Determine the measure of each angle by substituting {x} for the value of x.
<table>
    <tbody>
        <tr>
            <td>&lt;{Ang}={a}x+{b}<br>
                ({a})({x})+{b}<br>
                {=a*x}+{b}<br>
                {=axPb}</td>
            <td></td>
            <td>Substitute x={x} to determine the measure of &lt;{Ang}</td>
        </tr>
        <tr>
            <td>&lt;{AngAns}={c}x+{d}<br>
                ({c})({x})+{d}<br>
                {=c*x}+{d}<br>
                {=cxPd}</td>
            <td></td>
            <td>Substitute x={x} to determine the measure of &lt;{AngAns}</td>
        </tr>
        <tr>
            <td colspan="3">Use the angle relationships to determine the value of each angle.</td>

        </tr>
    </tbody>
</table>
&nbsp;<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"{ang1}"],{fontSize:20,strokeColor:'blue'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"{ang2}"],{fontSize:20,strokeColor:'red'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"{ang3}"],{fontSize:20,strokeColor:'red'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"{ang4}"],{fontSize:20,strokeColor:'blue'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"{ang5}"],{fontSize:20,strokeColor:'blue'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"{ang6}"],{fontSize:20,strokeColor:'red'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"{ang7}"],{fontSize:20,strokeColor:'red'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"{ang8}"],{fontSize:20,strokeColor:'blue'});
</jsxgraph>]]></text>
 </feedback>
 <correctfeedback format="html">
<text></text>
 </correctfeedback>
 <partiallycorrectfeedback format="html">
<text></text>
 </partiallycorrectfeedback>
 <incorrectfeedback format="html">
<text></text>
 </incorrectfeedback>
</answers>
  </question>

<!-- question: 361650  -->
  <question type="formulas">
    <name>
      <text>L73- transversal-FIND xANG-supplementary angles</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;"><span style="font-size: 0.9375rem;">line {pl1Name} is parallel to line {pl2Name}.&nbsp;</span><br></p>

<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"1"],{fontSize:20,strokeColor:'black'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"2"],{fontSize:20,strokeColor:'black'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"3"],{fontSize:20,strokeColor:'black'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"4"],{fontSize:20,strokeColor:'black'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"5"],{fontSize:20,strokeColor:'black'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"6"],{fontSize:20,strokeColor:'black'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"7"],{fontSize:20,strokeColor:'black'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"8"],{fontSize:20,strokeColor:'black'});
</jsxgraph>]]></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>angle={.5:2.7:.05};
vStart={0:18:1};
x={1:30:1};
a={-5,-2,4,5,2,-4,7,-7};
c={-6,6,-3,3,-1,8,-8};
axPb={30:90:1};

randAngles={[1,2],[1,3],[1,6],[1,7],[4,2],[4,3],[4,6],[4,7],[5,2],[5,3],[5,6],[5,7],[8,2],[8,3],[8,6],[8,7]};
randomAng={0,1,2,3,4,5,6,7};</text>
</varsrandom>
<varsglobal><text><![CDATA[a=(a==(-1*c))?a+1:a;
b=axPb-a*x;
cxPd=180-axPb;
d=cxPd-c*x;
deg=c*x+d;
sup=180-deg;
angle=deg*pi()/180;
vertices=["A","B","C","D","E","F","G","H","L","M","N","P","Q","R","S","T","V","W",
"X","Y","Z"];
l1Name=vertices[vStart];
pl1Name=vertices[vStart+1];
pl2Name=vertices[vStart+2];
v1a=l1Name;
v1b=pl1Name;
vp0=pl2Name;
vp1=vertices[3];
vp2=vertices[4];
vp3=vertices[5];
pi0=vertices[6];
pi1=vertices[7];
Xa=cos(angle);
Ya=sin(angle);
Xb=cos(angle+pi());
Yb=sin(angle+pi());

m=(Ya-Yb)/(Xa-Xb);
bInt=Ya-m*Xa;
Xpi0=(.25-bInt)/m;
Ypi0=.25;
Xpi1=(-.25-bInt)/m;
Ypi1=-.25;
angles=["1","2","3","4","5","6","7","8"];
degrees=[180-deg,deg,deg,180-deg,180-deg,deg,deg,180-deg];
ang1=degrees[0];
ang2=degrees[1];
ang3=degrees[2];
ang4=degrees[3];
ang5=degrees[4];
ang6=degrees[5];
ang7=degrees[6];
ang8=degrees[7];

choices=[1,2,3,4,5,6,7,8];
Ang=randAngles[0];
AngAns=randAngles[1];]]></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>x</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.01]]></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[&lt;{Ang}={a}x+{b} and &lt;{AngAns}={c}x+{d}<br>The value of x = {_0}<br>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[The congruent angles are the same color.&nbsp; The supplementary angles are different colors.&nbsp; Meaning, a blue number angle is supplementary to a red numbered angle.&nbsp;&lt;{Ang} and &lt;{AngAns} are supplementary angles&nbsp;<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"1"],{fontSize:20,strokeColor:'blue'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"2"],{fontSize:20,strokeColor:'red'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"3"],{fontSize:20,strokeColor:'red'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"4"],{fontSize:20,strokeColor:'blue'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"5"],{fontSize:20,strokeColor:'blue'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"6"],{fontSize:20,strokeColor:'red'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"7"],{fontSize:20,strokeColor:'red'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"8"],{fontSize:20,strokeColor:'blue'});
</jsxgraph>
<table>
    <tbody>
        <tr>
            <td>&lt;{Ang}={a}x+{b} and &lt;{AngAns}={c}x+{d}</td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td>given</td>
        </tr>
        <tr>
            <td>&lt;{Ang} and &lt;{AngAns} are supplementary</td>
            <td></td>
            <td>The angles add to 180<sup>o</sup></td>
        </tr>
        <tr>
            <td>{a}x+{b} + {c}x+{d} = 180</td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td><span class="" style="color: rgb(255, 51, 102);">{a}x + {c}x</span>&nbsp; &nbsp; &nbsp;<span class="" style="color: rgb(51, 102, 255);">+{b}+{d}</span> = 180</td>
            <td></td>
            <td>To simplify, combine the like terms<br><span class="" style="color: rgb(255, 51, 102);">{a}x + {c}x = {=a+c}x</span><br><span class="" style="color: rgb(51, 102, 255);">+{b}+{d} = {=b+d}</span><br></td>
        </tr>
        <tr>
            <td>{=a+c}x + {=b+d} = 180<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <u>-{=b+d}</u>&nbsp; &nbsp;<u>-{=b+d}</u><br></td>
            <td></td>
            <td>Subtract&nbsp;{=b+d} from both sides<br>180 -&nbsp;{=b+d} =&nbsp;{=180-(b+d)}</td>
        </tr>
        <tr>
            <td><u>{=a+c}x</u>&nbsp; = <span><u>{=180-(b+d)}</u><br>{=a+c}&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="">{=a+c}</span></span></td>
            <td></td>
            <td>Divide both sides by {=a+c}<br><span>{=180-(b+d)}&nbsp;÷ {=a+c} = {x}</span><br></td>
        </tr>
        <tr>
            <td>x = {x}</td>
            <td></td>
            <td>The value of x.&nbsp;&nbsp;</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>degrees[randomAng]</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;">Calculate the measure of &lt;{=1+randomAng}.</p><p dir="ltr" style="text-align: left;">&lt;{=1+randomAng} = {_0}<sup>o</sup><br></p>]]></text>
 </subqtext>
 <feedback format="html">
<text><![CDATA[Determine the measure of each angle by substituting {x} for the value of x.
<table>
    <tbody>
        <tr>
            <td>&lt;{Ang}={a}x+{b}<br>
                ({a})({x})+{b}<br>
                {=a*x}+{b}<br>
                {=axPb}</td>
            <td></td>
            <td>Substitute x={x} to determine the measure of &lt;{Ang}</td>
        </tr>
        <tr>
            <td>&lt;{AngAns}={c}x+{d}<br>
                ({c})({x})+{d}<br>
                {=c*x}+{d}<br>
                {=cxPd}</td>
            <td></td>
            <td>Substitute x={x} to determine the measure of &lt;{AngAns}</td>
        </tr>
        <tr>
            <td colspan="3">Use the angle relationships to determine the value of each angle.</td>

        </tr>
    </tbody>
</table>
&nbsp;<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"{ang1}"],{fontSize:20,strokeColor:'blue'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"{ang2}"],{fontSize:20,strokeColor:'red'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"{ang3}"],{fontSize:20,strokeColor:'red'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"{ang4}"],{fontSize:20,strokeColor:'blue'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"{ang5}"],{fontSize:20,strokeColor:'blue'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"{ang6}"],{fontSize:20,strokeColor:'red'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"{ang7}"],{fontSize:20,strokeColor:'red'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"{ang8}"],{fontSize:20,strokeColor:'blue'});
</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#10/L74- Variables on both sides of the Equation</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361680  -->
  <question type="formulas">
    <name>
      <text>L74- ax+b=c + dx find x (integers-positive x)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">{a}x + {b} = {c} + {d}x</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr style="border-bottom:1px solid grey">
            <td>{a}x + {b} = {c} + {d}x</td>
            <td></td>
            <td>Given</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>-{d}x&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- {d}x</td>
            <td></td>
            <td>Move the Variable terms to the left</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>{aMd}x + {b} = {c}</td>
            <td></td>
            <td>Simplify: {a}x - {d}x = {=a-d}x</td>
        </tr>
        
        <tr style="border-bottom:1px solid grey">
            <td><span class="" style="color: rgb(245, 184, 0);">{aMd}x </span>+ {b} = {c}</td>
            <td></td>
            <td>Make a box around the variable term.<br><span class="" style="color: rgb(255, 204, 51);">(I changed mine to orange because I can not make a box.)</span></td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>&nbsp; &nbsp; &nbsp;-{b}&nbsp; &nbsp;-{b}</td>
            <td></td>
            <td>Subtract {b} from both sides.<br>{b} - {b} Cancels out.</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td><span></span>{aMd}x = {cMb}</td>
            <td></td>
            <td>Simplify:&nbsp; &nbsp;{c}-{b} = {=c-b}&nbsp;<br></td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>\(\frac{{aMd}}{{aMd}}\)x = \(\frac{{cMb}}{{aMd}}\)<br></td>
            <td></td>
            <td>Divide both sides by {aMd}</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>a={-5,-4,-3,-2,-1,2,3,4,5,6};
d={3,2,4,-2,-3,-4};
b={1:15:1};
x={1:10:1};</text>
</varsrandom>
<varsglobal><text>a=(a==d)?a+1:a;
aX=a*x;
dX=d*x;
aMd=a-d;
c=a*x+b-d*x;
cMb=c-b;</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>x</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;">x = {_0}</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: 361681  -->
  <question type="formulas">
    <name>
      <text>L74- ax+b=c + dx find x (integers-positive x)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">{a}x + {b} = {c} + {d}x</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr style="border-bottom:1px solid grey">
            <td>{a}x + {b} = {c} + {d}x</td>
            <td></td>
            <td>Given</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>-{d}x&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;- {d}x</td>
            <td></td>
            <td>Move the Variable terms to the left</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>{aMd}x + {b} = {c}</td>
            <td></td>
            <td>Simplify: {a}x - {d}x = {=a-d}x</td>
        </tr>
        
        <tr style="border-bottom:1px solid grey">
            <td><span class="" style="color: rgb(245, 184, 0);">{aMd}x </span>+ {b} = {c}</td>
            <td></td>
            <td>Make a box around the variable term.<br><span class="" style="color: rgb(255, 204, 51);">(I changed mine to orange because I can not make a box.)</span></td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>&nbsp; &nbsp; &nbsp;-{b}&nbsp; &nbsp;-{b}</td>
            <td></td>
            <td>Subtract {b} from both sides.<br>{b} - {b} Cancels out.</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td><span></span>{aMd}x = {cMb}</td>
            <td></td>
            <td>Simplify:&nbsp; &nbsp;{c}-{b} = {=c-b}&nbsp;<br></td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>\(\frac{{aMd}}{{aMd}}\)x = \(\frac{{cMb}}{{aMd}}\)<br></td>
            <td></td>
            <td>Divide both sides by {aMd}</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>a={-5,-4,-3,-2,-1,2,3,4,5,6};
d={3,2,4,-2,-3,-4};
b={1:15:1};
x={1:10:1};</text>
</varsrandom>
<varsglobal><text>a=(a==d)?a+1:a;
aX=a*x;
dX=d*x;
aMd=a-d;
c=a*x+b-d*x;
cMb=c-b;</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>x</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;">x = {_0}</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: 361682  -->
  <question type="formulas">
    <name>
      <text>TL74- ax+b +ex=dx + c find x (integers-positive x)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">{a}x + {b} + {e}x = {d}x + {c}</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr style="border-bottom:1px solid grey">
            <td>{a}x + {b} + {e}x = {d}x + {c}</td>
            <td></td>
            <td>Given</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td><span class="" style="color: rgb(255, 51, 102);">{a}x + {e}x</span> + {b} = {d}x + {c}</td>
            <td></td>
            <td>Combine the variable terms on the left</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td><span class="" style="color: rgb(255, 51, 102);">{=a+e}x</span> + {b} = {d}x + {c}</td>
            <td></td>
            <td><span class="" style="color: rgb(255, 51, 102);">{a}x + {e}x = {=a+e}x</span><br></td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>{signD}x&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{signD}x</td>
            <td></td>
            <td>Move the Variable terms to the left</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>{aPeMd}x + {b} = {c}</td>
            <td></td>
            <td>Simplify: {=e+a}x - {d}x = {=aPeMd}x</td>
        </tr>

        <tr style="border-bottom:1px solid grey">
            <td><span class="" style="color: rgb(245, 184, 0);">{aPeMd}x </span>+ {b} = {c}</td>
            <td></td>
            <td>Make a box around the variable term.<br><span class="" style="color: rgb(255, 204, 51);">(I changed mine to orange because I can not make a box.)</span></td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>&nbsp; &nbsp; &nbsp;-{b}&nbsp; &nbsp;-{b}</td>
            <td></td>
            <td>Subtract {b} from both sides.<br>{b} - {b} Cancels out.</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td><span></span>{aPeMd}x = {cMb}</td>
            <td></td>
            <td>Simplify:&nbsp; &nbsp;{c}-{b} = {=c-b}&nbsp;<br></td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>\(\frac{{aPeMd}}{{aPeMd}}\)x = \(\frac{{cMb}}{{aPeMd}}\)<br></td>
            <td></td>
            <td>Divide both sides by {aPeMd}</td>
        </tr> <tr style="border-bottom:1px solid grey">
            <td>x = {x}<br></td>
            <td></td>
            <td>Simplify</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>a={-5,-4,-3,-2,-1,2,3,4,5,6};
d={3,2,4,-2,-3,-4};
e={2,3,4,5};
b={1:15:1};
x={1:10:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[a=(a+e==d)?a+1:a;
eX=e*x;
aX=a*x;
dX=d*x;
aPeMd=a+e-d;
c=a*x+e*x+b-d*x;
cMb=c-b;
signD=pick(d>0,join("","+",abs(d)),join("","-",abs(d)));]]></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>x</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;">x = {_0}</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: 361684  -->
  <question type="formulas">
    <name>
      <text>TL74- ax+b= dx find x (integers-positive x)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">{a}x + {b} = {d}x</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr style="border-bottom:1px solid grey">
            <td>{a}x + {b} = {d}x</td>
            <td></td>
            <td>Given</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>{signA}x&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{signA}x</td>
            <td></td>
            <td>Move the Variable terms to the right</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{b} = {dMa}x</td>
            <td></td>
            <td>Simplify: {d}x {signA}x = {=d-a}x</td>
        </tr>

        <tr style="border-bottom:1px solid grey">
            <td>\(\frac{{b}}{{dMa}}\) = \(\frac{{dMa}x}{{dMa}}\)</td>
            <td></td>
            <td>Divide both sides by {dMa}</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>&nbsp;{x} = x</td>
            <td></td>
            <td>Simplify.</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>a={-5,-4,-3,-2,-1,2,3,4,5,6};
d={3,2,4,-2,-3,-4};
x={1:10:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[b=d*x-a*x;
a=(a==d)?a+1:a;
aX=a*x;
dX=d*x;
dMa=d-a;
signA=pick(a<0,join("","-",abs(a)),join("","+",abs(a)));]]></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>x</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;">x = {_0}</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: 361683  -->
  <question type="formulas">
    <name>
      <text>TL74- ax+ex=b=dx + c find x (integers-positive x) (copy)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">{a}x +&nbsp; {e}x + {b} = {d}x + {c}</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr style="border-bottom:1px solid grey">
            <td>{a}x&nbsp; + {e}x + {b} = {d}x + {c}</td>
            <td></td>
            <td>Given</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td><span class="" style="color: rgb(255, 51, 102);">{a}x + {e}x</span> + {b} = {d}x + {c}</td>
            <td></td>
            <td>Combine the variable terms on the left</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td><span class="" style="color: rgb(255, 51, 102);">{=a+e}x</span> + {b} = {d}x + {c}</td>
            <td></td>
            <td><span class="" style="color: rgb(255, 51, 102);">{a}x + {e}x = {=a+e}x</span><br></td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>{signD}x&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{signD}x</td>
            <td></td>
            <td>Move the Variable terms to the left</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>{aPeMd}x + {b} = {c}</td>
            <td></td>
            <td>Simplify: {=e+a}x - {d}x = {=aPeMd}x</td>
        </tr>

        <tr style="border-bottom:1px solid grey">
            <td><span class="" style="color: rgb(245, 184, 0);">{aPeMd}x </span>+ {b} = {c}</td>
            <td></td>
            <td>Make a box around the variable term.<br><span class="" style="color: rgb(255, 204, 51);">(I changed mine to orange because I can not make a box.)</span></td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>&nbsp; &nbsp; &nbsp;-{b}&nbsp; &nbsp;-{b}</td>
            <td></td>
            <td>Subtract {b} from both sides.<br>{b} - {b} Cancels out.</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td><span></span>{aPeMd}x = {cMb}</td>
            <td></td>
            <td>Simplify:&nbsp; &nbsp;{c}-{b} = {=c-b}&nbsp;<br></td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>\(\frac{{aPeMd}}{{aPeMd}}\)x = \(\frac{{cMb}}{{aPeMd}}\)<br></td>
            <td></td>
            <td>Divide both sides by {aPeMd}</td>
        </tr> <tr style="border-bottom:1px solid grey">
            <td>x = {x}<br></td>
            <td></td>
            <td>Simplify</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>a={-5,-4,-3,-2,-1,2,3,4,5,6};
d={3,2,4,-2,-3,-4};
e={2,3,4,5};
b={1:15:1};
x={1:10:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[a=(a+e==d)?a+1:a;
eX=e*x;
aX=a*x;
dX=d*x;
aPeMd=a+e-d;
c=a*x+e*x+b-d*x;
cMb=c-b;
signD=pick(d>0,join("","+",abs(d)),join("","-",abs(d)));]]></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>x</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;">x = {_0}</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: 361685  -->
  <question type="formulas">
    <name>
      <text>TL74- ax=c + dx find x (integers-positive x)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">{a}x&nbsp; = {c} + {d}x</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr style="border-bottom:1px solid grey">
            <td>{a}x&nbsp; = {c} + {d}x</td>
            <td></td>
            <td>Given</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>{signD}x&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{signD}x</td>
            <td></td>
            <td>Move the Variable terms to the left</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>{aMd}x = {c}</td>
            <td></td>
            <td>Simplify: {a}x&nbsp; {signD}x = {=a-d}x</td>
        </tr>


        <tr style="border-bottom:1px solid grey">
            <td>\(\frac{{aMd}x}{{aMd}}\) = \(\frac{{c}}{{aMd}}\)</td>
            <td></td>
            <td>Divide both sides by {aMd}</td>
        </tr>
        <tr style="border-bottom:1px solid grey">
            <td>x = {x}</td>
            <td></td>
            <td>{c} ÷ {aMd} = {x}</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>a={-5,-4,-3,-2,-1,2,3,4,5,6};
d={3,2,4,-2,-3,-4};

x={1:10:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[a=(a==d)?a+1:a;
aX=a*x;
dX=d*x;
aMd=a-d;
c=a*x-d*x;
signD=pick(d<0,join("","-",abs(d)),join("","+",abs(d)));]]></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>x</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;">x = {_0}</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#10/L73- Transversal and Parallel Lines/L73-Transversal Angles</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361716  -->
  <question type="formulas">
    <name>
      <text>L73- transversal-alternate exterior</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">line {pl1Name} is parallel to line {pl2Name}.&nbsp;</p>

<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"1"],{fontSize:20,strokeColor:'black'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"2"],{fontSize:20,strokeColor:'black'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"3"],{fontSize:20,strokeColor:'black'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"4"],{fontSize:20,strokeColor:'black'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"5"],{fontSize:20,strokeColor:'black'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"6"],{fontSize:20,strokeColor:'black'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"7"],{fontSize:20,strokeColor:'black'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"8"],{fontSize:20,strokeColor:'black'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[The alternate exterior angle pairs are the same color.<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"1"],{fontSize:20,strokeColor:'blue'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"2"],{fontSize:20,strokeColor:'green'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,""],{fontSize:20,strokeColor:'red'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,""],{fontSize:20,strokeColor:'orange'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,""],{fontSize:20,strokeColor:'orange'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,""],{fontSize:20,strokeColor:'red'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"7"],{fontSize:20,strokeColor:'green'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"8"],{fontSize:20,strokeColor:'blue'});
</jsxgraph>]]></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>angle={.5:2.7:.05};
vStart={0:18:1};
randAngles=shuffle([0,1,2,3]);</text>
</varsrandom>
<varsglobal><text><![CDATA[vertices=["A","B","C","D","E","F","G","H","L","M","N","P","Q","R","S","T","V","W",
"X","Y","Z"];
l1Name=vertices[vStart];
pl1Name=vertices[vStart+1];
pl2Name=vertices[vStart+2];
v1a=l1Name;
v1b=pl1Name;
vp0=pl2Name;
vp1=vertices[3];
vp2=vertices[4];
vp3=vertices[5];
pi0=vertices[6];
pi1=vertices[7];
Xa=cos(angle);
Ya=sin(angle);
Xb=cos(angle+pi());
Yb=sin(angle+pi());
deg=round(angle*180/pi(),0);
sup=180-deg;
m=(Ya-Yb)/(Xa-Xb);
b=Ya-m*Xa;
Xpi0=(.25-b)/m;
Ypi0=.25;
Xpi1=(-.25-b)/m;
Ypi1=-.25;
angles=[join("",v1a,pi0,vp0),join("",v1a,pi0,vp1),join("",vp0,pi0,pi1), join("",vp1,pi0,pi1),join("",pi0,pi1,vp2),join("",pi0,pi1,vp3), join("",vp2,pi1,v1b),join("",vp3,pi1,v1b)];
degrees=[180-deg,deg,deg,180-deg,180-deg,deg,deg,180-deg];
choices=[1,2,3,4,5,6,7];
Ang=[1,2,7,8];
AngAns=[8,7,2,1];]]></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>AngAns[randAngles[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[&lt;{=Ang[randAngles[0]]} is an alternate exterior angle to &lt;{_0}]]></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>AngAns[randAngles[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;">&lt;{=Ang[randAngles[1]]} is an alternate exterior&nbsp;angle to &lt;{_0}<sup></sup><br></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: 361715  -->
  <question type="formulas">
    <name>
      <text>L73- transversal-alternate interior</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">line {pl1Name} is parallel to line {pl2Name}.&nbsp;</p>

<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"1"],{fontSize:20,strokeColor:'black'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"2"],{fontSize:20,strokeColor:'black'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"3"],{fontSize:20,strokeColor:'black'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"4"],{fontSize:20,strokeColor:'black'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"5"],{fontSize:20,strokeColor:'black'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"6"],{fontSize:20,strokeColor:'black'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"7"],{fontSize:20,strokeColor:'black'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"8"],{fontSize:20,strokeColor:'black'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[The alternate interior angle pairs are the same color.<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,""],{fontSize:20,strokeColor:'blue'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,""],{fontSize:20,strokeColor:'green'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"3"],{fontSize:20,strokeColor:'red'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"4"],{fontSize:20,strokeColor:'orange'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"5"],{fontSize:20,strokeColor:'orange'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"6"],{fontSize:20,strokeColor:'red'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,""],{fontSize:20,strokeColor:'red'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,""],{fontSize:20,strokeColor:'orange'});
</jsxgraph>]]></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>angle={.5:2.7:.05};
vStart={1:18:1};
randAngles=shuffle([0,1,2,3]);</text>
</varsrandom>
<varsglobal><text><![CDATA[vertices=["A","B","C","D","E","F","G","H","L","M","N","P","Q","R","S","T","V","W",
"X","Y","Z"];
l1Name=vertices[vStart];
pl1Name=vertices[vStart+1];
pl2Name=vertices[vStart+2];
v1a=l1Name;
v1b=pl1Name;
vp0=pl2Name;
vp1=vertices[3];
vp2=vertices[4];
vp3=vertices[5];
pi0=vertices[6];
pi1=vertices[7];
Xa=cos(angle);
Ya=sin(angle);
Xb=cos(angle+pi());
Yb=sin(angle+pi());
deg=round(angle*180/pi(),0);
sup=180-deg;
m=(Ya-Yb)/(Xa-Xb);
b=Ya-m*Xa;
Xpi0=(.25-b)/m;
Ypi0=.25;
Xpi1=(-.25-b)/m;
Ypi1=-.25;
angles=[join("",v1a,pi0,vp0),join("",v1a,pi0,vp1),join("",vp0,pi0,pi1), join("",vp1,pi0,pi1),join("",pi0,pi1,vp2),join("",pi0,pi1,vp3), join("",vp2,pi1,v1b),join("",vp3,pi1,v1b)];
degrees=[180-deg,deg,deg,180-deg,180-deg,deg,deg,180-deg];
choices=[1,2,3,4,5,6,7];
Ang=[3,4,5,6];
AngAns=[6,5,4,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>AngAns[randAngles[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[&lt;{=Ang[randAngles[0]]} is an alternate interior angle to &lt;{_0}]]></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>AngAns[randAngles[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;">&lt;{=Ang[randAngles[1]]} is an alternate interior angle to &lt;{_0}<sup></sup><br></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: 361714  -->
  <question type="formulas">
    <name>
      <text>L73- transversal-corresponding angles</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">line {pl1Name} is parallel to line {pl2Name}.&nbsp;</p>

<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"1"],{fontSize:20,strokeColor:'black'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"2"],{fontSize:20,strokeColor:'black'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"3"],{fontSize:20,strokeColor:'black'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"4"],{fontSize:20,strokeColor:'black'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"5"],{fontSize:20,strokeColor:'black'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"6"],{fontSize:20,strokeColor:'black'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"7"],{fontSize:20,strokeColor:'black'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"8"],{fontSize:20,strokeColor:'black'});
</jsxgraph>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[The corresponding angle pairs are the same color.<jsxgraph width="300" height="300">var board = JXG.JSXGraph.initBoard(BOARDID,{
    axis:false,
    grid:false,
    boundingbox: [-1.25,1.25,1.25,-1.25],
    showCopyright: false,
    showNavigation: false,
    keepAspectRatio: true});
    var p1a=board.create('point',[{Xa},{Ya}],{
    name:"{l1Name}",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p1b=board.create('point',[{Xb},{Yb}],{
    name:"",
    size:"0",
    fixed:true,
    showInfobox:false});
    var p0=board.create('point',[{Xpi0},{Ypi0}],{name:"",size:"0",fixed:true,showInfobox:false});
    var p1=board.create('point',[{Xpi1},{Ypi1}],{name:"",size:"0",fixed:true,showInfobox:false});
    var line1=board.create('line',[p1a,p1b],{firstArrow:true,lastArrow:true});

    var pl0=board.create('point',[-1,0.25],{name:"{pl1Name}",size:"0",fixed:true,showInfobox:false});
    var pl1=board.create('point',[1,0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pl2=board.create('point',[-1,-0.25],{name:"{pl2Name}",size:"0",fixed:true,showInfobox:false});
    var pl3=board.create('point',[1,-0.25],{name:"",size:"0",fixed:true,showInfobox:false});
    var pline1=board.create('line',[pl0,pl1],{firstArrow:true,lastArrow:true});
    var pline2=board.create('line',[pl2,pl3],{firstArrow:true,lastArrow:true});

    var tA1=board.create('text',[{Xpi0}-.25,{Ypi0}+.1,"1"],{fontSize:20,strokeColor:'blue'});
    var tA2=board.create('text',[{Xpi0}+.25,{Ypi0}+.1,"2"],{fontSize:20,strokeColor:'green'});
    var tA3=board.create('text',[{Xpi0}-.25,{Ypi0}-.1,"3"],{fontSize:20,strokeColor:'red'});
    var tA4=board.create('text',[{Xpi0}+.25,{Ypi0}-.1,"4"],{fontSize:20,strokeColor:'orange'});
    var tA5=board.create('text',[{Xpi1}-.25,{Ypi1}+.1,"5"],{fontSize:20,strokeColor:'blue'});
    var tA6=board.create('text',[{Xpi1}+.2,{Ypi1}+.1,"6"],{fontSize:20,strokeColor:'green'});
    var tA7=board.create('text',[{Xpi1}-.25,{Ypi1}-.1,"7"],{fontSize:20,strokeColor:'red'});
    var tA8=board.create('text',[{Xpi1}+.2,{Ypi1}-.1,"8"],{fontSize:20,strokeColor:'orange'});
</jsxgraph>]]></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>angle={.5:2.7:.05};
vStart={1:18:1};
randAngles=shuffle([0,1,2,3,4,5,6,7]);</text>
</varsrandom>
<varsglobal><text><![CDATA[vertices=["A","B","C","D","E","F","G","H","L","M","N","P","Q","R","S","T","V","W",
"X","Y","Z"];
l1Name=vertices[vStart];
pl1Name=vertices[vStart+1];
pl2Name=vertices[vStart+2];
v1a=l1Name;
v1b=pl1Name;
vp0=pl2Name;
vp1=vertices[3];
vp2=vertices[4];
vp3=vertices[5];
pi0=vertices[6];
pi1=vertices[7];
Xa=cos(angle);
Ya=sin(angle);
Xb=cos(angle+pi());
Yb=sin(angle+pi());
deg=round(angle*180/pi(),0);
sup=180-deg;
m=(Ya-Yb)/(Xa-Xb);
b=Ya-m*Xa;
Xpi0=(.25-b)/m;
Ypi0=.25;
Xpi1=(-.25-b)/m;
Ypi1=-.25;
angles=[join("",v1a,pi0,vp0),join("",v1a,pi0,vp1),join("",vp0,pi0,pi1), join("",vp1,pi0,pi1),join("",pi0,pi1,vp2),join("",pi0,pi1,vp3), join("",vp2,pi1,v1b),join("",vp3,pi1,v1b)];
degrees=[180-deg,deg,deg,180-deg,180-deg,deg,deg,180-deg];
choices=[1,2,3,4,5,6,7];
corAng=[1,2,3,4,5,6,7,8];
corAngAns=[5,6,7,8,1,2,3,4];]]></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>corAngAns[randAngles[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[&lt;{=corAng[randAngles[0]]} is a corresponding angle to &lt;{_0}]]></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>corAngAns[randAngles[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;">&lt;{=corAng[randAngles[1]]} is a corresponding angle to &lt;{_0}<sup></sup><br></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>
<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>corAngAns[randAngles[2]]</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;">&lt;{=corAng[randAngles[2]]} is a corresponding angle to &lt;{_0}<sup></sup><br></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#10/L75- Estimating Square Roots and Rounding Decimals</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361726  -->
  <question type="formulas">
    <name>
      <text>L75- Square roots estimate to tenth</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Estimate the decimal equivalent of&nbsp; \( \sqrt{num} \) to the nearest tenth.</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">First decide on the nearest whole number squares.</p><div class="editor-indent" style="margin-left: 30px;"><p dir="ltr" style="text-align: left;">\(\sqrt{num}\) is between {low} and {high}.</p><p dir="ltr" style="text-align: left;">{low}<sup>2</sup> = {=pow(low,2)}</p><p dir="ltr" style="text-align: left;">{high}<sup>2</sup> = {=pow(high,2)}</p></div><p dir="ltr" style="text-align: left;">Second determine the number to the tenth it is closest to.</p><div class="editor-indent" style="margin-left: 30px;"><p dir="ltr" style="text-align: left;"></p><p dir="ltr">{=ans-.1}<sup>2</sup>&nbsp;=&nbsp;{=pow(ans-.1,2)}&nbsp; &nbsp; &nbsp; {num}-{=pow(ans-.1,2)} = {=round(num-pow(ans-.1,2),2)}</p><p dir="ltr"><span class="" style="color: rgb(255, 51, 102);">{=ans}</span><sup><span class="" style="color: rgb(255, 51, 102);">2</span></sup><span class="" style="color: rgb(255, 51, 102);">&nbsp;=&nbsp;{=pow(ans,2)}&nbsp; &nbsp; &nbsp; {num}-{=pow(ans,2)} = {=round(num-pow(ans,2),2)}</span></p><p dir="ltr">{=ans+.1}<sup>2</sup>&nbsp;=&nbsp;{=pow(ans+.1,2)}&nbsp; &nbsp; &nbsp; {num}-{=pow(ans+.1,2)} = {=round(num-pow(ans+.1,2),2)}</p><p dir="ltr" style="text-align: left;"></p></div><p dir="ltr" style="text-align: left;"><strong>\(\sqrt{num}\) to the nearest tenth is {ans}.</strong><br></p><p dir="ltr" style="text-align: left;"><br></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>num={20:230};</text>
</varsrandom>
<varsglobal><text><![CDATA[ans=sqrt(num);
low=floor(ans);
high=ceil(ans);
ans=round(ans,1);
FB=join("",low,"<sup>2</sup> =",pow(low,2));
for (i:[1:10]){
FB=join("",FB," <br>",low+.1*i,"<sup>2</sup> =",pow(low+.1*i,2));
}
FB=join("",FB,"<br>",high,"<sup>2</sup> =",pow(high,2));
]]></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>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;">\( \sqrt{num} \)&nbsp;≈ {_0}<br></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: 361728  -->
  <question type="formulas">
    <name>
      <text>L75-Round Repeating Decimals</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td>Round {whole}.</td>
            <td style="border-top:1px solid black">{repeat}</td>
            <td>&nbsp;to {places} decimal places.</td>
        </tr>
    </tbody>
</table>
<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[<p dir="ltr" style="text-align: left;"></p>
<table>
    <tbody>
        <tr>
            <td>{whole}.</td>
            <td>{repeat}</td>
            <td>= {num}</td>
            <td></td>
        </tr>
        <tr>
            <td colspan="3">{display}</td>
            <td>To round to {places} decimal places, underline the number in the {ordPlace} place.<br> Look to the right at {lookAt}. If it is 5 or more, round up. If it is less than 5, round down.</td>
        </tr>
        <tr>
            <td colspan="3">{ans}</td>
            <td><br></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>whole={2:1000:1};
repeat={101:199:2};
places={2:8};</text>
</varsrandom>
<varsglobal><text>num=whole+(repeat/1000)+(repeat/1000000)+(repeat/1000000000);
ans=round(num,places);</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>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></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: 361729  -->
  <question type="formulas">
    <name>
      <text>L75-Round Repeating Decimals</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td>Round {whole}.</td>
            <td style="border-top:1px solid black">{repeat}</td>
            <td>&nbsp;to {places} decimal places.</td>
        </tr>
    </tbody>
</table>
<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></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>whole={2:1000:1};
repeat={101:199:2};
places={2:8};</text>
</varsrandom>
<varsglobal><text>num=whole+(repeat/1000)+(repeat/1000000)+(repeat/1000000000);
ans=round(num,places);</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>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></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: 361727  -->
  <question type="formulas">
    <name>
      <text>L75-Round Repeating Decimals</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td>Round {whole}.</td>
            <td style="border-top:1px solid black">{repeat}</td>
            <td>&nbsp;to {places} decimal places.</td>
        </tr>
    </tbody>
</table>
<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[<p dir="ltr" style="text-align: left;"></p>
<table>
    <tbody>
        <tr>
            <td>{whole}.</td>
            <td>{repeat}</td>
            <td>= {num}</td>
            <td></td>
        </tr>
        <tr>
            <td colspan="3">{display}</td>
            <td>To round to {places} decimal places, underline the number in the {ordPlace} place.<br> Look to the right at {lookAt}. If it is 5 or more, round up. If it is less than 5, round down.</td>
        </tr>
<tr>
            <td colspan="3">{ans}</td>
            <td><br></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>whole={2:1000:1};
repeatA={1:10:1};
repeatB={1:10:1};
repeatC={1:10:1};
places={2:8};</text>
</varsrandom>
<varsglobal><text><![CDATA[repeat=(repeatA*100)+(repeatB*10)+repeatC;
num=whole+(repeat/1000)+(repeat/1000000)+(repeat/1000000000);
ans=round(num,places);
repeatArray=[repeatA,repeatB,repeatC];
display=join("",whole,".");
curPlace=1;
lookAt="";
for (i:[0:4]){
display=pick(curPlace==places,display,join("",display,"<u>"));
lookAt=pick(curPlace==places+1,lookAt,join("",repeatA));
display=pick(curPlace==places+1,display,join("",display,"<b>"));
display=join("",display,repeatA);
display=pick(curPlace==places,display,join("",display,"</u>"));
display=pick(curPlace==places+1,display,join("",display,"</b>"));
curPlace=curPlace+1;
display=pick(curPlace==places,display,join("",display,"<u>"));
lookAt=pick(curPlace==places+1,lookAt,join("",repeatB));
display=pick(curPlace==places+1,display,join("",display,"<b>"));
display=join("",display,repeatB);
display=pick(curPlace==places,display,join("",display,"</u>"));
display=pick(curPlace==places+1,display,join("",display,"</b>"));
curPlace=curPlace+1;
display=pick(curPlace==places,display,join("",display,"<u>"));
lookAt=pick(curPlace==places+1,lookAt,join("",repeatC));
display=pick(curPlace==places+1,display,join("",display,"<b>"));
display=join("",display,repeatC);
display=pick(curPlace==places,display,join("",display,"</u>"));
display=pick(curPlace==places+1,display,join("",display,"</b>"));
curPlace=curPlace+1;
}
ordinals=["zero","first","second","third","fourth","fifth", "sixth","seventh","eighth", "ninth","tenth", "eleventh","twelfth"];
ordPlace=ordinals[places];
]]></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>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></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#10/L76- Exponents with Signed Numbers</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361731  -->
  <question type="formulas">
    <name>
      <text>L76-(base)Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr">({base})<sup>{exponent}</sup>=({base})({base}) = {ans}</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>base={-20:-1,1:20};</text>
</varsrandom>
<varsglobal><text>exponent=2;
ans=pow(base,exponent);</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>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;">({base})<sup>{exponent}</sup><br></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: 361733  -->
  <question type="formulas">
    <name>
      <text>L76-(negative base) Exponent + a</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td><br></td><td></td><td></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>base={-20:-1:1};

a={1:25:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=pow(base,exponent) + a;
ques=join("","(",base,")<sup>",exponent,"</sup> + ",a);
FB1=join("","(",base,")<sup>",exponent,"</sup> + ",a);
FB1T="given"; 
FB2=join("","(",base,")(",base,") + ",a);
FB2T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB3=join("",pow(base,2),"+ ",a,"=",ans);
FB3T=join("","combine ",pow(base,2)," and (",a,")");]]></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>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;">{ques} = {_0}</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: 361734  -->
  <question type="formulas">
    <name>
      <text>L76-(negative base) Exponent - a</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td><br></td><td></td><td></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>base={-20:-1:1};
a={1:25:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=pow(base,exponent) - a;
ques=join("","(",base,")<sup>",exponent,"</sup> - ",a);
FB1=join("","(",base,")<sup>",exponent,"</sup> - ",a);
FB1T="given"; 
FB2=join("","(",base,")(",base,") - ",a);
FB2T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB3=join("",pow(base,2),"- ",a,"=",ans);
FB3T=join("","combine ",pow(base,2)," and ",a);]]></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>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;">{ques} = {_0}</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: 361742  -->
  <question type="formulas">
    <name>
      <text>L76-(var negative base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</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[base={-20:-1:1};
var={"A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=pow(base,exponent);
ques=join("",var,"<sup>",exponent,"</sup>");
FB1=join("",var,"<sup>",exponent,"</sup>");
FB1T="given";
FB2=join("","(",base,")<sup>",exponent,"</sup>");
FB2T=join("","Substitute the value of ",var,"<br><b>Put parentheses around the substitution!</b>"); 
FB3=join("","(",base,")(",base,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=ans;
FB4T=join("",ques," = ",ans);]]></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>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;">{ques} = {_0}</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: 361747  -->
  <question type="formulas">
    <name>
      <text>L76-(var negative base) Exponent + var1</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}, and {var1} = {a}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</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[base={-20:-1:1};
variables=shuffle(["A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"]);
a={-25:25:1};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[var=variables[0];
var1=variables[1];
exponent=2;
ans=pow(base,exponent) + a;
ques=join("",var,"<sup>",exponent,"</sup> + ",var1);
FB1=join("",var,"<sup>",exponent,"</sup> + ",var1);
FB1T="given";
FB2=join("","(",base,")<sup>",exponent,"</sup> + (",a,")");
FB2T=join("","Substitute the value of ",var,"=",base,"and ",var1,"=",a,"<br><b>Put parentheses around the substitution!</b>"); 
FB3=join("","(",base,")(",base,") + (",a,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=join("",pow(base,2),"+ (",a,")=",ans);
FB4T=join("","combine ",pow(base,2)," and (",a,")");]]></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>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;">{ques} = {_0}</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: 361741  -->
  <question type="formulas">
    <name>
      <text>L76-(var positive base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</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[base={1:20};
var={"A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=pow(base,exponent);
ques=join("",var,"<sup>",exponent,"</sup>");
FB1=join("",var,"<sup>",exponent,"</sup>");
FB1T="given";
FB2=join("","(",base,")<sup>",exponent,"</sup>");
FB2T=join("","Substitute the value of ",var); 
FB3=join("","(",base,")(",base,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=ans;
FB4T=join("",ques," = ",ans);]]></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>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;">{ques} = {_0}</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: 361735  -->
  <question type="formulas">
    <name>
      <text>L76-a+(negative base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td><br></td><td></td><td></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>base={1:20:1};

a={-25:25:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=a+pow(base,exponent);
ques=join("",a,"+",base,"<sup>",exponent,"</sup>");
FB1=join("",a,"+",base,"<sup>",exponent,"</sup>");
FB1T="given";

FB2=join("",a,"+","(",base,")(",base,")");
FB2T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB3=join("",a,"+",pow(base,2),"=",ans);
FB3T=join("","combine ",a," and ",pow(base,2));]]></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>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;">{ques} = {_0}</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: 361737  -->
  <question type="formulas">
    <name>
      <text>L76-a+(negative base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td><br></td><td></td><td></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>base={1:20:1};

a={-25:25:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=a+pow(base,exponent);
ques=join("",a,"+",base,"<sup>",exponent,"</sup>");
FB1=join("",a,"+",base,"<sup>",exponent,"</sup>");
FB1T="given";

FB2=join("",a,"+","(",base,")(",base,")");
FB2T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB3=join("",a,"+",pow(base,2),"=",ans);
FB3T=join("","combine ",a," and ",pow(base,2));]]></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>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;">{ques} = {_0}</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: 361745  -->
  <question type="formulas">
    <name>
      <text>L76-a+(var negative base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</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[base={-20:-1:1};
var={"A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"};
a={-25:25:1};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=a+pow(base,exponent);
ques=join("",a,"+",var,"<sup>",exponent,"</sup>");
FB1=join("",a,"+",var,"<sup>",exponent,"</sup>");
FB1T="given";
FB2=join("",a,"+","(",base,")<sup>",exponent,"</sup>");
FB2T=join("","Substitute the value of ",var,"<br><b>Put parentheses around the substitution!</b>"); 
FB3=join("",a,"+","(",base,")(",base,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=join("",a,"+",pow(base,2),"=",ans);
FB4T=join("","combine ",a," and ",pow(base,2));]]></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>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;">{ques} = {_0}</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: 361736  -->
  <question type="formulas">
    <name>
      <text>L76-a-(negative base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td><br></td><td></td><td></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>base={1:20:1};

a={-25:25:1};</text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=a-pow(base,exponent);
ques=join("",a,"-",base,"<sup>",exponent,"</sup>");
FB1=join("",a,"-",base,"<sup>",exponent,"</sup>");
FB1T="given";

FB2=join("",a,"-","(",base,")(",base,")");
FB2T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB3=join("",a,"-",pow(base,2),"=",ans);
FB3T=join("","combine ",a," and -",pow(base,2));]]></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>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;">{ques} = {_0}</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: 361749  -->
  <question type="formulas">
    <name>
      <text>L76-a-(var negative base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</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[base={-20:-1:1};
var={"A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"};
a={-25:25:1};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=a-pow(base,exponent);
ques=join("",a,"-",var,"<sup>",exponent,"</sup>");
FB1=join("",a,"-",var,"<sup>",exponent,"</sup>");
FB1T="given";
FB2=join("",a,"-","(",base,")<sup>",exponent,"</sup>");
FB2T=join("","Substitute the value of ",var,"<br><b>Put parentheses around the substitution!</b>"); 
FB3=join("",a,"-","(",base,")(",base,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=join("",a,"-",pow(base,2),"=",ans);
FB4T=join("","combine ",a," and -",pow(base,2));]]></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>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;">{ques} = {_0}</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: 361732  -->
  <question type="formulas">
    <name>
      <text>L76-Neg(base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p dir="ltr">-{base}<sup>{exponent}</sup>= - ({base})({base}) = {ans}</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>base={1:20};</text>
</varsrandom>
<varsglobal><text>exponent=2;
ans=-1*pow(base,exponent);</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>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;">-{base}<sup>{exponent}</sup><br></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: 361748  -->
  <question type="formulas">
    <name>
      <text>L76-neg(var negative base) Exponent + var1</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}, and {var1} = {a}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</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[base={-20:-1:1};
variables=shuffle(["A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"]);
a={-25:25:1};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[var=variables[0];
var1=variables[1];
exponent=2;
ans=(-1*pow(base,exponent)) + a;
ques=join("","-",var,"<sup>",exponent,"</sup> + ",var1);
FB1=join("","-",var,"<sup>",exponent,"</sup> + ",var1);
FB1T="given";
FB2=join("","-(",base,")<sup>",exponent,"</sup> + (",a,")");
FB2T=join("","Substitute the value of ",var,"=",base,"and ",var1,"=",a,"<br><b>Put parentheses around the substitution!</b>"); 
FB3=join("","-(",base,")(",base,") + (",a,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=join("","-",pow(base,2),"+ (",a,")=",ans);
FB4T=join("","combine ","-",pow(base,2)," and (",a,")");]]></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>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;">{ques} = {_0}</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: 361744  -->
  <question type="formulas">
    <name>
      <text>L76-negative (var negative base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</td>
        </tr><tr>
            <td>
                {FB5}
            </td>
            <td></td>
            <td>{FB5T}</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[base={-20:-1};
var={"A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=-1*pow(base,exponent);
ques=join("","-",var,"<sup>",exponent,"</sup>");
FB1=join("","-",var,"<sup>",exponent,"</sup>");
FB1T="given";
FB2=join("","-(",base,")<sup>",exponent,"</sup>");
FB2T=join("","Substitute the value of ",var); 
FB3=join("","-(",base,")(",base,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=join("","-(",abs(ans),")");
FB4T=join("","(",base,")(",base,")=",ans,"  Now multiply ",abs(ans)," by -1");
FB5=ans;
FB5T=join("",ques," = ",ans);]]></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>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;">{ques} = {_0}</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: 361743  -->
  <question type="formulas">
    <name>
      <text>L76-negative (var positive base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</td>
        </tr><tr>
            <td>
                {FB5}
            </td>
            <td></td>
            <td>{FB5T}</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[base={1:20};
var={"A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=-1*pow(base,exponent);
ques=join("","-",var,"<sup>",exponent,"</sup>");
FB1=join("","-",var,"<sup>",exponent,"</sup>");
FB1T="given";
FB2=join("","-(",base,")<sup>",exponent,"</sup>");
FB2T=join("","Substitute the value of ",var); 
FB3=join("","-(",base,")(",base,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=join("","-(",abs(ans),")");
FB4T=join("","(",base,")(",base,")=",ans,"  Now multiply ",abs(ans)," by -1");
FB5=ans;
FB5T=join("",ques," = ",ans);]]></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>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;">{ques} = {_0}</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: 361746  -->
  <question type="formulas">
    <name>
      <text>L76-var1+(var negative base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}, and {var1} = {a}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</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[base={-20:-1:1};
variables=shuffle(["A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"]);
a={-25:25:1};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[var=variables[0];
var1=variables[1];
exponent=2;
ans=a+pow(base,exponent);
ques=join("",var1,"+",var,"<sup>",exponent,"</sup>");
FB1=join("",var1,"+",var,"<sup>",exponent,"</sup>");
FB1T="given";
FB2=join("",a,"+","(",base,")<sup>",exponent,"</sup>");
FB2T=join("","Substitute the value of ",var,"=",base,"and ",var1,"=",a,"<br><b>Put parentheses around the substitution!</b>"); 
FB3=join("",a,"+","(",base,")(",base,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=join("",a,"+",pow(base,2),"=",ans);
FB4T=join("","combine ",a," and ",pow(base,2));]]></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>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;">{ques} = {_0}</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#10/L76- Exponents with Signed Numbers/L76-Expressions with Signed bases squared</text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361796  -->
  <question type="formulas">
    <name>
      <text>L76-(var negative base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</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[base={-20:-1:1};
var={"A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=pow(base,exponent);
ques=join("",var,"<sup>",exponent,"</sup>");
FB1=join("",var,"<sup>",exponent,"</sup>");
FB1T="given";
FB2=join("","(",base,")<sup>",exponent,"</sup>");
FB2T=join("","Substitute the value of ",var,"<br><b>Put parentheses around the substitution!</b>"); 
FB3=join("","(",base,")(",base,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=ans;
FB4T=join("",ques," = ",ans);]]></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>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;">{ques} = {_0}</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: 361801  -->
  <question type="formulas">
    <name>
      <text>L76-(var negative base) Exponent + var1</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}, and {var1} = {a}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</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[base={-20:-1:1};
variables=shuffle(["A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"]);
a={-25:25:1};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[var=variables[0];
var1=variables[1];
exponent=2;
ans=pow(base,exponent) + a;
ques=join("",var,"<sup>",exponent,"</sup> + ",var1);
FB1=join("",var,"<sup>",exponent,"</sup> + ",var1);
FB1T="given";
FB2=join("","(",base,")<sup>",exponent,"</sup> + (",a,")");
FB2T=join("","Substitute the value of ",var,"=",base,"and ",var1,"=",a,"<br><b>Put parentheses around the substitution!</b>"); 
FB3=join("","(",base,")(",base,") + (",a,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=join("",pow(base,2),"+ (",a,")=",ans);
FB4T=join("","combine ",pow(base,2)," and (",a,")");]]></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>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;">{ques} = {_0}</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: 361795  -->
  <question type="formulas">
    <name>
      <text>L76-(var positive base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</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[base={1:20};
var={"A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=pow(base,exponent);
ques=join("",var,"<sup>",exponent,"</sup>");
FB1=join("",var,"<sup>",exponent,"</sup>");
FB1T="given";
FB2=join("","(",base,")<sup>",exponent,"</sup>");
FB2T=join("","Substitute the value of ",var); 
FB3=join("","(",base,")(",base,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=ans;
FB4T=join("",ques," = ",ans);]]></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>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;">{ques} = {_0}</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: 361799  -->
  <question type="formulas">
    <name>
      <text>L76-a+(var negative base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</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[base={-20:-1:1};
var={"A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"};
a={-25:25:1};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=a+pow(base,exponent);
ques=join("",a,"+",var,"<sup>",exponent,"</sup>");
FB1=join("",a,"+",var,"<sup>",exponent,"</sup>");
FB1T="given";
FB2=join("",a,"+","(",base,")<sup>",exponent,"</sup>");
FB2T=join("","Substitute the value of ",var,"<br><b>Put parentheses around the substitution!</b>"); 
FB3=join("",a,"+","(",base,")(",base,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=join("",a,"+",pow(base,2),"=",ans);
FB4T=join("","combine ",a," and ",pow(base,2));]]></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>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;">{ques} = {_0}</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: 361803  -->
  <question type="formulas">
    <name>
      <text>L76-a-(var negative base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</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[base={-20:-1:1};
var={"A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"};
a={-25:25:1};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=a-pow(base,exponent);
ques=join("",a,"-",var,"<sup>",exponent,"</sup>");
FB1=join("",a,"-",var,"<sup>",exponent,"</sup>");
FB1T="given";
FB2=join("",a,"-","(",base,")<sup>",exponent,"</sup>");
FB2T=join("","Substitute the value of ",var,"<br><b>Put parentheses around the substitution!</b>"); 
FB3=join("",a,"-","(",base,")(",base,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=join("",a,"-",pow(base,2),"=",ans);
FB4T=join("","combine ",a," and -",pow(base,2));]]></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>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;">{ques} = {_0}</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: 361802  -->
  <question type="formulas">
    <name>
      <text>L76-neg(var negative base) Exponent + var1</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}, and {var1} = {a}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</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[base={-20:-1:1};
variables=shuffle(["A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"]);
a={-25:25:1};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[var=variables[0];
var1=variables[1];
exponent=2;
ans=(-1*pow(base,exponent)) + a;
ques=join("","-",var,"<sup>",exponent,"</sup> + ",var1);
FB1=join("","-",var,"<sup>",exponent,"</sup> + ",var1);
FB1T="given";
FB2=join("","-(",base,")<sup>",exponent,"</sup> + (",a,")");
FB2T=join("","Substitute the value of ",var,"=",base,"and ",var1,"=",a,"<br><b>Put parentheses around the substitution!</b>"); 
FB3=join("","-(",base,")(",base,") + (",a,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=join("","-",pow(base,2),"+ (",a,")=",ans);
FB4T=join("","combine ","-",pow(base,2)," and (",a,")");]]></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>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;">{ques} = {_0}</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: 361798  -->
  <question type="formulas">
    <name>
      <text>L76-negative (var negative base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</td>
        </tr><tr>
            <td>
                {FB5}
            </td>
            <td></td>
            <td>{FB5T}</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[base={-20:-1};
var={"A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=-1*pow(base,exponent);
ques=join("","-",var,"<sup>",exponent,"</sup>");
FB1=join("","-",var,"<sup>",exponent,"</sup>");
FB1T="given";
FB2=join("","-(",base,")<sup>",exponent,"</sup>");
FB2T=join("","Substitute the value of ",var); 
FB3=join("","-(",base,")(",base,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=join("","-(",abs(ans),")");
FB4T=join("","(",base,")(",base,")=",ans,"  Now multiply ",abs(ans)," by -1");
FB5=ans;
FB5T=join("",ques," = ",ans);]]></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>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;">{ques} = {_0}</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: 361797  -->
  <question type="formulas">
    <name>
      <text>L76-negative (var positive base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</td>
        </tr><tr>
            <td>
                {FB5}
            </td>
            <td></td>
            <td>{FB5T}</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[base={1:20};
var={"A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[exponent=2;
ans=-1*pow(base,exponent);
ques=join("","-",var,"<sup>",exponent,"</sup>");
FB1=join("","-",var,"<sup>",exponent,"</sup>");
FB1T="given";
FB2=join("","-(",base,")<sup>",exponent,"</sup>");
FB2T=join("","Substitute the value of ",var); 
FB3=join("","-(",base,")(",base,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=join("","-(",abs(ans),")");
FB4T=join("","(",base,")(",base,")=",ans,"  Now multiply ",abs(ans)," by -1");
FB5=ans;
FB5T=join("",ques," = ",ans);]]></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>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;">{ques} = {_0}</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: 361800  -->
  <question type="formulas">
    <name>
      <text>L76-var1+(var negative base) Exponent</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Simplify:&nbsp; {ques},&nbsp; when {var} = {base}, and {var1} = {a}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td width="25%">
                {FB1}
            </td>
            <td>&nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td>{FB1T}</td>
        </tr>
        <tr>
            <td>
                {FB2}
            </td>
            <td></td>
            <td>{FB2T}</td>
        </tr>
        <tr>
            <td>
                {FB3}
            </td>
            <td></td>
            <td>{FB3T}</td>
        </tr>
        <tr>
            <td>
                {FB4}
            </td>
            <td></td>
            <td>{FB4T}</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[base={-20:-1:1};
variables=shuffle(["A","B","C","D","E","F","G","H","K","L","M","N","P","R","T","S","W","Z","X","Y"]);
a={-25:25:1};]]></text>
</varsrandom>
<varsglobal><text><![CDATA[var=variables[0];
var1=variables[1];
exponent=2;
ans=a+pow(base,exponent);
ques=join("",var1,"+",var,"<sup>",exponent,"</sup>");
FB1=join("",var1,"+",var,"<sup>",exponent,"</sup>");
FB1T="given";
FB2=join("",a,"+","(",base,")<sup>",exponent,"</sup>");
FB2T=join("","Substitute the value of ",var,"=",base,"and ",var1,"=",a,"<br><b>Put parentheses around the substitution!</b>"); 
FB3=join("",a,"+","(",base,")(",base,")");
FB3T=join("","The exponent dictates how many times we multiply the base ",base, " times itself. The exponent is a 2");
FB4=join("",a,"+",pow(base,2),"=",ans);
FB4T=join("","combine ",a," and ",pow(base,2));]]></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>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;">{ques} = {_0}</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#10/L77- Unit Conversions  </text>
    </category>
    <info format="html">
      <text></text>
    </info>
    <idnumber></idnumber>
  </question>

<!-- question: 361814  -->
  <question type="formulas">
    <name>
      <text>L77- STEPS-Unit Conversion Given Larger</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Convert: {amount} {unitB} = _____ {unitA}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr style="border-bottom:1px solid black">
            <td width="40%"><span class="" style="color: rgb(255, 51, 102);">{amount} {unitB}</span> = _____ {unitA}</td>
            <td> </td>
            <td>given</td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">\(\frac{{amount} {unitB}}{1}\)</span><br></td>
            <td></td>
            <td><br>Write the amount and units given as a fraction over one.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">\(\frac{{amount} {unitB}}{1}\)</span> =&nbsp;_____ {unitA}<br></td>
            <td></td>
            <td><br>Set the amount equal to the desired unit.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(51, 102, 255);">\(\frac{{fracA} {unitA}}{{fracB} {unitB}}\)</span><br></td>
            <td></td>
            <td><br><strong>Determine what unit fraction to use.</strong><br>The goal is to cancel the {unitB} units.<br>The numerator should be {unitA}.<br>The denominator should be {unitB}.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">
                    <table>
                        <tbody>
                            <tr>
                                <td rowspan="2" style="text-align: right;">(</td>
                                <td style="border-bottom:1px solid black">{amount} {unitB}</td>

                                <td rowspan="2" style="text-align: left;">) <span class="" style="color: rgb(51, 102, 255);">(</span></td>
                                <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 102, 255);">{fracA} {unitA}</span></td>
                                <td rowspan="2"><span class="" style="color: rgb(51, 102, 255);">)</span><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                            </tr>
                            <tr>
                                <td style="text-align: center;">1</td>
                                <td><span class="" style="color: rgb(51, 102, 255);">{fracB} {unitB}</span></td>

                            </tr>
                        </tbody>
                    </table>
                </span><br></td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td><br><strong>Multiply the amount and unit given times the unit fraction.<br></strong>The units from the original units should cancel.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td>
                <table>
                    <tbody>
                        <tr>
                            <td rowspan="2" style="text-align: right;"><span class="" style="color: rgb(51, 51, 51);">(</span></td>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">{amount} </span><del><span class="" style="color: rgb(51, 51, 51);"><span class="" style="color: rgb(51, 255, 102);">{unitB}</span></span></del></td>

                            <td rowspan="2" style="text-align: left;"><span class="" style="color: rgb(51, 51, 51);">) </span><span class="" style="color: rgb(51, 51, 51);">(</span></td>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">{fracA} {unitA}</span></td>
                            <td rowspan="2"><span class="" style="color: rgb(51, 51, 51);">)</span><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                        </tr>
                        <tr>
                            <td style="text-align: center;"><span class="" style="color: rgb(51, 51, 51);">1</span></td>
                            <td><span class="" style="color: rgb(51, 102, 255);"><span class="" style="color: rgb(51, 51, 51);">{fracB} </span><del><span class="" style="color: rgb(51, 255, 102);">{unitB}</span></del></span></td>

                        </tr>
                    </tbody>
                </table>
            </td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td><br><strong><span class="" style="color: rgb(51, 255, 102);">Cancel {unitB} from the numerator and denominator.</span><br></strong><br><br></td>
        </tr>

        <tr style="border-bottom:1px solid black">
            <td>
                <table>
                    <tbody>
                        <tr>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">({amount})({fracA}) {unitA}&nbsp;</span></td>
                            <td rowspan="2"><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                        </tr>
                        <tr>
                            <td style="text-align: center;"><span class="" style="color: rgb(51, 51, 51);">(1)({fracB})</span></td>



                        </tr>
                    </tbody>
                </table>
            </td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td>Multiply the numerators.<br>Multiply the denominators.</td>
        </tr>
        <tr>
            <td><strong>{ans} {unitA}</strong></td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>({amount})({fracA}) = {=amount*fracA}<br>(1)({fracB}) = {fracB}<br></td>
        </tr>
        <tr>
            <td><strong>{=round(ans,4)} {unitA}</strong></td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>When necessary, round to 4 decimal places.<br></td>
        </tr>
    </tbody>
</table>]]></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>amount={1:15};
randQues={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18};
unitRand=shuffle([0,1]);</text>
</varsrandom>
<varsglobal><text><![CDATA[fracs=[10,1,100,1,1000,1,8,1,2,1,2,1,4,1,12,1,3,1,5280,1,1760,1,60,1,60,1,24,1,7,1,52,1,365,1,12,1,2.54,1];
units=["mm","cm","cm","m","m","km","ounces","cups","cups","pints","pints","quarts","quarts","gallons","inches","foot","feet","yard","feet","mile","yards","mile","seconds","minutes","minutes","hours","hours","days","days","weeks","weeks","years","days","years","months","years","cm","inches"];
unitA=units[2*randQues];
unitB=units[2*randQues+1];
fracA=fracs[2*randQues];
fracB=fracs[2*randQues+1];
ans=amount*fracA/fracB;
ratioNum=fracA;
ratioDen=fracB;
unitChoice=[units[2*randQues+unitRand[0]],units[2*randQues+unitRand[1]]];]]></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>4</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[ratioNum,ratioDen,unitRand[0],unitRand[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[<table>
    <tbody>
        <tr>
            <td rowspan="2">The ratio used for the conversion is </td>
            <td style="border-bottom:1px solid black">{_0}</td>
          <td style="border-bottom:1px solid black">{_2:unitChoice:MCE}</td>
        </tr>
        <tr>
            <td>{_1}</td>
          <td>{_3:unitChoice:MCE}</td>
        </tr>
    </tbody>
</table><br>]]></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>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;">{amount} {unitB} = {_0} {unitA}<br></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: 361816  -->
  <question type="formulas">
    <name>
      <text>L77- STEPS-Unit Conversion Given Larger</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Convert: {amount} {unitB} = _____ {unitA}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr style="border-bottom:1px solid black">
            <td width="25%"><span class="" style="color: rgb(255, 51, 102);">{amount} {unitB}</span> = _____ {unitA}</td>
            <td> </td>
            <td>given</td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">\(\frac{{amount} {unitB}}{1}\)</span><br></td>
            <td></td>
            <td><br>Write the amount and units given as a fraction over one.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">\(\frac{{amount} {unitB}}{1}\)</span> =&nbsp;_____ {unitA}<br></td>
            <td></td>
            <td><br>Set the amount equal to the desired unit.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(51, 102, 255);">\(\frac{{fracA} {unitA}}{{fracB} {unitB}}\)</span><br></td>
            <td></td>
            <td><br><strong>Determine what unit fraction to use.</strong><br>The goal is to cancel the {unitB} units.<br>The numerator should be {unitA}.<br>The denominator should be {unitB}.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">
                    <table>
                        <tbody>
                            <tr>
                                <td rowspan="2" style="text-align: right;">(</td>
                                <td style="border-bottom:1px solid black">{amount} {unitB}</td>

                                <td rowspan="2" style="text-align: left;">) <span class="" style="color: rgb(51, 102, 255);">(</span></td>
                                <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 102, 255);">{fracA} {unitA}</span></td>
                                <td rowspan="2"><span class="" style="color: rgb(51, 102, 255);">)</span><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                            </tr>
                            <tr>
                                <td style="text-align: center;">1</td>
                                <td><span class="" style="color: rgb(51, 102, 255);">{fracB} {unitB}</span></td>

                            </tr>
                        </tbody>
                    </table>
                </span><br></td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td><br><strong>Multiply the amount and unit given times the unit fraction.<br></strong>The units from the original units should cancel.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td>
                <table>
                    <tbody>
                        <tr>
                            <td rowspan="2" style="text-align: right;"><span class="" style="color: rgb(51, 51, 51);">(</span></td>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">{amount} </span><del><span class="" style="color: rgb(51, 51, 51);"><span class="" style="color: rgb(51, 255, 102);">{unitB}</span></span></del></td>

                            <td rowspan="2" style="text-align: left;"><span class="" style="color: rgb(51, 51, 51);">) </span><span class="" style="color: rgb(51, 51, 51);">(</span></td>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">{fracA} {unitA}</span></td>
                            <td rowspan="2"><span class="" style="color: rgb(51, 51, 51);">)</span><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                        </tr>
                        <tr>
                            <td style="text-align: center;"><span class="" style="color: rgb(51, 51, 51);">1</span></td>
                            <td><span class="" style="color: rgb(51, 102, 255);"><span class="" style="color: rgb(51, 51, 51);">{fracB} </span><del><span class="" style="color: rgb(51, 255, 102);">{unitB}</span></del></span></td>

                        </tr>
                    </tbody>
                </table>
            </td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td><br><strong><span class="" style="color: rgb(51, 255, 102);">Cancel {unitB} from the numerator and denominator.</span><br></strong><br><br></td>
        </tr>

        <tr style="border-bottom:1px solid black">
            <td>
                <table>
                    <tbody>
                        <tr>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">({amount})({fracA}) {unitA}&nbsp;</span></td>
                            <td rowspan="2"><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                        </tr>
                        <tr>
                            <td style="text-align: center;"><span class="" style="color: rgb(51, 51, 51);">(1)({fracB})</span></td>



                        </tr>
                    </tbody>
                </table>
            </td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td>Multiply the numerators.<br>Multiply the denominators.</td>
        </tr>
        <tr>
            <td><strong>{ans} {unitA}</strong></td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>({amount})({fracA}) = {=amount*fracA}<br>(1)({fracB}) = {fracB}<br></td>
        </tr><tr>
            <td><strong>{=round(ans,4)} {unitA}</strong></td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>When necessary, round to 4 decimal places.<br></td>
        </tr>
    </tbody>
</table>]]></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>amount={1:15};
randQues={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18};
unitRand=shuffle([0,1]);</text>
</varsrandom>
<varsglobal><text><![CDATA[fracs=[10,1,100,1,1000,1,8,1,2,1,2,1,4,1,12,1,3,1,5280,1,1760,1,60,1,60,1,24,1,7,1,52,1,365,1,12,1,2.54,1];
units=["mm","cm","cm","m","m","km","ounces","cups","cups","pints","pints","quarts","quarts","gallons","inches","foot","feet","yard","feet","mile","yards","mile","seconds","minutes","minutes","hours","hours","days","days","weeks","weeks","years","days","years","months","years","cm","inches"];
unitA=units[2*randQues];
unitB=units[2*randQues+1];
fracA=fracs[2*randQues];
fracB=fracs[2*randQues+1];
ans=amount*fracA/fracB;
ratioNum=fracA;
ratioDen=fracB;
unitChoice=[units[2*randQues+unitRand[0]],units[2*randQues+unitRand[1]]];]]></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>4</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[ratioNum,ratioDen,unitRand[0],unitRand[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[<table>
    <tbody>
        <tr>
            <td rowspan="2">The ratio used for the conversion is </td>
            <td style="border-bottom:1px solid black">{_0}</td>
          <td style="border-bottom:1px solid black">{_2:unitChoice:MCE}</td>
        </tr>
        <tr>
            <td>{_1}</td>
          <td>{_3:unitChoice:MCE}</td>
        </tr>
    </tbody>
</table><br>]]></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>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;">{amount} {unitB} = {_0} {unitA}<br></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: 361813  -->
  <question type="formulas">
    <name>
      <text>L77- Steps-Unit Conversion Given Smaller</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Convert: {amount} {unitB} to {unitA}<span style="font-size: 0.9375rem;"><br>(Round to 4 decimal places)</span></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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr style="border-bottom:1px solid black">
            <td width="25%"><span class="" style="color: rgb(255, 51, 102);">{amount} {unitB}</span> = _____ {unitA}</td>
            <td> </td>
            <td>given</td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">\(\frac{{amount} {unitB}}{1}\)</span><br></td>
            <td></td>
            <td><br>Write the amount and units given as a fraction over one.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">\(\frac{{amount} {unitB}}{1}\)</span> =&nbsp;_____ {unitA}<br></td>
            <td></td>
            <td><br>Set the amount equal to the desired unit.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(51, 102, 255);">\(\frac{{fracA} {unitA}}{{fracB} {unitB}}\)</span><br></td>
            <td></td>
            <td><br><strong>Determine what conversion ratio to use.</strong><br>The goal is to cancel the {unitB} units.<br>The numerator should be {unitA}.<br>The denominator should be {unitB}.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">
                    <table>
                        <tbody>
                            <tr>
                                <td rowspan="2" style="text-align: right;">(</td>
                                <td style="border-bottom:1px solid black">{amount} {unitB}</td>

                                <td rowspan="2" style="text-align: left;">) <span class="" style="color: rgb(51, 102, 255);">(</span></td>
                                <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 102, 255);">{fracA} {unitA}</span></td>
                                <td rowspan="2"><span class="" style="color: rgb(51, 102, 255);">)</span><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                            </tr>
                            <tr>
                                <td style="text-align: center;">1</td>
                                <td><span class="" style="color: rgb(51, 102, 255);">{fracB} {unitB}</span></td>

                            </tr>
                        </tbody>
                    </table>
                </span><br></td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td><br><strong>Multiply the amount and unit given times the unit fraction.<br></strong>The units from the original units should cancel.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td>
                <table>
                    <tbody>
                        <tr>
                            <td rowspan="2" style="text-align: right;"><span class="" style="color: rgb(51, 51, 51);">(</span></td>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">{amount} </span><del><span class="" style="color: rgb(51, 51, 51);"><span class="" style="color: rgb(51, 255, 102);">{unitB}</span></span></del></td>

                            <td rowspan="2" style="text-align: left;"><span class="" style="color: rgb(51, 51, 51);">) </span><span class="" style="color: rgb(51, 51, 51);">(</span></td>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">{fracA} {unitA}</span></td>
                            <td rowspan="2"><span class="" style="color: rgb(51, 51, 51);">)</span><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                        </tr>
                        <tr>
                            <td style="text-align: center;"><span class="" style="color: rgb(51, 51, 51);">1</span></td>
                            <td><span class="" style="color: rgb(51, 102, 255);"><span class="" style="color: rgb(51, 51, 51);">{fracB} </span><del><span class="" style="color: rgb(51, 255, 102);">{unitB}</span></del></span></td>

                        </tr>
                    </tbody>
                </table>
            </td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td><br><strong><span class="" style="color: rgb(51, 255, 102);">Cancel {unitB} from the numerator and denominator.</span><br></strong><br><br></td>
        </tr>

        <tr style="border-bottom:1px solid black">
            <td>
                <table>
                    <tbody>
                        <tr>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">({amount})({fracA}) {unitA}&nbsp;</span></td>
                            <td rowspan="2"><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                        </tr>
                        <tr>
                            <td style="text-align: center;"><span class="" style="color: rgb(51, 51, 51);">(1)({fracB})</span></td>



                        </tr>
                    </tbody>
                </table>
            </td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td>Multiply the numerators.<br>Multiply the denominators.</td>
        </tr>
        <tr>
            <td><strong>{ans} {unitA}</strong></td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>({amount})({fracA}) = {=amount*fracA}<br>(1)({fracB}) = {fracB}<br></td>
        </tr><tr>
            <td><strong>{=round(ans,4)} {unitA}</strong></td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>When necessary, round to 4 decimal places.<br></td>
        </tr>
    </tbody>
</table>]]></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>amount={1:15};
randQues={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18};
unitRand=shuffle([0,1]);</text>
</varsrandom>
<varsglobal><text><![CDATA[fracs=[10,1,100,1,1000,1,8,1,2,1,2,1,4,1,12,1,3,1,5280,1,1760,1,60,1,60,1,24,1,7,1,52,1,365,1,12,1,2.54,1];
units=["mm","cm","cm","m","m","km","ounces","cups","cups","pints","pints","quarts","quarts","gallons","inches","foot","feet","yard","feet","mile","yards","mile","seconds","minutes","minutes","hours","hours","days","days","weeks","weeks","years","days","years","months","years","cm","inches"];
unitA=units[2*randQues+1];
unitB=units[2*randQues];
fracA=fracs[2*randQues+1];
fracB=fracs[2*randQues];
ans=amount*fracA/fracB;
ratioNum=fracA;
ratioDen=fracB;
unitChoice=[units[2*randQues+unitRand[1]],units[2*randQues+unitRand[0]]];]]></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>4</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[ratioNum,ratioDen,unitRand[0],unitRand[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[<table>
    <tbody>
        <tr>
            <td rowspan="2">The ratio used for the conversion is </td>
            <td style="border-bottom:1px solid black">{_0}</td>
            <td style="border-bottom:1px solid black">{_2:unitChoice:MCE}</td>
        </tr>
        <tr>
            <td>{_1}</td>
            <td>{_3:unitChoice:MCE}</td>
        </tr>
    </tbody>
</table><br>]]></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>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.0001]]></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;">{amount} {unitB} = {_0} {unitA}<br></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: 361817  -->
  <question type="formulas">
    <name>
      <text>L77- Steps-Unit Conversion Given Smaller</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Convert: {amount} {unitB} to {unitA}<span style="font-size: 0.9375rem;"><br>(Round to 4 decimal places)</span></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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr style="border-bottom:1px solid black">
            <td width="25%"><span class="" style="color: rgb(255, 51, 102);">{amount} {unitB}</span> = _____ {unitA}</td>
            <td> </td>
            <td>given</td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">\(\frac{{amount} {unitB}}{1}\)</span><br></td>
            <td></td>
            <td><br>Write the amount and units given as a fraction over one.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">\(\frac{{amount} {unitB}}{1}\)</span> =&nbsp;_____ {unitA}<br></td>
            <td></td>
            <td><br>Set the amount equal to the desired unit.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(51, 102, 255);">\(\frac{{fracA} {unitA}}{{fracB} {unitB}}\)</span><br></td>
            <td></td>
            <td><br><strong>Determine what conversion ratio to use.</strong><br>The goal is to cancel the {unitB} units.<br>The numerator should be {unitA}.<br>The denominator should be {unitB}.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">
                    <table>
                        <tbody>
                            <tr>
                                <td rowspan="2" style="text-align: right;">(</td>
                                <td style="border-bottom:1px solid black">{amount} {unitB}</td>

                                <td rowspan="2" style="text-align: left;">) <span class="" style="color: rgb(51, 102, 255);">(</span></td>
                                <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 102, 255);">{fracA} {unitA}</span></td>
                                <td rowspan="2"><span class="" style="color: rgb(51, 102, 255);">)</span><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                            </tr>
                            <tr>
                                <td style="text-align: center;">1</td>
                                <td><span class="" style="color: rgb(51, 102, 255);">{fracB} {unitB}</span></td>

                            </tr>
                        </tbody>
                    </table>
                </span><br></td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td><br><strong>Multiply the amount and unit given times the unit fraction.<br></strong>The units from the original units should cancel.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td>
                <table>
                    <tbody>
                        <tr>
                            <td rowspan="2" style="text-align: right;"><span class="" style="color: rgb(51, 51, 51);">(</span></td>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">{amount} </span><del><span class="" style="color: rgb(51, 51, 51);"><span class="" style="color: rgb(51, 255, 102);">{unitB}</span></span></del></td>

                            <td rowspan="2" style="text-align: left;"><span class="" style="color: rgb(51, 51, 51);">) </span><span class="" style="color: rgb(51, 51, 51);">(</span></td>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">{fracA} {unitA}</span></td>
                            <td rowspan="2"><span class="" style="color: rgb(51, 51, 51);">)</span><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                        </tr>
                        <tr>
                            <td style="text-align: center;"><span class="" style="color: rgb(51, 51, 51);">1</span></td>
                            <td><span class="" style="color: rgb(51, 102, 255);"><span class="" style="color: rgb(51, 51, 51);">{fracB} </span><del><span class="" style="color: rgb(51, 255, 102);">{unitB}</span></del></span></td>

                        </tr>
                    </tbody>
                </table>
            </td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td><br><strong><span class="" style="color: rgb(51, 255, 102);">Cancel {unitB} from the numerator and denominator.</span><br></strong><br><br></td>
        </tr>

        <tr style="border-bottom:1px solid black">
            <td>
                <table>
                    <tbody>
                        <tr>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">({amount})({fracA}) {unitA}&nbsp;</span></td>
                            <td rowspan="2"><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                        </tr>
                        <tr>
                            <td style="text-align: center;"><span class="" style="color: rgb(51, 51, 51);">(1)({fracB})</span></td>



                        </tr>
                    </tbody>
                </table>
            </td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td>Multiply the numerators.<br>Multiply the denominators.</td>
        </tr>
        <tr>
            <td><strong>{ans} {unitA}</strong></td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>({amount})({fracA}) = {=amount*fracA}<br>(1)({fracB}) = {fracB}<br></td>
        </tr><tr>
            <td><strong>{=round(ans,4)} {unitA}</strong></td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>When necessary, round to 4 decimal places.<br></td>
        </tr>
    </tbody>
</table>]]></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>amount={1:15};
randQues={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18};
unitRand=shuffle([0,1]);</text>
</varsrandom>
<varsglobal><text><![CDATA[fracs=[10,1,100,1,1000,1,8,1,2,1,2,1,4,1,12,1,3,1,5280,1,1760,1,60,1,60,1,24,1,7,1,52,1,365,1,12,1,2.54,1];
units=["mm","cm","cm","m","m","km","ounces","cups","cups","pints","pints","quarts","quarts","gallons","inches","foot","feet","yard","feet","mile","yards","mile","seconds","minutes","minutes","hours","hours","days","days","weeks","weeks","years","days","years","months","years","cm","inches"];
unitA=units[2*randQues+1];
unitB=units[2*randQues];
fracA=fracs[2*randQues+1];
fracB=fracs[2*randQues];
ans=amount*fracA/fracB;
ratioNum=fracA;
ratioDen=fracB;
unitChoice=[units[2*randQues+unitRand[1]],units[2*randQues+unitRand[0]]];]]></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>4</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[ratioNum,ratioDen,unitRand[0],unitRand[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[<table>
    <tbody>
        <tr>
            <td rowspan="2">The ratio used for the conversion is </td>
            <td style="border-bottom:1px solid black">{_0}</td>
            <td style="border-bottom:1px solid black">{_2:unitChoice:MCE}</td>
        </tr>
        <tr>
            <td>{_1}</td>
            <td>{_3:unitChoice:MCE}</td>
        </tr>
    </tbody>
</table><br>]]></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>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.0001]]></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;">{amount} {unitB} = {_0} {unitA}<br></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: 361809  -->
  <question type="formulas">
    <name>
      <text>L77- Unit Conversion Given Larger</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Convert: {amount} {unitB} = _____ {unitA}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr style="border-bottom:1px solid black">
            <td width="25%"><span class="" style="color: rgb(255, 51, 102);">{amount} {unitB}</span> = _____ {unitA}</td>
            <td> </td>
            <td>given</td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">\(\frac{{amount} {unitB}}{1}\)</span><br></td>
            <td></td>
            <td><br>Write the amount and units given as a fraction over one.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">\(\frac{{amount} {unitB}}{1}\)</span> =&nbsp;_____ {unitA}<br></td>
            <td></td>
            <td><br>Set the amount equal to the desired unit.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(51, 102, 255);">\(\frac{{fracA} {unitA}}{{fracB} {unitB}}\)</span><br></td>
            <td></td>
            <td><br><strong>Determine what unit fraction to use.</strong><br>The goal is to cancel the {unitB} units.<br>The numerator should be {unitA}.<br>The denominator should be {unitB}.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">
                    <table>
                        <tbody>
                            <tr>
                                <td rowspan="2" style="text-align: right;">(</td>
                                <td style="border-bottom:1px solid black">{amount} {unitB}</td>

                                <td rowspan="2" style="text-align: left;">) <span class="" style="color: rgb(51, 102, 255);">(</span></td>
                                <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 102, 255);">{fracA} {unitA}</span></td>
                                <td rowspan="2"><span class="" style="color: rgb(51, 102, 255);">)</span><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                            </tr>
                            <tr>
                                <td style="text-align: center;">1</td>
                                <td><span class="" style="color: rgb(51, 102, 255);">{fracB} {unitB}</span></td>

                            </tr>
                        </tbody>
                    </table>
                </span><br></td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td><br><strong>Multiply the amount and unit given times the unit fraction.<br></strong>The units from the original units should cancel.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td>
                <table>
                    <tbody>
                        <tr>
                            <td rowspan="2" style="text-align: right;"><span class="" style="color: rgb(51, 51, 51);">(</span></td>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">{amount} </span><del><span class="" style="color: rgb(51, 51, 51);"><span class="" style="color: rgb(51, 255, 102);">{unitB}</span></span></del></td>

                            <td rowspan="2" style="text-align: left;"><span class="" style="color: rgb(51, 51, 51);">) </span><span class="" style="color: rgb(51, 51, 51);">(</span></td>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">{fracA} {unitA}</span></td>
                            <td rowspan="2"><span class="" style="color: rgb(51, 51, 51);">)</span><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                        </tr>
                        <tr>
                            <td style="text-align: center;"><span class="" style="color: rgb(51, 51, 51);">1</span></td>
                            <td><span class="" style="color: rgb(51, 102, 255);"><span class="" style="color: rgb(51, 51, 51);">{fracB} </span><del><span class="" style="color: rgb(51, 255, 102);">{unitB}</span></del></span></td>

                        </tr>
                    </tbody>
                </table>
            </td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td><br><strong><span class="" style="color: rgb(51, 255, 102);">Cancel {unitB} from the numerator and denominator.</span><br></strong><br><br></td>
        </tr>

        <tr style="border-bottom:1px solid black">
            <td>
                <table>
                    <tbody>
                        <tr>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">({amount})({fracA}) {unitA}&nbsp;</span></td>
                            <td rowspan="2"><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                        </tr>
                        <tr>
                            <td style="text-align: center;"><span class="" style="color: rgb(51, 51, 51);">(1)({fracB})</span></td>



                        </tr>
                    </tbody>
                </table>
            </td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td>Multiply the numerators.<br>Multiply the denominators.</td>
        </tr>
        <tr>
            <td><strong>{ans} {unitA}</strong></td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>({amount})({fracA}) = {=amount*fracA}<br>(1)({fracB}) = {fracB}<br></td>
        </tr><tr>
            <td><strong>{=round(ans,4)} {unitA}</strong></td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>When necessary, round to 4 decimal places.<br></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>amount={1:15};
randQues={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18};</text>
</varsrandom>
<varsglobal><text><![CDATA[fracs=[10,1,100,1,1000,1,8,1,2,1,2,1,4,1,12,1,3,1,5280,1,1760,1,60,1,60,1,24,1,7,1,52,1,365,1,12,1,2.54,1];
units=["mm","cm","cm","m","m","km","ounces","cups","cups","pints","pints","quarts","quarts","gallons","inches","foot","feet","yard","feet","mile","yards","mile","seconds","minutes","minutes","hours","hours","days","days","weeks","weeks","years","days","years","months","years","cm","inches"];
unitA=units[2*randQues];
unitB=units[2*randQues+1];
fracA=fracs[2*randQues];
fracB=fracs[2*randQues+1];
ans=amount*fracA/fracB;]]></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>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></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: 361810  -->
  <question type="formulas">
    <name>
      <text>L77- Unit Conversion Given Smaller</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Convert: {amount} {unitB} = _____ {unitA}<span style="font-size: 0.9375rem;"><br>(Round to 4 decimal places)</span></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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr style="border-bottom:1px solid black">
            <td width="40%"><span class="" style="color: rgb(255, 51, 102);">{amount} {unitB}</span> = _____ {unitA}</td>
            <td> </td>
            <td>given</td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">\(\frac{{amount} {unitB}}{1}\)</span><br></td>
            <td></td>
            <td><br>Write the amount and units given as a fraction over one.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">\(\frac{{amount} {unitB}}{1}\)</span> =&nbsp;_____ {unitA}<br></td>
            <td></td>
            <td><br>Set the amount equal to the desired unit.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(51, 102, 255);">\(\frac{{fracA} {unitA}}{{fracB} {unitB}}\)</span><br></td>
            <td></td>
            <td><br><strong>Determine what unit fraction to use.</strong><br>The goal is to cancel the {unitB} units.<br>The numerator should be {unitA}.<br>The denominator should be {unitB}.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">
                    <table>
                        <tbody>
                            <tr>
                                <td rowspan="2" style="text-align: right;">(</td>
                                <td style="border-bottom:1px solid black">{amount} {unitB}</td>

                                <td rowspan="2" style="text-align: left;">) <span class="" style="color: rgb(51, 102, 255);">(</span></td>
                                <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 102, 255);">{fracA} {unitA}</span></td>
                                <td rowspan="2"><span class="" style="color: rgb(51, 102, 255);">)</span><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                            </tr>
                            <tr>
                                <td style="text-align: center;">1</td>
                                <td><span class="" style="color: rgb(51, 102, 255);">{fracB} {unitB}</span></td>

                            </tr>
                        </tbody>
                    </table>
                </span><br></td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td><br><strong>Multiply the amount and unit given times the unit fraction.<br></strong>The units from the original units should cancel.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td>
                <table>
                    <tbody>
                        <tr>
                            <td rowspan="2" style="text-align: right;"><span class="" style="color: rgb(51, 51, 51);">(</span></td>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">{amount} </span><del><span class="" style="color: rgb(51, 51, 51);"><span class="" style="color: rgb(51, 255, 102);">{unitB}</span></span></del></td>

                            <td rowspan="2" style="text-align: left;"><span class="" style="color: rgb(51, 51, 51);">) </span><span class="" style="color: rgb(51, 51, 51);">(</span></td>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">{fracA} {unitA}</span></td>
                            <td rowspan="2"><span class="" style="color: rgb(51, 51, 51);">)</span><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                        </tr>
                        <tr>
                            <td style="text-align: center;"><span class="" style="color: rgb(51, 51, 51);">1</span></td>
                            <td><span class="" style="color: rgb(51, 102, 255);"><span class="" style="color: rgb(51, 51, 51);">{fracB} </span><del><span class="" style="color: rgb(51, 255, 102);">{unitB}</span></del></span></td>

                        </tr>
                    </tbody>
                </table>
            </td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td><br><strong><span class="" style="color: rgb(51, 255, 102);">Cancel {unitB} from the numerator and denominator.</span><br></strong><br><br></td>
        </tr>

        <tr style="border-bottom:1px solid black">
            <td>
                <table>
                    <tbody>
                        <tr>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">({amount})({fracA}) {unitA}&nbsp;</span></td>
                            <td rowspan="2"><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                        </tr>
                        <tr>
                            <td style="text-align: center;"><span class="" style="color: rgb(51, 51, 51);">(1)({fracB})</span></td>



                        </tr>
                    </tbody>
                </table>
            </td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td>Multiply the numerators.<br>Multiply the denominators.</td>
        </tr>
        <tr>
            <td><strong>{ans} {unitA}</strong></td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>({amount})({fracA}) = {=amount*fracA}<br>(1)({fracB}) = {fracB}<br></td>
        </tr>
        <tr>
            <td><strong>{=round(ans,4)} {unitA}</strong></td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>When necessary, round to 4 decimal places.<br></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>amount={1:15};
randQues={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18};</text>
</varsrandom>
<varsglobal><text><![CDATA[fracs=[10,1,100,1,1000,1,8,1,2,1,2,1,4,1,12,1,3,1,5280,1,1760,1,60,1,60,1,24,1,7,1,52,1,365,1,12,1,2.54,1];
units=["mm","cm","cm","m","m","km","ounces","cups","cups","pints","pints","quarts","quarts","gallons","inches","foot","feet","yard","feet","mile","yards","mile","seconds","minutes","minutes","hours","hours","days","days","weeks","weeks","years","days","years","months","years","cm","inches"];
unitA=units[2*randQues+1];
unitB=units[2*randQues];
fracA=fracs[2*randQues+1];
fracB=fracs[2*randQues];
ans=amount*fracA/fracB;]]></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>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.0001]]></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;">{amount} {unitB} = {_0} {unitA}<br></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: 361815  -->
  <question type="formulas">
    <name>
      <text>L77- Unit Conversion Given Smaller</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Convert: {amount} {unitB} = _____ {unitA}<span style="font-size: 0.9375rem;"><br>(Round to 4 decimal places)</span></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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr style="border-bottom:1px solid black">
            <td width="25%"><span class="" style="color: rgb(255, 51, 102);">{amount} {unitB}</span> = _____ {unitA}</td>
            <td> </td>
            <td>given</td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">\(\frac{{amount} {unitB}}{1}\)</span><br></td>
            <td></td>
            <td><br>Write the amount and units given as a fraction over one.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">\(\frac{{amount} {unitB}}{1}\)</span> =&nbsp;_____ {unitA}<br></td>
            <td></td>
            <td><br>Set the amount equal to the desired unit.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(51, 102, 255);">\(\frac{{fracA} {unitA}}{{fracB} {unitB}}\)</span><br></td>
            <td></td>
            <td><br><strong>Determine what unit fraction to use.</strong><br>The goal is to cancel the {unitB} units.<br>The numerator should be {unitA}.<br>The denominator should be {unitB}.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><span class="" style="color: rgb(255, 51, 102);">
                    <table>
                        <tbody>
                            <tr>
                                <td rowspan="2" style="text-align: right;">(</td>
                                <td style="border-bottom:1px solid black">{amount} {unitB}</td>

                                <td rowspan="2" style="text-align: left;">) <span class="" style="color: rgb(51, 102, 255);">(</span></td>
                                <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 102, 255);">{fracA} {unitA}</span></td>
                                <td rowspan="2"><span class="" style="color: rgb(51, 102, 255);">)</span><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                            </tr>
                            <tr>
                                <td style="text-align: center;">1</td>
                                <td><span class="" style="color: rgb(51, 102, 255);">{fracB} {unitB}</span></td>

                            </tr>
                        </tbody>
                    </table>
                </span><br></td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td><br><strong>Multiply the amount and unit given times the unit fraction.<br></strong>The units from the original units should cancel.<br><br></td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td>
                <table>
                    <tbody>
                        <tr>
                            <td rowspan="2" style="text-align: right;"><span class="" style="color: rgb(51, 51, 51);">(</span></td>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">{amount} </span><del><span class="" style="color: rgb(51, 51, 51);"><span class="" style="color: rgb(51, 255, 102);">{unitB}</span></span></del></td>

                            <td rowspan="2" style="text-align: left;"><span class="" style="color: rgb(51, 51, 51);">) </span><span class="" style="color: rgb(51, 51, 51);">(</span></td>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">{fracA} {unitA}</span></td>
                            <td rowspan="2"><span class="" style="color: rgb(51, 51, 51);">)</span><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                        </tr>
                        <tr>
                            <td style="text-align: center;"><span class="" style="color: rgb(51, 51, 51);">1</span></td>
                            <td><span class="" style="color: rgb(51, 102, 255);"><span class="" style="color: rgb(51, 51, 51);">{fracB} </span><del><span class="" style="color: rgb(51, 255, 102);">{unitB}</span></del></span></td>

                        </tr>
                    </tbody>
                </table>
            </td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td><br><strong><span class="" style="color: rgb(51, 255, 102);">Cancel {unitB} from the numerator and denominator.</span><br></strong><br><br></td>
        </tr>

        <tr style="border-bottom:1px solid black">
            <td>
                <table>
                    <tbody>
                        <tr>
                            <td style="border-bottom:1px solid black"><span class="" style="color: rgb(51, 51, 51);">({amount})({fracA}) {unitA}&nbsp;</span></td>
                            <td rowspan="2"><span class="" style="color: rgb(51, 51, 51);">= _____ {unitA}</span></td>
                        </tr>
                        <tr>
                            <td style="text-align: center;"><span class="" style="color: rgb(51, 51, 51);">(1)({fracB})</span></td>



                        </tr>
                    </tbody>
                </table>
            </td>
            <td>&nbsp; &nbsp; &nbsp;</td>
            <td>Multiply the numerators.<br>Multiply the denominators.</td>
        </tr>
        <tr>
            <td><strong>{ans} {unitA}</strong></td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>({amount})({fracA}) = {=amount*fracA}<br>(1)({fracB}) = {fracB}<br></td>
        </tr><tr>
            <td><strong>{=round(ans,4)} {unitA}</strong></td>
            <td>&nbsp; &nbsp;&nbsp;</td>
            <td>When necessary, round to 4 decimal places.<br></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>amount={1:15};
randQues={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18};</text>
</varsrandom>
<varsglobal><text><![CDATA[fracs=[10,1,100,1,1000,1,8,1,2,1,2,1,4,1,12,1,3,1,5280,1,1760,1,60,1,60,1,24,1,7,1,52,1,365,1,12,1,2.54,1];
units=["mm","cm","cm","m","m","km","ounces","cups","cups","pints","pints","quarts","quarts","gallons","inches","foot","feet","yard","feet","mile","yards","mile","seconds","minutes","minutes","hours","hours","days","days","weeks","weeks","years","days","years","months","years","cm","inches"];
unitA=units[2*randQues+1];
unitB=units[2*randQues];
fracA=fracs[2*randQues+1];
fracB=fracs[2*randQues];
ans=amount*fracA/fracB;]]></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>ans</text>
 </answer>
 <vars2>
  <text></text>
 </vars2>
 <correctness>
  <text><![CDATA[_err < 0.0001]]></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;">{amount} {unitB} = {_0} {unitA}<br></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: 361811  -->
  <question type="formulas">
    <name>
      <text>L77- Write both Unit Rates</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p dir="ltr" style="text-align: left;">Write two rates involving {unitA} and {unitB}</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>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<table>
    <tbody>
        <tr>
            <td>Write two rates involving {unitA} and {unitB}</td>
            <td></td>

            <td>given</td>

        </tr>
        <tr>
            <td>
                <table>
                    <tbody>
                        <tr>
                            <td style="border-bottom: 1px solid black">____{unitA}</td>
                            <td rowspan="2">&nbsp;and&nbsp;</td>
                            <td style="border-bottom: 1px solid black">____ {unitB}</td>
                        </tr>
                        <tr>
                            <td>____ {unitB}</td>

                            <td>____ {unitA}</td>
                        </tr>
                    </tbody>
                </table>
            </td>
            <td><br></td>
            <td>Write the rates such that {unitA} is in the numerator,<br>then {unitA} is in the denominator.</td>
        </tr>
        <tr style="border-bottom:1px solid black">
            <td><table>
                    <tbody>
                        <tr>
                            <td style="border-bottom: 1px solid black">{fracA} {unitA}</td>
                            <td rowspan="2">&nbsp;and&nbsp;</td>
                            <td style="border-bottom: 1px solid black">{fracB} {unitB}</td>
                        </tr>
                        <tr>
                            <td>{fracB} {unitB}</td>

                            <td>{fracA} {unitA}</td>
                        </tr>
                    </tbody>
                </table></td>
            <td></td>
            <td><br>Use the unit conversion to write the amounts.<br>{fracA} {unitA} = {fracB} {unitB}<br><br></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>amount={1:15};
randQues={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19};</text>
</varsrandom>
<varsglobal><text><![CDATA[fracs=[10,1,100,1,1000,1,8,1,2,1,2,1,4,1,12,1,3,1,5280,1,1760,1,60,1,60,1,24,1,7,1,52,1,365,1,12,1,2.54,1];
units=["mm","cm","cm","m","m","km","ounces","cups","cups","pints","pints","quarts","quarts","gallons","inches","foot","feet","yard","feet","mile","yards","mile","seconds","minutes","minutes","hours","hours","days","days","weeks","weeks","years","days","years","months","years","cm","inches"];
unitA=units[2*randQues];
unitB=units[2*randQues+1];
fracA=fracs[2*randQues];
fracB=fracs[2*randQues+1];
ans=amount*fracA/fracB;]]></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>4</text>
 </numbox>
 <vars1>
  <text></text>
 </vars1>
 <answer>
  <text>[fracA,fracA,fracB,fracB]</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[<table>
    <tbody>
        <tr>
            <td style="border-bottom: 1px solid black">{_0}{unitA}</td>
            <td rowspan="2">&nbsp;and&nbsp;</td>
            <td style="border-bottom: 1px solid black">{_3} {unitB}</td>
        </tr>
        <tr>
            <td>{_2} {unitB}</td>
            
            <td>{_1} {unitA}</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>
  </question>

</quiz>