<?xml version="1.0" encoding="UTF-8"?>
<quiz>
 <!-- categoryid: 221 -->
 <question type="category"><category><text>Examples in the user manual</text></category></question>
 
 <!-- resourceid-resourcedataid: 2370-782 -->
 <question type="shortanswerwiris">
    <name><text>01. A first example: Determinant of a matrix</text>
</name>
    <questiontext format="html">
<text>Calculate the determinant of the matrix #m.</text>
    </questiontext>
    <image></image>
    <generalfeedback>
<text>Error!!!</text>
    </generalfeedback>
    <defaultgrade>1</defaultgrade>
    <penalty>0.1</penalty>
    <hidden>0</hidden>
    <shuffleanswers>0</shuffleanswers>
<usecase>0</usecase><answer fraction="100">      <text>
#sol
      </text>
<feedback>        <text>

        </text>
</feedback></answer><wirisquestion>«session lang=¨en¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«mo»:=«/mo»«mi»random«/mi»«mfenced»«mrow»«mo»-«/mo»«mn»3«/mn»«mo»,«/mo»«mn»3«/mn»«/mrow»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»m«/mi»«mo»=«/mo»«mfenced»«mtable»«mtr»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«/mtr»«mtr»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«/mtr»«mtr»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«/mtr»«/mtable»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»sol«/mi»«mo»=«/mo»«mi»determinant«/mi»«mfenced»«mi»m«/mi»«/mfenced»«/math»«/input»«/command»«/group»«/library»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»m«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfenced»«mtable»«mtr»«mtd»«mo»-«/mo»«mn»3«/mn»«/mtd»«mtd»«mn»1«/mn»«/mtd»«mtd»«mn»3«/mn»«/mtd»«/mtr»«mtr»«mtd»«mo»-«/mo»«mn»1«/mn»«/mtd»«mtd»«mo»-«/mo»«mn»2«/mn»«/mtd»«mtd»«mn»1«/mn»«/mtd»«/mtr»«mtr»«mtd»«mn»2«/mn»«/mtd»«mtd»«mo»-«/mo»«mn»3«/mn»«/mtd»«mtd»«mn»0«/mn»«/mtd»«/mtr»«/mtable»«/mfenced»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»sol«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»14«/mn»«/math»«/output»«/command»«/group»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«/session»</wirisquestion><wiriseditor></wiriseditor><wirisoptions></wirisoptions></question>
 
 <!-- resourceid-resourcedataid: 2371-783 -->
 <question type="multichoicewiris">
    <name><text>02. The field Algorithm: Factorisation of an integer</text>
</name>
    <questiontext format="html">
<text>What is the factorisation of #n ?</text>
    </questiontext>
    <image></image>
    <generalfeedback>
<text></text>
    </generalfeedback>
    <defaultgrade>1</defaultgrade>
    <penalty>0.1</penalty>
    <hidden>0</hidden>
    <shuffleanswers>1</shuffleanswers>
<single>true</single><shuffleanswers>true</shuffleanswers><correctfeedback>      <text></text>
</correctfeedback><partiallycorrectfeedback>      <text></text>
</partiallycorrectfeedback><incorrectfeedback>      <text></text>
</incorrectfeedback><answernumbering>abc</answernumbering><answer fraction="100">        <text>
#a
        </text>
<feedback>          <text>

          </text>
</feedback></answer><answer fraction="0">        <text>
#b
        </text>
<feedback>          <text>

          </text>
</feedback></answer><answer fraction="0">        <text>
#c
        </text>
<feedback>          <text>

          </text>
</feedback></answer><wirisquestion>«session lang=¨en¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»repeat«/csymbol»«mrow»«mi»n«/mi»«mo»=«/mo»«mi»random«/mi»«mo»(«/mo»«mn»1«/mn»«mo»,«/mo»«mn»100«/mn»«mo»)«/mo»«/mrow»«mrow»«mi»length«/mi»«mfenced»«mrow»«mi»factor«/mi»«mo»(«/mo»«mi»n«/mi»«mo»)«/mo»«/mrow»«/mfenced»«mo»§gt;«/mo»«mn»2«/mn»«/mrow»«/apply»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»a«/mi»«mo»=«/mo»«mi»factor«/mi»«mo»(«/mo»«mi»n«/mi»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»b«/mi»«mo»=«/mo»«mi»factor«/mi»«mo»(«/mo»«mn»2«/mn»«mo»*«/mo»«mi»n«/mi»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»c«/mi»«mo»=«/mo»«mi»factor«/mi»«mfenced»«mfrac»«mi»n«/mi»«msub»«mi»a«/mi»«mrow»«mn»2«/mn»«mo»,«/mo»«mn»1«/mn»«/mrow»«/msub»«/mfrac»«/mfenced»«/math»«/input»«/command»«/group»«/library»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»n«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»66«/mn»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»a«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»2«/mn»«mo»*«/mo»«mn»3«/mn»«mo»*«/mo»«mn»11«/mn»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»b«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«msup»«mn»2«/mn»«mn»2«/mn»«/msup»«mo»*«/mo»«mn»3«/mn»«mo»*«/mo»«mn»11«/mn»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»c«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»2«/mn»«mo»*«/mo»«mn»11«/mn»«/math»«/output»«/command»«/group»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«/session»</wirisquestion><wirisoverrideanswer>;;;;;</wirisoverrideanswer><wirisoptions></wirisoptions></question>
 
 <!-- resourceid-resourcedataid: 2372-784 -->
 <question type="truefalsewiris">
    <name><text>03. Randomness: Prime numbers</text>
</name>
    <questiontext format="html">
<text>Is #n a prime number?</text>
    </questiontext>
    <image></image>
    <generalfeedback>
<text></text>
    </generalfeedback>
    <defaultgrade>1</defaultgrade>
    <penalty>1</penalty>
    <hidden>0</hidden>
    <shuffleanswers>0</shuffleanswers>
<answer fraction="0"><text>true</text><feedback><text></text>
</feedback></answer><answer fraction="100"><text>false</text><feedback><text><![CDATA[Incorrect, notice that <span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mi»#n«/mi»«mo»=«/mo»«mi»#f«/mi»«/math»</span>]]></text>
</feedback></answer><wirisquestion>«session lang=¨en¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»n«/mi»«mo»=«/mo»«mi»random«/mi»«mfenced»«mrow»«mn»1«/mn»«mo».«/mo»«mo».«/mo»«mn»100«/mn»«/mrow»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»sol«/mi»«mo»=«/mo»«mi»prime«/mi»«mo»?«/mo»«mo»(«/mo»«mi»n«/mi»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»f«/mi»«mo»=«/mo»«mi»factor«/mi»«mfenced»«mi»n«/mi»«/mfenced»«/math»«/input»«/command»«/group»«/library»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»n«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»20«/mn»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»sol«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»false«/mi»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»f«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«msup»«mn»2«/mn»«mn»2«/mn»«/msup»«mo»*«/mo»«mn»5«/mn»«/math»«/output»«/command»«/group»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«/session»</wirisquestion><wirisoverrideanswer>#sol</wirisoverrideanswer><wirisoptions></wirisoptions></question>
 
 <!-- resourceid-resourcedataid: 2373-785 -->
 <question type="truefalsewiris">
    <name><text>04. Graphical content: Graphical representation of a function</text>
</name>
    <questiontext format="html">
<text><![CDATA[¿Does the following plot match the function <span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mi»f«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«mo»=«/mo»«mi»#h«/mi»«/math»</span>?<br />#p<br />]]></text>
    </questiontext>
    <image></image>
    <generalfeedback>
<text></text>
    </generalfeedback>
    <defaultgrade>1</defaultgrade>
    <penalty>1</penalty>
    <hidden>0</hidden>
    <shuffleanswers>0</shuffleanswers>
<answer fraction="0"><text>true</text><feedback><text></text>
</feedback></answer><answer fraction="100"><text>false</text><feedback><text></text>
</feedback></answer><wirisquestion>«session lang=¨en¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»f«/mi»«mo»(«/mo»«mo»)«/mo»«mo»:«/mo»«mo»=«/mo»«mi»random«/mi»«mfenced»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«msup»«exponentiale/»«mi»x«/mi»«/msup»«mo»,«/mo»«msup»«mi»x«/mi»«mn»2«/mn»«/msup»«mo»,«/mo»«msup»«mi»x«/mi»«mn»3«/mn»«/msup»«mo»,«/mo»«msup»«mi»x«/mi»«mrow»«mo»-«/mo»«mn»1«/mn»«/mrow»«/msup»«mo»,«/mo»«msup»«mi»x«/mi»«mrow»«mo»-«/mo»«mn»2«/mn»«/mrow»«/msup»«mo»,«/mo»«mi»ln«/mi»«mo»§nbsp;«/mo»«mi»x«/mi»«mo»,«/mo»«mo»§nbsp;«/mo»«mi»sin«/mi»«mo»§nbsp;«/mo»«mi»x«/mi»«mo»,«/mo»«mo»§nbsp;«/mo»«mi»cos«/mi»«mo»§nbsp;«/mo»«mi»x«/mi»«/mtd»«/mtr»«/mtable»«/mfenced»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»g«/mi»«mo»=«/mo»«mi»f«/mi»«mo»(«/mo»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»h«/mi»«mo»=«/mo»«mi»random«/mi»«mo»(«/mo»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mi»f«/mi»«mo»(«/mo»«mo»)«/mo»«mo»,«/mo»«mi»g«/mi»«/mtd»«/mtr»«/mtable»«/mfenced»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»p«/mi»«mo»=«/mo»«mi»plot«/mi»«mo»(«/mo»«mi»g«/mi»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»r«/mi»«mo»:=«/mo»«mo»(«/mo»«mi»g«/mi»«mo»=«/mo»«mi»h«/mi»«mo»)«/mo»«mo»?«/mo»«/math»«/input»«/command»«/group»«/library»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»g«/mi»«mo»,«/mo»«mi»h«/mi»«mo»,«/mo»«mi»r«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»cos«/mi»«mfenced»«mi»x«/mi»«/mfenced»«mo»,«/mo»«mi»cos«/mi»«mfenced»«mi»x«/mi»«/mfenced»«mo»,«/mo»«mi»true«/mi»«/math»«/output»«/command»«/group»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»g«/mi»«mo»,«/mo»«mi»h«/mi»«mo»,«/mo»«mi»r«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«msup»«exponentiale/»«mi»x«/mi»«/msup»«mo»,«/mo»«msup»«mi»x«/mi»«mn»2«/mn»«/msup»«mo»,«/mo»«mi»false«/mi»«/math»«/output»«/command»«/group»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«/session»</wirisquestion><wirisoverrideanswer>#r</wirisoverrideanswer><wirisoptions></wirisoptions></question>
 
 <!-- resourceid-resourcedataid: 2374-786 -->
 <question type="multichoicewiris">
    <name><text>05. Feedback for the student: Degree of a polynomial</text>
</name>
    <questiontext format="html">
<text><![CDATA[What is the degree of the polynomial #p ?<br />]]></text>
    </questiontext>
    <image></image>
    <generalfeedback>
<text></text>
    </generalfeedback>
    <defaultgrade>1</defaultgrade>
    <penalty>0.1</penalty>
    <hidden>0</hidden>
    <shuffleanswers>1</shuffleanswers>
<single>true</single><shuffleanswers>true</shuffleanswers><correctfeedback>      <text></text>
</correctfeedback><partiallycorrectfeedback>      <text></text>
</partiallycorrectfeedback><incorrectfeedback>      <text></text>
</incorrectfeedback><answernumbering>none</answernumbering><answer fraction="100">        <text>
#g
        </text>
<feedback>          <text>
<![CDATA[<div style="text-align: justify; ">Well done! You have chosen the right answer.</div>]]>
          </text>
</feedback></answer><answer fraction="0">        <text>
#c
        </text>
<feedback>          <text>
<![CDATA[You have chosen the <b>leading coefficient</b> of the polynomial.]]>
          </text>
</feedback></answer><answer fraction="0">        <text>
#i
        </text>
<feedback>          <text>
<![CDATA[You have chosen the <b>constant term</b> of the polynomial.<br />]]>
          </text>
</feedback></answer><wirisquestion>«session lang=¨en¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»f«/mi»«mo»(«/mo»«mo»)«/mo»«mo»:=«/mo»«mi»random«/mi»«mo»(«/mo»«mo»-«/mo»«mn»10«/mn»«mo»,«/mo»«mn»10«/mn»«mo»)«/mo»«mo»*«/mo»«msup»«mi»x«/mi»«mrow»«mi»random«/mi»«mo»(«/mo»«mn»0«/mn»«mo»,«/mo»«mn»5«/mn»«mo»)«/mo»«/mrow»«/msup»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»g«/mi»«mo»:=«/mo»«mi»degree«/mi»«mfenced»«mi»p«/mi»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»c«/mi»«mo»:=«/mo»«msub»«mi»p«/mi»«mi»g«/mi»«/msub»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»i«/mi»«mo»:=«/mo»«msub»«mi»p«/mi»«mn»0«/mn»«/msub»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»repeat«/csymbol»«mrow»«mi»p«/mi»«mo»=«/mo»«mo»§nbsp;«/mo»«mi»f«/mi»«mo»(«/mo»«mo»)«/mo»«mo»+«/mo»«mi»f«/mi»«mo»(«/mo»«mo»)«/mo»«mo»+«/mo»«mi»f«/mi»«mo»(«/mo»«mo»)«/mo»«mo»+«/mo»«mi»f«/mi»«mo»(«/mo»«mo»)«/mo»«mo»+«/mo»«mi»f«/mi»«mo»(«/mo»«mo»)«/mo»«/mrow»«mrow»«mi»g«/mi»«mo»§ne;«/mo»«mi»c«/mi»«mo»§nbsp;«/mo»«mo»§and;«/mo»«mo»§nbsp;«/mo»«mi»g«/mi»«mo»§ne;«/mo»«mi»i«/mi»«mo»§nbsp;«/mo»«mo»§and;«/mo»«mo»§nbsp;«/mo»«mi»c«/mi»«mo»§ne;«/mo»«mi»i«/mi»«/mrow»«/apply»«/math»«/input»«/command»«/group»«/library»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»p«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»7«/mn»«mo»*«/mo»«msup»«mi»x«/mi»«mn»4«/mn»«/msup»«mo»-«/mo»«mn»3«/mn»«mo»*«/mo»«msup»«mi»x«/mi»«mn»3«/mn»«/msup»«mo»-«/mo»«mn»6«/mn»«mo»*«/mo»«mi»x«/mi»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»c«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»7«/mn»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»g«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»4«/mn»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»i«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»0«/mn»«/math»«/output»«/command»«/group»«/session»</wirisquestion><wirisoverrideanswer>;;;;;</wirisoverrideanswer><wirisoptions></wirisoptions></question>
 
 <!-- resourceid-resourcedataid: 2375-787 -->
 <question type="truefalsewiris">
    <name><text>06. True / False: Types of numbers</text>
</name>
    <questiontext format="html">
<text><![CDATA[Is the following statement true?   #e <span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mo»§#8712;«/mo»«/math»</span> #c]]></text>
    </questiontext>
    <image></image>
    <generalfeedback>
<text>More information on number types in the following chapter.</text>
    </generalfeedback>
    <defaultgrade>1</defaultgrade>
    <penalty>1</penalty>
    <hidden>0</hidden>
    <shuffleanswers>0</shuffleanswers>
<answer fraction="0"><text>true</text><feedback><text>Congratulations! Try with another example.</text>
</feedback></answer><answer fraction="100"><text>false</text><feedback><text><![CDATA[It is incorrect. Remember that <span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mi mathvariant=&quot;normal&quot;»§#8469;«/mi»«/math»</span> are the natural numbers, <span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mi mathvariant=&quot;normal&quot;»§#8484;«/mi»«/math»</span> are the integers and  <span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mi mathvariant=&quot;normal&quot;»§#8474;«/mi»«/math»</span> are the rational numbers.]]></text>
</feedback></answer><wirisquestion>«session lang=¨en¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«mo»:=«/mo»«mi»random«/mi»«mfenced»«mrow»«mo»-«/mo»«mn»100«/mn»«mo»,«/mo»«mn»100«/mn»«/mrow»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»z«/mi»«mo»=«/mo»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»q«/mi»«mo»=«/mo»«mfrac»«mrow»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/mrow»«mrow»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/mrow»«/mfrac»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»r«/mi»«mo»=«/mo»«msqrt»«mfenced close=¨§verbar;¨ open=¨§verbar;¨»«mrow»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/mrow»«/mfenced»«/msqrt»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»e«/mi»«mo»=«/mo»«mi»random«/mi»«mfenced»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mi»z«/mi»«mo»,«/mo»«mi»q«/mi»«mo»,«/mo»«mi»r«/mi»«/mtd»«/mtr»«/mtable»«/mfenced»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»c«/mi»«mo»=«/mo»«mi»random«/mi»«mfenced»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«naturalnumbers/»«mo»,«/mo»«integers/»«mo»,«/mo»«rationals/»«/mtd»«/mtr»«/mtable»«/mfenced»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»sol«/mi»«mo»:«/mo»«mo»=«/mo»«mfenced»«mrow»«mi»e«/mi»«mo»§isin;«/mo»«mi»c«/mi»«/mrow»«/mfenced»«mo»?«/mo»«/math»«/input»«/command»«/group»«/library»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»e«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»19«/mn»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»c«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«rationals/»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»sol«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»true«/mi»«/math»«/output»«/command»«/group»«/session»</wirisquestion><wirisoverrideanswer>#sol</wirisoverrideanswer><wirisoptions></wirisoptions></question>
 
 <!-- resourceid-resourcedataid: 2376-788 -->
 <question type="multichoicewiris">
    <name><text>07. Multiple choice: Range of a matrix</text>
</name>
    <questiontext format="html">
<text>What is the range of the following matrix? #m</text>
    </questiontext>
    <image></image>
    <generalfeedback>
<text></text>
    </generalfeedback>
    <defaultgrade>1</defaultgrade>
    <penalty>0.1</penalty>
    <hidden>0</hidden>
    <shuffleanswers>1</shuffleanswers>
<single>true</single><shuffleanswers>true</shuffleanswers><correctfeedback>      <text></text>
</correctfeedback><partiallycorrectfeedback>      <text></text>
</partiallycorrectfeedback><incorrectfeedback>      <text></text>
</incorrectfeedback><answernumbering>none</answernumbering><answer fraction="100">        <text>
#sol
        </text>
<feedback>          <text>
Correct answer!
          </text>
</feedback></answer><answer fraction="0">        <text>
#a
        </text>
<feedback>          <text>
You did not get it right. Try again.
          </text>
</feedback></answer><answer fraction="10">        <text>
#b
        </text>
<feedback>          <text>
<![CDATA[<div style="font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; direction: ltr; ">You did not get it right. Try again.</div>]]>
          </text>
</feedback></answer><answer fraction="20">        <text>
#c
        </text>
<feedback>          <text>
<![CDATA[<div style="font-family: 'trebuchet ms', verdana, arial, helvetica, sans-serif; direction: ltr; ">You did not get it right. Try again.</div>]]>
          </text>
</feedback></answer><wirisquestion>«session lang=¨en¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«mo»:=«/mo»«mi»random«/mi»«mfenced»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mo»-«/mo»«mn»1«/mn»«mo»,«/mo»«mn»1«/mn»«mo»,«/mo»«mn»0«/mn»«mo»,«/mo»«mn»0«/mn»«mo»,«/mo»«mn»0«/mn»«/mtd»«/mtr»«/mtable»«/mfenced»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»m«/mi»«mo»=«/mo»«mfenced»«mtable»«mtr»«mtd»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«/mtr»«mtr»«mtd»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«/mtr»«mtr»«mtd»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»a«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«/mtr»«/mtable»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»sol«/mi»«mo»=«/mo»«mi»rank«/mi»«mfenced»«mi»m«/mi»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»L«/mi»«mo»=«/mo»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mn»0«/mn»«mo»,«/mo»«mn»1«/mn»«mo»,«/mo»«mn»2«/mn»«mo»,«/mo»«mn»3«/mn»«/mtd»«/mtr»«/mtable»«/mfenced»«mo»§nbsp;«/mo»«mo»/«/mo»«mo»§nbsp;«/mo»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mi»sol«/mi»«/mtd»«/mtr»«/mtable»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»a«/mi»«mo»=«/mo»«msub»«mi»L«/mi»«mn»1«/mn»«/msub»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»b«/mi»«mo»=«/mo»«msub»«mi»L«/mi»«mn»2«/mn»«/msub»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»c«/mi»«mo»=«/mo»«msub»«mi»L«/mi»«mn»3«/mn»«/msub»«/math»«/input»«/command»«/group»«/library»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»m«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfenced»«mtable»«mtr»«mtd»«mn»0«/mn»«/mtd»«mtd»«mo»-«/mo»«mn»1«/mn»«/mtd»«mtd»«mn»0«/mn»«/mtd»«mtd»«mn»0«/mn»«/mtd»«/mtr»«mtr»«mtd»«mn»0«/mn»«/mtd»«mtd»«mn»0«/mn»«/mtd»«mtd»«mn»1«/mn»«/mtd»«mtd»«mo»-«/mo»«mn»1«/mn»«/mtd»«/mtr»«mtr»«mtd»«mn»0«/mn»«/mtd»«mtd»«mn»0«/mn»«/mtd»«mtd»«mn»0«/mn»«/mtd»«mtd»«mn»0«/mn»«/mtd»«/mtr»«/mtable»«/mfenced»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»sol«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»2«/mn»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»L«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mn»0«/mn»«mo»,«/mo»«mn»1«/mn»«mo»,«/mo»«mn»3«/mn»«/mtd»«/mtr»«/mtable»«/mfenced»«/math»«/output»«/command»«/group»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«/session»</wirisquestion><wirisoverrideanswer>;;;;;;</wirisoverrideanswer><wirisoptions></wirisoptions></question>
 
 <!-- resourceid-resourcedataid: 2377-789 -->
 <question type="matchwiris">
    <name><text>08. Matching: Functions and their graphical representations</text>
</name>
    <questiontext format="html">
<text>Match each function with its graphical representation.</text>
    </questiontext>
    <image></image>
    <generalfeedback>
<text></text>
    </generalfeedback>
    <defaultgrade>1</defaultgrade>
    <penalty>0.1</penalty>
    <hidden>0</hidden>
    <shuffleanswers>1</shuffleanswers>
<subquestion><text>#g1</text>
<answer><text>exp(x)</text>
</answer></subquestion><subquestion><text>#g2</text>
<answer><text>#f2</text>
</answer></subquestion><subquestion><text>#g3</text>
<answer><text>#f3</text>
</answer></subquestion><subquestion><text></text>
<answer><text>#f4</text>
</answer></subquestion><wirisquestion>«session lang=¨en¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»s1«/mi»«mo»=«/mo»«mi»plotter«/mi»«mo»(«/mo»«mo»)«/mo»«mo»;«/mo»«mi»s2«/mi»«mo»=«/mo»«mi»plotter«/mi»«mo»(«/mo»«mo»)«/mo»«mo»;«/mo»«mi»s3«/mi»«mo»=«/mo»«mi»plotter«/mi»«mo»(«/mo»«mo»)«/mo»«mo»;«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»f1«/mi»«mo»=«/mo»«msup»«exponentiale/»«mi»x«/mi»«/msup»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»g1«/mi»«mo»=«/mo»«mi»plot«/mi»«mo»(«/mo»«mi»s1«/mi»«mo»,«/mo»«mi»f1«/mi»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»f2«/mi»«mo»=«/mo»«mi»log«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»g2«/mi»«mo»=«/mo»«mi»plot«/mi»«mo»(«/mo»«mi»s2«/mi»«mo»,«/mo»«mi»f2«/mi»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»f3«/mi»«mo»=«/mo»«mi»random«/mi»«mfenced»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mi»sin«/mi»«mfenced»«mi»x«/mi»«/mfenced»«mo»,«/mo»«mi»cos«/mi»«mfenced»«mi»x«/mi»«/mfenced»«/mtd»«/mtr»«/mtable»«/mfenced»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»f4«/mi»«mo»=«/mo»«msub»«mfenced»«mrow»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mi»sin«/mi»«mfenced»«mi»x«/mi»«/mfenced»«mo»,«/mo»«mi»cos«/mi»«mfenced»«mi»x«/mi»«/mfenced»«/mtd»«/mtr»«/mtable»«/mfenced»«mo»§nbsp;«/mo»«mo»/«/mo»«mo»§nbsp;«/mo»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mi»f3«/mi»«/mtd»«/mtr»«/mtable»«/mfenced»«/mrow»«/mfenced»«mn»1«/mn»«/msub»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»g3«/mi»«mo»=«/mo»«mi»plot«/mi»«mo»(«/mo»«mi»s3«/mi»«mo»,«/mo»«mi»f3«/mi»«mo»)«/mo»«/math»«/input»«/command»«/group»«/library»«/session»</wirisquestion><wirisoptions></wirisoptions></question>
 
 <!-- resourceid-resourcedataid: 2378-790 -->
 <question type="shortanswerwiris">
    <name><text>09. Simple short answer: Tangent line to a function at a point</text>
</name>
    <questiontext format="html">
<text><![CDATA[<table border="0" width="100%"><tbody>  <tr>    <td width="50%" valign="top">Find the expression of the tangent line to <span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mi»f«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«mo»=«/mo»«/math»</span>#f at the point of abscissa  <span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mi»x«/mi»«mo»=«/mo»«mi»#p«/mi»«/math»</span> .
     </td>    <td width="50%" valign="top">#d<br />    </td>  </tr></tbody></table>]]></text>
    </questiontext>
    <image></image>
    <generalfeedback>
<text></text>
    </generalfeedback>
    <defaultgrade>1</defaultgrade>
    <penalty>0.1</penalty>
    <hidden>0</hidden>
    <shuffleanswers>0</shuffleanswers>
<usecase>0</usecase><answer fraction="100">      <text>
#r
      </text>
<feedback>        <text>

        </text>
</feedback></answer><answer fraction="0">      <text>
#f
      </text>
<feedback>        <text>
<![CDATA[You introduced the same function <span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mi»f«/mi»«mfenced»«mi»x«/mi»«/mfenced»«/math»</span>! Try it again...]]>
        </text>
</feedback></answer><wirisquestion>«session lang=¨en¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»g«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«mo»=«/mo»«mi»random«/mi»«mfenced»«mrow»«mn»1«/mn»«mo»,«/mo»«mn»5«/mn»«/mrow»«/mfenced»«mo»*«/mo»«mi»random«/mi»«mfenced»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mi»sin«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«mo»,«/mo»«mo»§nbsp;«/mo»«mi»cos«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«/mtd»«/mtr»«/mtable»«/mfenced»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»f«/mi»«mo»=«/mo»«mi»g«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»p«/mi»«mo»=«/mo»«pi/»«mo»*«/mo»«mfrac»«mrow»«mi»random«/mi»«mo»(«/mo»«mo»-«/mo»«mn»4«/mn»«mo»,«/mo»«mn»4«/mn»«mo»)«/mo»«/mrow»«mrow»«mi»random«/mi»«mo»(«/mo»«mn»1«/mn»«mo»,«/mo»«mn»4«/mn»«mo»)«/mo»«/mrow»«/mfrac»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»q«/mi»«mo»=«/mo»«mi»point«/mi»«mfenced»«mrow»«mi»p«/mi»«mo»,«/mo»«mi»g«/mi»«mo»(«/mo»«mi»p«/mi»«mo»)«/mo»«/mrow»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»r«/mi»«mo»=«/mo»«mi»line«/mi»«mfenced»«mrow»«mi»q«/mi»«mo»,«/mo»«mi»g«/mi»«mo»§apos;«/mo»«mo»(«/mo»«mi»p«/mi»«mo»)«/mo»«/mrow»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»d«/mi»«mo»=«/mo»«mi»plot«/mi»«mfenced»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mi»f«/mi»«mo»,«/mo»«mi»q«/mi»«/mtd»«/mtr»«/mtable»«/mfenced»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»d«/mi»«mo»=«/mo»«mi»plot«/mi»«mfenced»«mrow»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mi»r«/mi»«/mtd»«/mtr»«/mtable»«/mfenced»«mo»,«/mo»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mi»color«/mi»«mo»=«/mo»«mi»red«/mi»«/mtd»«/mtr»«/mtable»«/mfenced»«/mrow»«/mfenced»«/math»«/input»«/command»«/group»«/library»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»f«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»4«/mn»«mo»*«/mo»«mi»sin«/mi»«mfenced»«mi»x«/mi»«/mfenced»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»r«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»y«/mi»«mo»=«/mo»«mo»-«/mo»«mn»2«/mn»«mo»*«/mo»«msqrt»«mn»2«/mn»«/msqrt»«mo»*«/mo»«mi»x«/mi»«mo»+«/mo»«mfrac»«mrow»«mn»3«/mn»«mo»*«/mo»«pi/»«mo»*«/mo»«msqrt»«mn»2«/mn»«/msqrt»«/mrow»«mn»2«/mn»«/mfrac»«mo»+«/mo»«mn»2«/mn»«mo»*«/mo»«msqrt»«mn»2«/mn»«/msqrt»«/math»«/output»«/command»«/group»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«/session»</wirisquestion><wiriseditor>editor=true</wiriseditor><wirisoptions></wirisoptions></question>
 
 <!-- resourceid-resourcedataid: 2379-791 -->
 <question type="shortanswerwiris">
    <name><text>10. Grading function for simple short answer: A prime number</text>
</name>
    <questiontext format="html">
<text>Introduce a prime number larger than 50.</text>
    </questiontext>
    <image></image>
    <generalfeedback>
<text></text>
    </generalfeedback>
    <defaultgrade>1</defaultgrade>
    <penalty>0.1</penalty>
    <hidden>0</hidden>
    <shuffleanswers>0</shuffleanswers>
<usecase>0</usecase><answer fraction="100">      <text>
#a
      </text>
<feedback>        <text>

        </text>
</feedback></answer><wirisquestion>«session lang=¨en¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»a«/mi»«mo»=«/mo»«mn»53«/mn»«/math»«/input»«/command»«maction actiontype=¨comment¨»«comment»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»test«/mi»«mfenced»«mi»x«/mi»«/mfenced»«mo»:=«/mo»«mfenced»«mrow»«mi»x«/mi»«mo»§gt;«/mo»«mn»50«/mn»«mo»§nbsp;«/mo»«mo»§and;«/mo»«mo»§nbsp;«/mo»«mi»prime«/mi»«mo»?«/mo»«mfenced»«mi»x«/mi»«/mfenced»«/mrow»«/mfenced»«mo»?«/mo»«/math»«/comment»«/maction»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»test«/mi»«mfenced»«mi»x«/mi»«/mfenced»«mo»:=«/mo»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»begin«/csymbol»«mtable»«mtr»«mtd»«mi»sol«/mi»«mo»:«/mo»«mo»=«/mo»«mo»§nbsp;«/mo»«mfenced»«mrow»«mo»(«/mo»«mi»x«/mi»«mo»§gt;«/mo»«mn»50«/mn»«mo»)«/mo»«mo»§nbsp;«/mo»«mo»§and;«/mo»«mo»§nbsp;«/mo»«mo»(«/mo»«mi»prime«/mi»«mo»?«/mo»«mfenced»«mi»x«/mi»«/mfenced»«mo»)«/mo»«/mrow»«/mfenced»«mo»?«/mo»«/mtd»«/mtr»«mtr»«mtd»«mi»return«/mi»«mo»§nbsp;«/mo»«mi»sol«/mi»«/mtd»«/mtr»«/mtable»«/apply»«/math»«/input»«/command»«/group»«/library»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»test«/mi»«mo»(«/mo»«mn»52«/mn»«mo»)«/mo»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»false«/mi»«/math»«/output»«/command»«/group»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«/session»</wirisquestion><wiriseditor>testFunctionName%5B0%5D=test&amp;testFunction%5B1423%5D=0</wiriseditor><wirisoptions></wirisoptions></question>
 
 <!-- resourceid-resourcedataid: 2380-792 -->
 <question type="shortanswerwiris">
    <name><text>11. Compound short answer: Linear system</text>
</name>
    <questiontext format="html">
<text><![CDATA[Solve the following linear system:<br /><br /><span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mi»#M«/mi»«mo»·«/mo»«mfenced»«mtable»«mtr»«mtd»«mi»x«/mi»«/mtd»«/mtr»«mtr»«mtd»«mi»y«/mi»«/mtd»«/mtr»«mtr»«mtd»«mi»z«/mi»«/mtd»«/mtr»«/mtable»«/mfenced»«mo»=«/mo»«mfenced»«mtable»«mtr»«mtd»«mi»#b1«/mi»«/mtd»«/mtr»«mtr»«mtd»«mi»#b2«/mi»«/mtd»«/mtr»«mtr»«mtd»«mi»#b3«/mi»«/mtd»«/mtr»«/mtable»«/mfenced»«/math»</span><br /><br />Insert your answer using fractions and one line per variable. For example:<br /><div style="margin-left: 40px; "><span class="nolink"><span class="nolink"><span class="nolink"><span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mtable columnalign=&quot;left&quot; rowspacing=&quot;0&quot;»«mtr»«mtd»«mi»x«/mi»«mo»=«/mo»«mn»1«/mn»«/mtd»«/mtr»«mtr»«mtd»«mi»y«/mi»«mo»=«/mo»«mfrac»«mn»1«/mn»«mn»2«/mn»«/mfrac»«/mtd»«/mtr»«mtr»«mtd»«mi»z«/mi»«mo»=«/mo»«mfrac»«mn»1«/mn»«mn»3«/mn»«/mfrac»«/mtd»«/mtr»«/mtable»«/math»</span></span></span></span></div>]]></text>
    </questiontext>
    <image></image>
    <generalfeedback>
<text></text>
    </generalfeedback>
    <defaultgrade>1</defaultgrade>
    <penalty>0.1</penalty>
    <hidden>0</hidden>
    <shuffleanswers>0</shuffleanswers>
<usecase>0</usecase><answer fraction="100">      <text>
#x (50%) #y (25%) #z (25%)
      </text>
<feedback>        <text>

        </text>
</feedback></answer><wirisquestion>«session lang=¨en¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«mo»:«/mo»«mo»=«/mo»«mi»random«/mi»«mo»(«/mo»«mo»-«/mo»«mn»4«/mn»«mo»,«/mo»«mn»4«/mn»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»repeat«/csymbol»«mrow»«mi»M«/mi»«mo»=«/mo»«mfenced»«mtable»«mtr»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«/mtr»«mtr»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«/mtr»«mtr»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«mtd»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mtd»«/mtr»«/mtable»«/mfenced»«/mrow»«mrow»«mfenced»«mrow»«mi»rank«/mi»«mfenced»«mi»M«/mi»«/mfenced»«mo»=«/mo»«mn»3«/mn»«/mrow»«/mfenced»«mo»?«/mo»«/mrow»«/apply»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»b«/mi»«mo»=«/mo»«mfenced close=¨]¨ open=¨[¨»«mrow»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«mo»,«/mo»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«mo»,«/mo»«mi»r«/mi»«mo»(«/mo»«mo»)«/mo»«/mrow»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»[«/mo»«mi»x«/mi»«mo»,«/mo»«mi»y«/mi»«mo»,«/mo»«mi»z«/mi»«mo»]«/mo»«mo»=«/mo»«mi»solve«/mi»«mo»(«/mo»«mi»M«/mi»«mo»,«/mo»«mi»b«/mi»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»[«/mo»«mi»b1«/mi»«mo»,«/mo»«mi»b2«/mi»«mo»,«/mo»«mi»b3«/mi»«mo»]«/mo»«mo»=«/mo»«mi»b«/mi»«/math»«/input»«/command»«/group»«/library»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«/session»</wirisquestion><wiriseditor>editor=true&amp;multipleAnswers=true</wiriseditor><wirisoptions></wirisoptions></question>
 
 <!-- resourceid-resourcedataid: 2381-793 -->
 <question type="cloze">
    <name><text>12. Cloze I: A simple example</text>
</name>
    <questiontext>
<text><![CDATA[<div>How many sides has a pentagon? {1:MC:3~4~=5~6~7~8} </div><div>How many sides has a triangle? {2:SA:=3#Congratulations! A triangle has three sides and three angles.}.</div>]]></text>
    </questiontext>
    <generalfeedback>
<text></text>
    </generalfeedback>
    <shuffleanswers>0</shuffleanswers>
</question>
 
 <!-- resourceid-resourcedataid: 2382-794 -->
 <question type="multianswerwiris">
    <name><text>13. Cloze II: Graphical representation and derivative of a polynomial</text>
</name>
    <questiontext format="html">
<text><![CDATA[<div>Given a polynomial function <span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mi»f«/mi»«mfenced»«mi»x«/mi»«/mfenced»«mo»=«/mo»«/math»</span>#f, introduce its derivative  {#1} and choose the graphical representation of the function <span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mi»f«/mi»«mfenced»«mi»x«/mi»«/mfenced»«/math»</span> {#2}.</div>]]></text>
    </questiontext>
    <image></image>
    <generalfeedback>
<text></text>
    </generalfeedback>
    <defaultgrade>2</defaultgrade>
    <penalty>0.1</penalty>
    <hidden>0</hidden>
    <shuffleanswers>0</shuffleanswers>
<wirisquestiontext><text><![CDATA[<div>Given a polynomial function <span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mi»f«/mi»«mfenced»«mi»x«/mi»«/mfenced»«mo»=«/mo»«/math»</span>#f, introduce its derivative  {:SA:\#f~=\#g~*#It is incorrect. Try again.} and choose the graphical representation of the function <span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mi»f«/mi»«mfenced»«mi»x«/mi»«/mfenced»«/math»</span> {:MCV:\#p1~=\#p2~\#p3}.</div>]]></text>
</wirisquestiontext><wirisquestion>«session lang=¨en¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»b1«/mi»«mo»=«/mo»«mi»plotter«/mi»«mfenced»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mi»height«/mi»«mo»=«/mo»«mn»12«/mn»«mo»,«/mo»«mi»width«/mi»«mo»=«/mo»«mn»12«/mn»«/mtd»«/mtr»«/mtable»«/mfenced»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»b2«/mi»«mo»=«/mo»«mi»plotter«/mi»«mfenced»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mi»height«/mi»«mo»=«/mo»«mn»12«/mn»«mo»,«/mo»«mi»width«/mi»«mo»=«/mo»«mn»12«/mn»«/mtd»«/mtr»«/mtable»«/mfenced»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»b3«/mi»«mo»=«/mo»«mi»plotter«/mi»«mfenced»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mi»height«/mi»«mo»=«/mo»«mn»12«/mn»«mo»,«/mo»«mi»width«/mi»«mo»=«/mo»«mn»12«/mn»«/mtd»«/mtr»«/mtable»«/mfenced»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»m«/mi»«mo»(«/mo»«mo»)«/mo»«mo»:=«/mo»«mi»random«/mi»«mfenced»«mrow»«mo»-«/mo»«mn»2«/mn»«mo»,«/mo»«mn»2«/mn»«/mrow»«/mfenced»«mo»*«/mo»«msup»«mi»x«/mi»«mrow»«mi»random«/mi»«mfenced»«mrow»«mn»1«/mn»«mo»,«/mo»«mn»4«/mn»«/mrow»«/mfenced»«/mrow»«/msup»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»repeat«/csymbol»«mrow»«mi»f«/mi»«mo»:=«/mo»«mi»m«/mi»«mo»(«/mo»«mo»)«/mo»«mo»+«/mo»«mi»m«/mi»«mo»(«/mo»«mo»)«/mo»«mo»+«/mo»«mi»m«/mi»«mo»(«/mo»«mo»)«/mo»«mo»+«/mo»«mi»m«/mi»«mo»(«/mo»«mo»)«/mo»«/mrow»«mrow»«mi»degree«/mi»«mfenced»«mi»f«/mi»«/mfenced»«mo»§gt;«/mo»«mn»2«/mn»«/mrow»«/apply»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»g«/mi»«mo»=«/mo»«mi»f«/mi»«mo»§apos;«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»p1«/mi»«mo»=«/mo»«mi»plot«/mi»«mfenced»«mrow»«mi»b1«/mi»«mo»,«/mo»«mi»f«/mi»«/mrow»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»p2«/mi»«mo»=«/mo»«mi»plot«/mi»«mfenced»«mrow»«mi»b2«/mi»«mo»,«/mo»«mi»g«/mi»«/mrow»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»p3«/mi»«mo»=«/mo»«mi»plot«/mi»«mfenced»«mrow»«mi»b3«/mi»«mo»,«/mo»«mi»g«/mi»«mo»§apos;«/mo»«/mrow»«/mfenced»«/math»«/input»«/command»«/group»«/library»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»p1«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»plotter1«/mi»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»p2«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»plotter2«/mi»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»p3«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»plotter3«/mi»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»f«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»2«/mn»«mo»*«/mo»«msup»«mi»x«/mi»«mn»3«/mn»«/msup»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»g«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mn»6«/mn»«mo»*«/mo»«msup»«mi»x«/mi»«mn»2«/mn»«/msup»«/math»«/output»«/command»«/group»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«/session»</wirisquestion><wirisoptions></wirisoptions></question>
 
 <!-- resourceid-resourcedataid: 2383-795 -->
 <question type="shortanswerwiris">
    <name><text>14. WIRIS CAS for the student: Orthogonal line to another line throught a point</text>
</name>
    <questiontext format="html">
<text><![CDATA[<table border="0" style="width: 478px; height: 64px; "><tbody>  <tr>    <td width="50%" valign="top">What is the orthogonal line to #r through the point <span class="nolink">«math xmlns=&quot;http://www.w3.org/1998/Math/MathML&quot;»«mi»p«/mi»«mo»=«/mo»«mi»#p«/mi»«/math»</span> ?
     </td>    <td width="50%" valign="top">#q<br />    </td>  </tr></tbody></table><br />]]></text>
    </questiontext>
    <image></image>
    <generalfeedback>
<text></text>
    </generalfeedback>
    <defaultgrade>1</defaultgrade>
    <penalty>0.1</penalty>
    <hidden>0</hidden>
    <shuffleanswers>0</shuffleanswers>
<usecase>0</usecase><answer fraction="100">      <text>
#s
      </text>
<feedback>        <text>

        </text>
</feedback></answer><wirisquestion>«session lang=¨en¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»repeat«/csymbol»«mtable»«mtr»«mtd»«mi»a«/mi»«mo»=«/mo»«mi»random«/mi»«mfenced»«mrow»«mo»-«/mo»«mn»7«/mn»«mo»,«/mo»«mn»7«/mn»«/mrow»«/mfenced»«/mtd»«/mtr»«mtr»«mtd»«mi»b«/mi»«mo»=«/mo»«mi»random«/mi»«mfenced»«mrow»«mo»-«/mo»«mn»7«/mn»«mo»,«/mo»«mn»7«/mn»«/mrow»«/mfenced»«/mtd»«/mtr»«/mtable»«mrow»«mi»a«/mi»«mo»§ne;«/mo»«mn»0«/mn»«mo»§nbsp;«/mo»«mo»§and;«/mo»«mo»§nbsp;«/mo»«mi»b«/mi»«mo»§ne;«/mo»«mn»0«/mn»«/mrow»«/apply»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»c«/mi»«mo»=«/mo»«mi»random«/mi»«mfenced»«mrow»«mo»-«/mo»«mn»7«/mn»«mo»,«/mo»«mn»7«/mn»«/mrow»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»r«/mi»«mo»=«/mo»«mi»line«/mi»«mfenced»«mrow»«mi»a«/mi»«mo»*«/mo»«mi»x«/mi»«mo»+«/mo»«mi»b«/mi»«mo»*«/mo»«mi»y«/mi»«mo»+«/mo»«mi»c«/mi»«mo»=«/mo»«mn»0«/mn»«/mrow»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»repeat«/csymbol»«mrow»«mi»p«/mi»«mo»=«/mo»«mi»point«/mi»«mfenced»«mrow»«mi»random«/mi»«mfenced»«mrow»«mo»-«/mo»«mn»7«/mn»«mo»,«/mo»«mn»7«/mn»«/mrow»«/mfenced»«mo»,«/mo»«mi»random«/mi»«mfenced»«mrow»«mo»-«/mo»«mn»7«/mn»«mo»,«/mo»«mn»7«/mn»«/mrow»«/mfenced»«/mrow»«/mfenced»«/mrow»«mrow»«mi»p«/mi»«mo»§cap;«/mo»«mi»r«/mi»«mo»==«/mo»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd/»«/mtr»«/mtable»«/mfenced»«/mrow»«/apply»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»s«/mi»«mo»=«/mo»«mi»perpendicular«/mi»«mfenced»«mrow»«mi»r«/mi»«mo»,«/mo»«mi»p«/mi»«/mrow»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»q«/mi»«mo»=«/mo»«mi»plot«/mi»«mo»(«/mo»«mi»r«/mi»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»q«/mi»«mo»=«/mo»«mi»plot«/mi»«mo»(«/mo»«mi»p«/mi»«mo»,«/mo»«mo»{«/mo»«mi»label«/mi»«mo»=«/mo»«mi»p«/mi»«mo»,«/mo»«mo»§nbsp;«/mo»«mi»show_label«/mi»«mo»=«/mo»«mi»true«/mi»«mo»}«/mo»«mo»)«/mo»«/math»«/input»«/command»«/group»«/library»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»p«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfenced»«mrow»«mn»2«/mn»«mo»,«/mo»«mo»-«/mo»«mn»5«/mn»«/mrow»«/mfenced»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»r«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»y«/mi»«mo»=«/mo»«mn»3«/mn»«mo»*«/mo»«mi»x«/mi»«mo»+«/mo»«mfrac»«mn»1«/mn»«mn»2«/mn»«/mfrac»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»s«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»y«/mi»«mo»=«/mo»«mo»-«/mo»«mfrac»«mn»1«/mn»«mn»3«/mn»«/mfrac»«mo»*«/mo»«mi»x«/mi»«mo»-«/mo»«mfrac»«mn»13«/mn»«mn»3«/mn»«/mfrac»«/math»«/output»«/command»«/group»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«/session»</wirisquestion><wiriseditor>editor=true</wiriseditor><wirisoptions><wirisCASForComputations>1</wirisCASForComputations><hiddenInitialCASValue>«session lang=¨en¨ version=¨2.0¨»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«/session»</hiddenInitialCASValue></wirisoptions></question>
 
 <!-- resourceid-resourcedataid: 6477-5882 -->
 <question type="shortanswerwiris">
    <name>
      <text>15. Repeating decimals</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Write down this fraction as a decimal number with repeating decimals:</p>
<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mn»10«/mn»«mn»9«/mn»«/mfrac»«/math»</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mn>1</mn><mo>.</mo><mover><mn>1</mn><mo>&#9180;</mo></mover></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p>Ok!</p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mn>10</mn><mo>/</mo><mn>9</mn></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p>The answer is <em>Mathematically equal</em> to the solution, but it has not the desired form. </p>]]></text>
      </feedback>
    </answer>
    <answer fraction="0" format="moodle_auto_format">
      <text>*</text>
      <feedback format="html">
        <text><![CDATA[<p>Wrong!</p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mover&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;&amp;#9180;&lt;/mo&gt;&lt;/mover&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mn&gt;9&lt;/mn&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;*&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="equivalent_literal"/&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;inlineEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 7085-6460 -->
 <question type="shortanswerwiris">
    <name>
      <text>16. Any answer</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>You buy 60 cantaloupes at #p each one. How does it all cost?</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text>#a</text>
      <feedback format="html">
        <text><![CDATA[<p>Perfect!</p>
<p> <span style="color: #ffffff; line-height: 1.231;">* Only in math problems you can buy 60 cantaloupes and nobody asks what the hell is wrong with you!</span></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="75" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mn>60</mn><mo>*</mo><mo>#</mo><mi>n</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p>Ok, but don't forget to always write the units (€).</p>]]></text>
      </feedback>
    </answer>
    <answer fraction="0" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>*</mo></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p>Hummm...</p>
<p>Each cantaloupe costs #p, so we have to add #p+#p+#p+... up to 60 times.</p>
<p>So the answer is 60 * #p, that is #a.</p>
<p>Please study Lesson 3 page 14, before trying again this question.</p>
<p> </p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;euro&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;60&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;#a&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;60&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;assertion name="equivalent_all" correctAnswer="2"/&gt;&lt;assertion name="syntax_quantity"&gt;&lt;param name="units"&gt;&lt;![CDATA[m, s, g, °, ', ", $, ¥, €, £, kr, Fr, ₩, ₹, BTC, %, ‰, A, K, mol, cd, rad, sr, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]&gt;&lt;/param&gt;&lt;param name="decimalseparators"&gt;., \,&lt;/param&gt;&lt;param name="unitprefixes"&gt;M, k, c, m&lt;/param&gt;&lt;param name="groupoperators"&gt;(,[,{&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;textField&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 7086-6461 -->
 <question type="shortanswerwiris">
    <name>
      <text>17. Currencies</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>A <span>"Krabby Patty" burger costs $1.99,</span></p>
<p><span>and a "Krusty Dog" is $3.99.</span></p>
<p><span>How do they cost together?</span></p>
<p><span> </span></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>$</mo><mn>1</mn><mo>.</mo><mn>99</mn><mo>+</mo><mo>$</mo><mn>3</mn><mo>.</mo><mn>99</mn></math>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;$&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;99&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mo&gt;$&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;99&lt;/mn&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_quantity"&gt;&lt;param name="units"&gt;&lt;![CDATA[m, s, g, °, ', ", $, ¥, €, £, kr, Fr, ₩, ₹, BTC, %, ‰, A, K, mol, cd, rad, sr, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]&gt;&lt;/param&gt;&lt;param name="decimalseparators"&gt;., \,&lt;/param&gt;&lt;param name="unitprefixes"&gt;M, k, c, m&lt;/param&gt;&lt;param name="groupoperators"&gt;(,[,{&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;textField&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 7087-6462 -->
 <question type="shortanswerwiris">
    <name>
      <text>18. Intervals</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>What's the domain of «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»f«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«mo»=«/mo»«mo»#«/mo»«mi»f«/mi»«/math»?</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p>You can answer in both formats:</p>
<ul>
<li>#i</li>
<li>#e</li>
</ul>
<p> </p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi mathvariant="normal">i</mi></math>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;msqrt&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/msqrt&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mfrac&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;domain&lt;/mi&gt;&lt;mfenced&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;expression_to_set&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="syntax_expression"&gt;&lt;param name="intervals"&gt;true&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_equations"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;inlineEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 7088-6463 -->
 <question type="shortanswerwiris">
    <name>
      <text>19. Percentages</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>What's the probability to get an odd number from a die roll?</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mn>3</mn><mo>/</mo><mn>6</mn></math>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mn&gt;6&lt;/mn&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_quantity"&gt;&lt;param name="units"&gt;&lt;![CDATA[m, s, g, °, ', ", $, ¥, €, £, kr, Fr, ₩, ₹, BTC, %, ‰, A, K, mol, cd, rad, sr, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]&gt;&lt;/param&gt;&lt;param name="unitprefixes"&gt;M, k, c, m&lt;/param&gt;&lt;param name="groupoperators"&gt;(,[,{&lt;/param&gt;&lt;param name="decimalseparators"&gt;', �, ., \,&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;textField&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 7089-6464 -->
 <question type="shortanswerwiris">
    <name>
      <text>20. Separators</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>How much is 2<sup>20</sup>?</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text>1048576</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;msup&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mn&gt;20&lt;/mn&gt;&lt;/msup&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;1048576&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;/group&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;1048576&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_quantity"&gt;&lt;param name="units"&gt;&lt;![CDATA[m, s, g, °, ', ", $, ¥, €, £, kr, Fr, ₩, ₹, BTC, %, ‰, A, K, mol, cd, rad, sr, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]&gt;&lt;/param&gt;&lt;param name="unitprefixes"&gt;M, k, c, m&lt;/param&gt;&lt;param name="groupoperators"&gt;(,[,{&lt;/param&gt;&lt;param name="decimalseparators"&gt;', �, .&lt;/param&gt;&lt;param name="digitgroupseparators"&gt;\,&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;textField&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 7090-6465 -->
 <question type="shortanswerwiris">
    <name>
      <text>21. Text - triangles</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Classify this triangle according to its sides:</p>
<p>#p</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text>#a</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;plotter&lt;/mi&gt;&lt;mfenced&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;window_width&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;200&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;window_height&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;200&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;show_axis&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;false&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;show_grid&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;false&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;center&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;point&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;6&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;type&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;name_list&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;mi&gt;scalene&lt;/mi&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;mi&gt;isosceles&lt;/mi&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;mi&gt;equilateral&lt;/mi&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;tri_list&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;triangle&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;point&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;point&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;16&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;point&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;6&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;triangle&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;point&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;point&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;16&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;point&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;triangle&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;point&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;point&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;16&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;point&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;13&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;856&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;plot&lt;/mi&gt;&lt;mfenced&gt;&lt;msub&gt;&lt;mi&gt;tri_list&lt;/mi&gt;&lt;mi&gt;type&lt;/mi&gt;&lt;/msub&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;name_list&lt;/mi&gt;&lt;mi&gt;type&lt;/mi&gt;&lt;/msub&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;#a&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_string"/&gt;&lt;assertion name="equivalent_literal"&gt;&lt;param name="usecase"&gt;false&lt;/param&gt;&lt;param name="usespaces"&gt;false&lt;/param&gt;&lt;/assertion&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;textField&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 7091-6466 -->
 <question type="shortanswerwiris">
    <name>
      <text>22. Text - hexadecimal</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Convert #d to hexadecimal.</p>
<p>Give the answer with exactly 8 digits.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text>#h</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;msup&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mn&gt;32&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;hexadecimal&lt;/mi&gt;&lt;mfenced&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;maction actiontype="comment"&gt;&lt;comment&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;padding&lt;/mi&gt;&lt;/math&gt;&lt;/comment&gt;&lt;/maction&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;mn&gt;00000000&lt;/mn&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;mo&gt;|&lt;/mo&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;length&lt;/mi&gt;&lt;mfenced&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;mrow&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;#h&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_string"/&gt;&lt;assertion name="equivalent_literal"&gt;&lt;param name="usecase"&gt;false&lt;/param&gt;&lt;param name="usespaces"&gt;false&lt;/param&gt;&lt;/assertion&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;textField&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 7092-6467 -->
 <question type="shortanswerwiris">
    <name>
      <text>23. Sets</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Find the roots of the polynomial #p.</p>
<p><span style="line-height: 1.231;">Hint: they are all integers.</span></p>
<p>Write each one in its own line.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text>#r</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;#r&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_expression"&gt;&lt;param name="nobracketslist"&gt;true&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"&gt;&lt;param name="ordermatters"&gt;false&lt;/param&gt;&lt;param name="repetitionmatters"&gt;false&lt;/param&gt;&lt;/assertion&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;inlineEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 7093-6468 -->
 <question type="shortanswerwiris">
    <name>
      <text>24. Lists</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Sort in ascending order these integers:</p>
<p>#u</p>
<p>Put commas between them.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text>#o</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow/&gt;&lt;/mfenced&gt;&lt;mo&gt;:&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow/&gt;&lt;/mfenced&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;with&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;in&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;sort&lt;/mi&gt;&lt;mfenced&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;#o&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_expression"&gt;&lt;param name="nobracketslist"&gt;true&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;textField&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 7094-6469 -->
 <question type="multichoicewiris">
    <name>
      <text>25. Different data</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>¿Which function is this?</p>
<p>#p</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <single>true</single>
    <shuffleanswers>true</shuffleanswers>
    <answernumbering>none</answernumbering>
    <correctfeedback format="html">
      <text></text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text></text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text></text>
    </incorrectfeedback>
    <answer fraction="100" format="html">
      <text><![CDATA[<p>#r1</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="0" format="html">
      <text><![CDATA[<p>#r2</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="0" format="html">
      <text><![CDATA[<p>#r3</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="0" format="html">
      <text><![CDATA[<p>#r4</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="0" format="html">
      <text><![CDATA[<p>#r5</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="es"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;maction actiontype="comment"&gt;&lt;comment&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;Generate&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;one&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;data&lt;/mi&gt;&lt;/math&gt;&lt;/comment&gt;&lt;/maction&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;data&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow/&gt;&lt;/mfenced&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;:&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;begin&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;local&lt;/csymbol&gt;&lt;mtable align="top"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/apply&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;return&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/apply&gt;&lt;mo&gt;;&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;correct&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;data&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow/&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;maction actiontype="comment"&gt;&lt;comment&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;Here&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;we&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;must&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;make&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;the&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;wording&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;using&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;the&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;correct&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;answer&lt;/mi&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;/math&gt;&lt;/comment&gt;&lt;/maction&gt;&lt;maction actiontype="comment"&gt;&lt;comment&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;For&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;instance&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;we&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;plot&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;it&lt;/mi&gt;&lt;mo&gt;:&lt;/mo&gt;&lt;/math&gt;&lt;/comment&gt;&lt;/maction&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;plot&lt;/mi&gt;&lt;mfenced&gt;&lt;mi&gt;correct&lt;/mi&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;maction actiontype="comment"&gt;&lt;comment&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;Generate&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;list&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;of&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;different&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;data&lt;/mi&gt;&lt;/math&gt;&lt;/comment&gt;&lt;/maction&gt;&lt;maction actiontype="comment"&gt;&lt;comment&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;The&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;first&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;one&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;is&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;the&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;correct&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;answer&lt;/mi&gt;&lt;/math&gt;&lt;/comment&gt;&lt;/maction&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;L&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;correct&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;for&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;in&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mrow&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;local&lt;/csymbol&gt;&lt;mtable align="top"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/apply&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;data&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow/&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;∉&lt;/mo&gt;&lt;mi&gt;L&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;L&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;|&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/apply&gt;&lt;mo&gt;;&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;L&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;maction actiontype="comment"&gt;&lt;comment&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;We&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;insert&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;an&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;open&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;option&lt;/mi&gt;&lt;/math&gt;&lt;/comment&gt;&lt;/maction&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;msub&gt;&lt;mi&gt;L&lt;/mi&gt;&lt;mrow&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;mo&gt;[&lt;/mo&gt;&lt;mi&gt;none&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;of&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;the&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;others&lt;/mi&gt;&lt;mo&gt;]&lt;/mo&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;maction actiontype="comment"&gt;&lt;comment&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;We&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;assign&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;the&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;list&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;to&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;the&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;answers&lt;/mi&gt;&lt;/math&gt;&lt;/comment&gt;&lt;/maction&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;r1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;r2&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;r3&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;r4&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;r5&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;L&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;options&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 7095-6470 -->
 <question type="shortanswerwiris">
    <name>
      <text>26. Equivalent equations</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Give the equation of the line that passes through point «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»(«/mo»«mo»#«/mo»«mi»p«/mi»«mi»x«/mi»«mo»,«/mo»«mo»#«/mo»«mi»p«/mi»«mi»y«/mi»«mo»)«/mo»«/math» with slope #m.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>#</mo><mi mathvariant="normal">e</mi></math>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;px&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;py&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;py&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;px&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi mathvariant="normal"&gt;e&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_equations"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;inlineEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12160-10267 -->
 <question type="shortanswerwiris">
    <name>
      <text>27. Equivalent equations</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Solve:</p>
<p>#eq</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text>#sol</text>
      <feedback format="html">
        <text><![CDATA[<p>Great, that's the solution!</p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text>#sol</text>
      <feedback format="html">
        <text><![CDATA[<p>This looks like a step in the correct direction, but it's not the solution.</p>]]></text>
      </feedback>
    </answer>
    <answer fraction="0" format="moodle_auto_format">
      <text>*</text>
      <feedback format="html">
        <text><![CDATA[<p>Uh? this is far from correct...</p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;sol1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;sol2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;sol1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;sol2&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;eq&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;sol1&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;sol2&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;eq&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;9&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;16&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;/group&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;#sol&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&gt;#sol&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;*&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="equivalent_equations" correctAnswer="1"/&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-3)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;inlineEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 12161-10268 -->
 <question type="shortanswerwiris">
    <name>
      <text>28. Equivalent equations</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Give the equation of this line:</p>
<p>#p</p>
<p> </p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text>#sol</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;sol&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;plotter&lt;/mi&gt;&lt;mfenced&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;width&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;11&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;height&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;11&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;plot&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;sol&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;line_width&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;#sol&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_equations"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-3)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;inlineEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 15068-12816 -->
 <question type="shortanswerwiris">
    <name>
      <text>29. Discrete probability</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Let «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»X«/mi»«/math» be a discrete random variable whose distribution is given by the table below.<br /><br /></p>
<table>
<tbody>
<tr>
<td><img id="dynamicimg" src="http://www.wiris.net/demo/editor/render.png?demo-image&amp;centerbaseline=false&amp;mml=%3Cmath%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1998%2FMath%2FMathML%22%3E%3Cmsub%3E%3Cmi%3E%26%23x3C9%3B%3C%2Fmi%3E%3Cmi%3Ei%3C%2Fmi%3E%3C%2Fmsub%3E%3C%2Fmath%3E&amp;maxWidth=220px" /></td>
<td><img id="dynamicimg" src="http://www.wiris.net/demo/editor/render.png?demo-image&amp;centerbaseline=false&amp;mml=%3Cmath%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1998%2FMath%2FMathML%22%3E%3Cmi%3EP%3C%2Fmi%3E%3Cmfenced%3E%3Cmrow%3E%3Cmi%3EX%3C%2Fmi%3E%3Cmo%3E%3D%3C%2Fmo%3E%3Cmsub%3E%3Cmi%3E%26%23x3C9%3B%3C%2Fmi%3E%3Cmi%3Ei%3C%2Fmi%3E%3C%2Fmsub%3E%3C%2Fmrow%3E%3C%2Fmfenced%3E%3C%2Fmath%3E&amp;maxWidth=220px" /> </td>
</tr>
<tr>
<td>#ω</td>
<td>#p</td>
</tr>
</tbody>
</table>
<p><br />(the probability that «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»X«/mi»«/math» equals a number outside of the left column is zero)<br /><br />Calculate:<br /><br /></p>
<ol>
<li>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»E«/mi»«mfenced»«mi»X«/mi»«/mfenced»«/math»</li>
<li>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»V«/mi»«mi»a«/mi»«mi»r«/mi»«mfenced»«mi»X«/mi»«/mfenced»«/math»</li>
<li>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»P«/mi»«mfenced»«mrow»«mi»X«/mi»«mo»§#60;«/mo»«mn»4«/mn»«/mrow»«/mfenced»«/math»</li>
</ol>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>E</mi><mfenced><mi>X</mi></mfenced><mo>=</mo><mo>#</mo><mi>exp</mi><mi mathvariant="normal">e</mi><mi>c</mi><mi>tan</mi><mi>c</mi><mi>y</mi><mspace linebreak="newline"/><mi>V</mi><mi>a</mi><mi>r</mi><mfenced><mi>X</mi></mfenced><mo>=</mo><mo>#</mo><mi>v</mi><mi>a</mi><mi>r</mi><mspace linebreak="newline"/><mi>P</mi><mfenced><mrow><mi>X</mi><mo>&lt;</mo><mn>4</mn></mrow></mfenced><mo>=</mo><mo>#</mo><mi>s</mi><mi>o</mi><mi>l</mi><mi>u</mi><mi>t</mi><mi mathvariant="normal">i</mi><mi>o</mi><mi>n</mi><mn>3</mn></math>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;ω&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;with&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;in&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mn&gt;6&lt;/mn&gt;&lt;/mfrac&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;with&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;in&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;6&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;sum&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;msub&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mn&gt;6&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;q&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;expectancy&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;/munderover&gt;&lt;msub&gt;&lt;mi&gt;ω&lt;/mi&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;/msub&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;/msub&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;var&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;/munderover&gt;&lt;msup&gt;&lt;mfenced&gt;&lt;msub&gt;&lt;mi&gt;ω&lt;/mi&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;/msub&gt;&lt;/mfenced&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;/msub&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;expectancy&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;solution3&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;for&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;in&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;/mrow&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;ω&lt;/mi&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;/msub&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;solution3&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;solution3&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;/msub&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;E&lt;/mi&gt;&lt;mfenced&gt;&lt;mi&gt;X&lt;/mi&gt;&lt;/mfenced&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;exp&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;e&lt;/mi&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mi&gt;tan&lt;/mi&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mspace linebreak="newline"/&gt;&lt;mi&gt;V&lt;/mi&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mfenced&gt;&lt;mi&gt;X&lt;/mi&gt;&lt;/mfenced&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mspace linebreak="newline"/&gt;&lt;mi&gt;P&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;X&lt;/mi&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mi mathvariant="normal"&gt;i&lt;/mi&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-2)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&lt;/option&gt;&lt;option name="precision"&gt;3&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;textField&lt;/data&gt;&lt;data name="gradeCompound"&gt;distribute&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;33.33 33.33 33.33&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;data name="inputCompound"&gt;true&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 15069-12817 -->
 <question type="shortanswerwiris">
    <name>
      <text>30. Pattern guessing with tables</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[Deduce the pattern and give the values of X,Y,Z.

<table><tbody><tr><td>#M</td></tr></tbody></table>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>X</mi><mo>&#xA0;</mo><mo>=</mo><mo>&#xA0;</mo><mn>9</mn><mspace linebreak="newline"/><mi>Y</mi><mo>&#xA0;</mo><mo>=</mo><mo>&#x2009;</mo><mn>256</mn><mspace linebreak="newline"/><mi>Z</mi><mo>&#xA0;</mo><mo>=</mo><mo>&#xA0;</mo><mn>125</mn></math>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mo&gt; &lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;16&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;X&lt;/mi&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;27&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;81&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;16&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;64&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;25&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;Z&lt;/mi&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;625&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;X&lt;/mi&gt;&lt;mo&gt;&amp;#xA0;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;#xA0;&lt;/mo&gt;&lt;mn&gt;9&lt;/mn&gt;&lt;mspace linebreak="newline"/&gt;&lt;mi&gt;Y&lt;/mi&gt;&lt;mo&gt;&amp;#xA0;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;#x2009;&lt;/mo&gt;&lt;mn&gt;256&lt;/mn&gt;&lt;mspace linebreak="newline"/&gt;&lt;mi&gt;Z&lt;/mi&gt;&lt;mo&gt;&amp;#xA0;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;#xA0;&lt;/mo&gt;&lt;mn&gt;125&lt;/mn&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-3)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;data name="inputCompound"&gt;true&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 15070-12818 -->
 <question type="shortanswerwiris">
    <name>
      <text>31. Basic arithmetic</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>M is a number whose remainder when divided by 7 is 2. It is also divisible by 2, but not by 4.</p>
<p> </p>
<p>Give a possible value of M.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text>30</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;credit1&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;credit2&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;credit3&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;decrease_mark&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;gf&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;:&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;begin&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;remainder&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;∨&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;remainder&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;credit1&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;decrease_mark&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/apply&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;remainder&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;credit2&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;decrease_mark&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;remainder&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;∧&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;remainder&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;≠&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;credit3&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;decrease_mark&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;return&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;credit1&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;credit2&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;credit3&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;30&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_function"&gt;&lt;param name="name"&gt;gf&lt;/param&gt;&lt;param name="notevaluate"&gt;false&lt;/param&gt;&lt;/assertion&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-3)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;inlineEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 15071-12819 -->
 <question type="shortanswerwiris">
    <name>
      <text>32. Linear system of equations</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Give a solution «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»v«/mi»«/math» to the following equation:</p>
<p style="text-align: center;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»A«/mi»«mi»v«/mi»«mo»=«/mo»«mi»b«/mi»«/math»</p>
<p style="text-align: left;">where</p>
<p style="text-align: center;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»A«/mi»«mo»=«/mo»«mfenced open=¨[¨ close=¨]¨»«mtable»«mtr»«mtd»«mn»6«/mn»«/mtd»«mtd»«mo»-«/mo»«mn»3«/mn»«/mtd»«mtd»«mn»1«/mn»«/mtd»«/mtr»«mtr»«mtd»«mn»2«/mn»«/mtd»«mtd»«mn»0«/mn»«/mtd»«mtd»«mo»-«/mo»«mn»1«/mn»«/mtd»«/mtr»«mtr»«mtd»«mo»-«/mo»«mn»4«/mn»«/mtd»«mtd»«mo»-«/mo»«mn»3«/mn»«/mtd»«mtd»«mn»6«/mn»«/mtd»«/mtr»«/mtable»«/mfenced»«mo»§#160;«/mo»«mo»,«/mo»«mo»§#160;«/mo»«mi»b«/mi»«mo»=«/mo»«mfenced open=¨[¨ close=¨]¨»«mtable»«mtr»«mtd»«mn»30«/mn»«/mtd»«/mtr»«mtr»«mtd»«mn»6«/mn»«/mtd»«/mtr»«mtr»«mtd»«mn»0«/mn»«/mtd»«/mtr»«/mtable»«/mfenced»«/math»</p>
<p style="text-align: center;"> </p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mfenced open="[" close="]"><mrow><mn>3</mn><mo>,</mo><mo>-</mo><mn>4</mn><mo>,</mo><mn>0</mn></mrow></mfenced></math>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;A&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mn&gt;6&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;6&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced close="]" open="["&gt;&lt;mrow&gt;&lt;mn&gt;30&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;6&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;gf&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;:&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;begin&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n_columns&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mo&gt;T&lt;/mo&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd/&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;A&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;?&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mfenced open="[" close="]"&gt;&lt;mrow&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_function"&gt;&lt;param name="name"&gt;gf&lt;/param&gt;&lt;param name="notevaluate"&gt;false&lt;/param&gt;&lt;/assertion&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-3)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;inlineEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 15072-12820 -->
 <question type="shortanswerwiris">
    <name>
      <text>33. Local maxima</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Give the «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»x«/mi»«/math» coordinates of two distinct local maximums of</p>
<p style="text-align: center;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»f«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«mo»§#160;«/mo»«mo»=«/mo»«mo»§#8201;«/mo»«mn»5«/mn»«mi»sin«/mi»«mfenced»«mrow»«mfrac»«mi mathvariant=¨normal¨»§#960;«/mi»«mn»4«/mn»«/mfrac»«mfenced»«mrow»«mi»x«/mi»«mo»+«/mo»«mn»1«/mn»«/mrow»«/mfenced»«/mrow»«/mfenced»«mo»§#160;«/mo»«mo»+«/mo»«mo»§#160;«/mo»«mn»8«/mn»«/math».</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>x</mi><mn>1</mn></msub><mo>=</mo><mn>9</mn><mspace linebreak="newline"/><msub><mi>x</mi><mn>2</mn></msub><mo>=</mo><mo>-</mo><mn>7</mn></math>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;credit1&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;credit2&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;gf&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;:&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;begin&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;remainder&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;∨&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;remainder&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mrow&gt;&lt;mi&gt;credit1&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mo&gt;≠&lt;/mo&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;∧&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;remainder&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;∨&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;remainder&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mrow&gt;&lt;mi&gt;credit2&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;return&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;credit1&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;credit2&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/apply&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;msub&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;9&lt;/mn&gt;&lt;mspace linebreak="newline"/&gt;&lt;msub&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_function"&gt;&lt;param name="name"&gt;gf&lt;/param&gt;&lt;param name="notevaluate"&gt;false&lt;/param&gt;&lt;/assertion&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-3)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;data name="inputCompound"&gt;true&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 15073-12821 -->
 <question type="shortanswerwiris">
    <name>
      <text>34. Tangent lines to a circle</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»L«/mi»«/math» is a line tangent to the circumference «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»C«/mi»«/math»<br /><br /></p>
<div style="text-align: center;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»C«/mi»«mo»:«/mo»«mo»§#8201;«/mo»«msup»«mfenced»«mrow»«mi»x«/mi»«mo»-«/mo»«mn»1«/mn»«/mrow»«/mfenced»«mn»2«/mn»«/msup»«mo»§#160;«/mo»«mo»+«/mo»«mo»§#160;«/mo»«msup»«mfenced»«mrow»«mi»y«/mi»«mo»-«/mo»«mn»3«/mn»«/mrow»«/mfenced»«mn»2«/mn»«/msup»«mo»§#160;«/mo»«mo»=«/mo»«mo»§#160;«/mo»«mn»1«/mn»«/math»<br /><br />
<div style="text-align: left;">and the slope of «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»L«/mi»«/math» is «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac bevelled=¨true¨»«mrow»«mo»-«/mo»«mi mathvariant=¨normal¨»§#960;«/mi»«/mrow»«mn»6«/mn»«/mfrac»«/math». Give a point on «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»L«/mi»«/math» that isn't the point of tangency.</div>
</div>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mfenced><mrow><mn>3</mn><mo>+</mo><mn>3</mn><msqrt><mn>3</mn></msqrt><mo>,</mo><mn>0</mn></mrow></mfenced></math>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;mark&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;gf&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;P&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;:&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;begin&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;P&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;P&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;belongs&lt;/mi&gt;&lt;mo&gt;?&lt;/mo&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;point&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;P&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;msqrt&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/msqrt&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;msqrt&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/msqrt&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;P&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced close="]" open="["&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mfrac&gt;&lt;msqrt&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/msqrt&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mrow&gt;&lt;mi&gt;mark&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;mark&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/apply&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd/&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;belongs&lt;/mi&gt;&lt;mo&gt;?&lt;/mo&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;point&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;P&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;msqrt&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/msqrt&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;msqrt&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/msqrt&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;P&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced close="]" open="["&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;msqrt&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/msqrt&gt;&lt;/mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mrow&gt;&lt;mi&gt;mark&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;mark&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/apply&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;return&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;mark&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/apply&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;msqrt&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/msqrt&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_function"&gt;&lt;param name="name"&gt;gf&lt;/param&gt;&lt;param name="notevaluate"&gt;false&lt;/param&gt;&lt;/assertion&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-3)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;inlineEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 16810-13792 -->
 <question type="shortanswerwiris">
    <name>
      <text>35. Student answer</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[A triangle has an area of #A, and a height of #h. Given that the base of the triangle is «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»x«/mi»«mo»+«/mo»«mn»2«/mn»«mo»§#160;«/mo»«mi»cm«/mi»«/math», what is «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»x«/mi»«/math»?<br><p><br></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text>#x</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="0" format="moodle_auto_format">
      <text>0</text>
      <feedback format="html">
        <text><![CDATA[<p>That isn't correct, because if the value of «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»x«/mi»«/math» were #answer, then we would have</p><p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»b«/mi»«mo»=«/mo»«mi»x«/mi»«mo»+«/mo»«mn»2«/mn»«mi»cm«/mi»«mo»§#160;«/mo»«mo»=«/mo»«mo»#«/mo»«mi»a«/mi»«mi»n«/mi»«mi»s«/mi»«mi»w«/mi»«mi»e«/mi»«mi»r«/mi»«mo»+«/mo»«mn»2«/mn»«mo»§#160;«/mo»«mi»cm«/mi»«mo»§#160;«/mo»«mo»=«/mo»«mo»§#8201;«/mo»«mo»#«/mo»«mi»s«/mi»«mi»t«/mi»«mi»u«/mi»«mi»d«/mi»«mi»e«/mi»«mi»n«/mi»«mi»t«/mi»«mi»_«/mi»«mi»b«/mi»«mi»a«/mi»«mi»s«/mi»«mi»e«/mi»«mspace linebreak=¨newline¨/»«mi»h«/mi»«mo»=«/mo»«mo»#«/mo»«mi»h«/mi»«mspace linebreak=¨newline¨/»«mspace linebreak=¨newline¨/»«mi»A«/mi»«mo»=«/mo»«mfrac»«mrow»«mi»b«/mi»«mo»§#183;«/mo»«mi»h«/mi»«/mrow»«mn»2«/mn»«/mfrac»«mo»=«/mo»«mfrac»«mrow»«mo»#«/mo»«mi»s«/mi»«mi»t«/mi»«mi»u«/mi»«mi»d«/mi»«mi»e«/mi»«mi»n«/mi»«mi»t«/mi»«mi»_«/mi»«mi»b«/mi»«mi»a«/mi»«mi»s«/mi»«mi»e«/mi»«mo»§#183;«/mo»«mo»#«/mo»«mi»h«/mi»«/mrow»«mn»2«/mn»«/mfrac»«mo»=«/mo»«mo»#«/mo»«mi»s«/mi»«mi»t«/mi»«mi»u«/mi»«mi»d«/mi»«mi»e«/mi»«mi»n«/mi»«mi»t«/mi»«mi»_«/mi»«mi»a«/mi»«mi»r«/mi»«mi»e«/mi»«mi»a«/mi»«/math»<br></p><p><br></p><p>which is not equal to the given area of #A.<br></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;csymbol definitionURL="http://.../units/meter#c"&gt;cm&lt;/csymbol&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;A&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;csymbol definitionURL="http://.../units/meter#c"&gt;cm&lt;/csymbol&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;A&lt;/mi&gt;&lt;/mrow&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;/mfrac&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;csymbol definitionURL="http://.../units/meter#c"&gt;cm&lt;/csymbol&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;parameter&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;answer&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;student_base&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;answer&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;csymbol definitionURL="http://.../units/meter#c"&gt;cm&lt;/csymbol&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;student_area&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;student_base&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;h&lt;/mi&gt;&lt;/mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;#x&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&gt;0&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="equivalent_all" correctAnswer="1"/&gt;&lt;assertion name="syntax_quantity"&gt;&lt;param name="units"&gt;&lt;![CDATA[m, s, g, °, ', ", $, ¥, €, £, kr, Fr, ₩, ₹, руб, BTC, %, ‰, A, K, mol, cd, rad, sr, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]&gt;&lt;/param&gt;&lt;param name="decimalseparators"&gt;., \,&lt;/param&gt;&lt;param name="unitprefixes"&gt;M, k, c, m&lt;/param&gt;&lt;param name="groupoperators"&gt;(,[,{&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-3)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;option name="answer_parameter"&gt;true&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;inlineEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 </quiz>
