<?xml version="1.0" encoding="UTF-8"?>
<quiz>
 <!-- categoryid: 396 -->
 <question type="category"><category><text>test-9d-mate-sincai-Algebra - W - Collection-20130516-1959</text></category></question>
 
 <!-- resourceid-resourcedataid: 3937-3531 -->
 <question type="shortanswerwiris">
    <name>
      <text>Argumentul unui nr. complex</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Aflati argumentul redus al numarului z = #z .</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>#s</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;z&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;imaginaryi/&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;imaginaryi/&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;msqrt&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/msqrt&gt;&lt;imaginaryi/&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;msqrt&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/msqrt&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;msqrt&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/msqrt&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;imaginaryi/&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;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;argument&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&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;mi&gt;z&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;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;msqrt&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/msqrt&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mfrac&gt;&lt;pi/&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mfrac&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 type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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="casSession"/&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3938-3532 -->
 <question type="shortanswerwiris">
    <name>
      <text>Combinatorica</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Se considera multimea A = { 1, 2, ... , #n }. </p>
<p>Sa se determine numarul submultimilor cu trei elemente, ale multimii A, care contin elementul #e.</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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;mo&gt;⩽&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&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;j&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&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;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;C&lt;/csymbol&gt;&lt;mi&gt;j&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/apply&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;#sol&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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>
    <hint format="html">
      <text><![CDATA[<p>Daca din A indepartam elementul #e, raman in A #n - 1 elemente !</p>
<p>Numarul submultimilor cu cate doua elemente, ale multimii cu #j elemente este si numarul submultimilor cu cate trei elmente ale multimii A, care contin elementul #e .</p>
<p> </p>]]></text>
    </hint>
  </question>
 
 <!-- resourceid-resourcedataid: 3939-3533 -->
 <question type="shortanswerwiris">
    <name>
      <text>Combinatorica - Probabilitati</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Sa se determine probabilitatea ca , alegand un numar  din multimea numerelor naturale nenule, mai mici sau egale decat #a, acesta sa fie patrat perfect.</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>#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="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;i&lt;/mi&gt;&lt;mo&gt;=&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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;100&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1000&lt;/mn&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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;while&lt;/csymbol&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;⩽&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&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;/apply&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;mfrac&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;mi&gt;a&lt;/mi&gt;&lt;/mfrac&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;#p&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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: 3940-3534 -->
 <question type="shortanswerwiris">
    <name>
      <text>Determinant - 3</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Se da matricea M = #M.</p>
<p>Sa se determine x «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»§#8712;«/mo»«/math» «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi mathvariant=¨normal¨»§#8450;«/mi»«/math» astfel incat rangul matricei M sa fie cel mult egal cu 2.</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>Determinantul matricei #M este #d  .</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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;:&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&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;4&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;x&lt;/mi&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&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;determinant&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;solve&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;complexes/&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd/&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;degree&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&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;s&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;x&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msub&gt;&lt;mfenced&gt;&lt;mi&gt;x&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;mi&gt;s&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&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;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;msqrt&gt;&lt;mn&gt;457&lt;/mn&gt;&lt;/msqrt&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/mfrac&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&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;mi&gt;x&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;msqrt&gt;&lt;mn&gt;457&lt;/mn&gt;&lt;/msqrt&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/mfrac&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mfrac&gt;&lt;msqrt&gt;&lt;mn&gt;457&lt;/mn&gt;&lt;/msqrt&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/mfrac&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/mfrac&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;msqrt&gt;&lt;mn&gt;457&lt;/mn&gt;&lt;/msqrt&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/mfrac&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/mfrac&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;3&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;28&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 type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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: 3941-3535 -->
 <question type="shortanswerwiris">
    <name>
      <text>Determinant -2</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Se da matricea M = #M.</p>
<p>Sa se determine «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»x«/mi»«mo»§#160;«/mo»«mo»§#8712;«/mo»«mo»§#160;«/mo»«mi mathvariant=¨normal¨»§#8474;«/mi»«/math»  astfel incat rangul matricei M sa fie cel mult egal cu 2.</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>Determinantul matricei #M este #d  .</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;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;:&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&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;4&lt;/mn&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;M&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;x&lt;/mi&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&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;/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;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;determinant&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;M&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;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;solve&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&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;mi&gt;a&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mfrac&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mfrac&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 type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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: 3943-3537 -->
 <question type="matchwiris">
    <name>
      <text>Determinanti-Matrice - 1</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Se da matricea #M .</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <shuffleanswers>true</shuffleanswers>
    <correctfeedback format="html">
      <text></text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text></text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text></text>
    </incorrectfeedback>
    <shownumcorrect></shownumcorrect>
    <subquestion format="html">
      <text><![CDATA[<p>Coeficientul termenului liber al ecuatiei det#M = 0, este</p>]]></text>
      <answer>
        <text>#c</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text><![CDATA[<p>Coeficientul termenului ce il contine pe x in  ecuatia det#M = 0, este</p>]]></text>
      <answer>
        <text>#b</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text><![CDATA[<p>Determinantul matricei #M este :</p>]]></text>
      <answer>
        <text>#d</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text></text>
      <answer>
        <text>#e</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text><![CDATA[<p>Multimea solutiilor reale aleecuatiei det #M = 0 este</p>]]></text>
      <answer>
        <text>#v</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text></text>
      <answer>
        <text>#u</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text></text>
      <answer>
        <text>#z</text>
      </answer>
    </subquestion>
    <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;mo&gt;)&lt;/mo&gt;&lt;mo&gt;:&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&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;3&lt;/mn&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;M&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;x&lt;/mi&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&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;/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;N&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;x&lt;/mi&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&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;/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;=&lt;/mo&gt;&lt;mi&gt;determinant&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;N&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;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;determinant&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;M&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;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mn&gt;0&lt;/mn&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&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;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;solve&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d&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;t&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;solve&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&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;mn&gt;5&lt;/mn&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&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;v&lt;/mi&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;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;s&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;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;mi&gt;vida&lt;/mi&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;mi&gt;nevida&lt;/mi&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;/mrow&gt;&lt;/apply&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;mo&gt;=&lt;/mo&gt;&lt;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;mi&gt;vida&lt;/mi&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;/mrow&gt;&lt;mi&gt;nevida&lt;/mi&gt;&lt;mrow&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;mi&gt;vida&lt;/mi&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;/mrow&gt;&lt;/apply&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;repeat&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&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;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;z&lt;/mi&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;mo&gt;(&lt;/mo&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;mo&gt;≠&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/apply&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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
    <hint format="html">
      <text></text>
      <shownumcorrect></shownumcorrect>
    </hint>
  </question>
 
 <!-- resourceid-resourcedataid: 3942-3536 -->
 <question type="matchwiris">
    <name>
      <text><![CDATA[determinanti&matrice]]></text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Se dau matricele A= #A  si B =#B.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <shuffleanswers>true</shuffleanswers>
    <correctfeedback format="html">
      <text></text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text></text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text></text>
    </incorrectfeedback>
    <subquestion format="html">
      <text><![CDATA[<p>Produsul dintre matricele A=#A si B=#B este</p>]]></text>
      <answer>
        <text>#P</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text></text>
      <answer>
        <text>#Q</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text><![CDATA[<p>Det(A)=</p>]]></text>
      <answer>
        <text>#a</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text><![CDATA[<p>Valoarea lui x pentru care det(A) = det(B) este</p>]]></text>
      <answer>
        <text>#r</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text></text>
      <answer>
        <text>#u</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text></text>
      <answer>
        <text>#b</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text></text>
      <answer>
        <text>#c</text>
      </answer>
    </subquestion>
    <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;mo&gt;)&lt;/mo&gt;&lt;mo&gt;:&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&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;A&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&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;/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&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;x&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;mi&gt;C&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;x&lt;/mi&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&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;/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;A&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;B&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;Q&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;A&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;C&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;mi&gt;determinant&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;A&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;determinant&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;B&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;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;determinant&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;C&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;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;solve&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&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;r&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;x&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;t&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;solve&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&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;u&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&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;mi&gt;r&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;50&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mfenced&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;22&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;3&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;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mn&gt;3&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;4&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&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;4&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mn&gt;28&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;3&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;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;70&lt;/mn&gt;&lt;mn&gt;19&lt;/mn&gt;&lt;/mfrac&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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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: 3944-3538 -->
 <question type="shortanswerwiris">
    <name>
      <text>Discriminant -1</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Ecuatia #a x<sup>2</sup> + #b x + #c = 0 are discriminantul egal cu :</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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&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;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&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;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;c&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;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&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;mi&gt;d&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;44&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;44&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 type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&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;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&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^(-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: 3945-3539 -->
 <question type="shortanswerwiris">
    <name>
      <text>Ecuatie - progresii arittmetice</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Sa se determine  «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»x«/mi»«mo»§#160;«/mo»«mo»§#8712;«/mo»«mo»§#160;«/mo»«mi mathvariant=¨normal¨»§#8469;«/mi»«/math», astfel incat 1 + 5 + 9 + . . . + x = #s</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;k&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;13&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;63&lt;/mn&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;x&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&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;s&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;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;mi&gt;k&lt;/mi&gt;&lt;mo&gt;+&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;2&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;sol&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;/group&gt;&lt;/library&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;#sol&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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: 3946-3540 -->
 <question type="matchwiris">
    <name>
      <text>Ecuatie-calcul algebric</text>
    </name>
    <questiontext format="html">
      <text></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <shuffleanswers>true</shuffleanswers>
    <correctfeedback format="html">
      <text></text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text></text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text></text>
    </incorrectfeedback>
    <subquestion format="html">
      <text><![CDATA[<p>Multimea valorilor reale ale lui x, pentru care ecuatia «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mrow»«mn»3«/mn»«mi»x«/mi»«mo»-«/mo»«mo»#«/mo»«mi»a«/mi»«mn»1«/mn»«/mrow»«mrow»«mi»x«/mi»«mo»+«/mo»«mo»#«/mo»«mi»a«/mi»«mn»1«/mn»«/mrow»«/mfrac»«mo»+«/mo»«mfrac»«mrow»«mi»x«/mi»«mo»+«/mo»«mo»#«/mo»«mi»a«/mi»«mn»1«/mn»«/mrow»«mrow»«mn»2«/mn»«mi»x«/mi»«mo»-«/mo»«mo»#«/mo»«mi»a«/mi»«mn»1«/mn»«/mrow»«/mfrac»«mo»=«/mo»«mn»3«/mn»«/math», nu are sens, este :</p>]]></text>
      <answer>
        <text>{ #c1, #c2 }</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text><![CDATA[<p>Multimea solutiilor ecuatiei : «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mrow»«mn»3«/mn»«mi»x«/mi»«mo»-«/mo»«mo»#«/mo»«mi»a«/mi»«mn»1«/mn»«/mrow»«mrow»«mi»x«/mi»«mo»+«/mo»«mo»#«/mo»«mi»a«/mi»«mn»1«/mn»«/mrow»«/mfrac»«mo»+«/mo»«mfrac»«mrow»«mi»x«/mi»«mo»+«/mo»«mo»#«/mo»«mi»a«/mi»«mn»1«/mn»«/mrow»«mrow»«mn»2«/mn»«mi»x«/mi»«mo»-«/mo»«mo»#«/mo»«mi»a«/mi»«mn»1«/mn»«/mrow»«/mfrac»«mo»=«/mo»«mn»3«/mn»«/math» , este :</p>]]></text>
      <answer>
        <text>{ #s1, #s2 }</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text></text>
      <answer>
        <text>{ #sf1, #s2 }</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text></text>
      <answer>
        <text>{ #c1, #cf2 }</text>
      </answer>
    </subquestion>
    <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;a1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&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;a&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;mi&gt;simplify&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;a1&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;a1&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;a1&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;a1&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&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;h&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;mi&gt;num&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;a&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;/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;=&lt;/mo&gt;&lt;mi&gt;solve&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;h&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;mn&gt;0&lt;/mn&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;g&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;mi&gt;den&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;a&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;/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;C&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;solve&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;g&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;mn&gt;0&lt;/mn&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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;mo&gt;∩&lt;/mo&gt;&lt;mi&gt;C&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;mi&gt;atn&lt;/mi&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;/mrow&gt;&lt;/apply&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;s1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&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;s2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;S&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&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;c1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;C&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&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;c2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;C&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&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;sf1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;s1&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&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;cf2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;c2&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&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;mi&gt;S&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&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;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;x&lt;/mi&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;mo&gt;,&lt;/mo&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;35&lt;/mn&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;C&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&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;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;x&lt;/mi&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;mo&gt;,&lt;/mo&gt;&lt;mfenced close="}" open="{"&gt;&lt;mtable align="center"&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;/mfenced&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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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: 3947-3541 -->
 <question type="shortanswerwiris">
    <name>
      <text>Ecuatii logaritmice</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>O solutie a ecuatiei log<sub>2 </sub>(x - #b) + log<sub>2</sub> ( 2x - #c ) = #a, este :</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>#s1</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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;6&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&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;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;12&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&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;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;12&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;solve&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&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;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&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;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msup&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;s1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;s2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;max&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;s1&lt;/mi&gt;&lt;mo&gt;∈&lt;/mo&gt;&lt;rationals/&gt;&lt;mo&gt;∧&lt;/mo&gt;&lt;mi&gt;s1&lt;/mi&gt;&lt;mo&gt;&amp;gt;&lt;/mo&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&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;mi&gt;b&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;1&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;c&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;9&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mfrac&gt;&lt;mn&gt;9&lt;/mn&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;s1&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;5&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;s2&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mfrac&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&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;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;#s1&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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: 3948-3542 -->
 <question type="shortanswerwiris">
    <name>
      <text>Formule trigonometrice</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Sa se calculeze  cos(#a)</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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;pi/&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;pi/&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;pi/&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;pi/&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mn&gt;12&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;pi/&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mn&gt;12&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;pi/&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;pi/&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;a&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;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;cos&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&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;mi&gt;sol&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mfrac&gt;&lt;msqrt&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/msqrt&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/mfrac&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/mfrac&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 type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&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;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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>
    <hint format="html">
      <text><![CDATA[<p>Formule utile : cos(x) = «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»§#177;«/mo»«msqrt»«mfrac»«mrow»«mn»1«/mn»«mo»§#160;«/mo»«mo»§#160;«/mo»«mo»+«/mo»«mo»§#160;«/mo»«mi»cos«/mi»«mo»(«/mo»«mn»2«/mn»«mi»x«/mi»«mo»)«/mo»«/mrow»«mn»2«/mn»«/mfrac»«/msqrt»«/math»</p>
<p>                     </p>
<p></p>]]></text>
    </hint>
  </question>
 
 <!-- resourceid-resourcedataid: 3949-3543 -->
 <question type="truefalsewiris">
    <name>
      <text>Formule trigonometrice II</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»P«/mi»«mi»e«/mi»«mi»n«/mi»«mi»t«/mi»«mi»r«/mi»«mi»u«/mi»«mo»§#160;«/mo»«mi»o«/mi»«mi»r«/mi»«mi»i«/mi»«mi»c«/mi»«mi»e«/mi»«mo»§#160;«/mo»«/math» «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»x«/mi»«mo»§#160;«/mo»«mo»§#8712;«/mo»«mo»§#160;«/mo»«mi»R«/mi»«mo»§#160;«/mo»«mo»-«/mo»«mo»§#160;«/mo»«mo»{«/mo»«mo»§#160;«/mo»«mi»k«/mi»«mo»*«/mo»«mi mathvariant=¨normal¨»§#960;«/mi»«mo»/«/mo»«mi mathvariant=¨normal¨»k«/mi»«mo»§#160;«/mo»«mo»§#8712;«/mo»«mi mathvariant=¨normal¨»Z«/mi»«mo»§#160;«/mo»«mo»}«/mo»«mspace linebreak=¨newline¨/»«/math», #t * cos2x *cos4x = «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mrow»«mi»sin«/mi»«mo»(«/mo»«mn»8«/mn»«mi»x«/mi»«mo»)«/mo»«/mrow»«mrow»«mn»8«/mn»«mo»*«/mo»«mi»sin«/mi»«mi»x«/mi»«/mrow»«/mfrac»«/math»</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <answer fraction="0" format="moodle_auto_format">
      <text>Adevărat</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="100" format="moodle_auto_format">
      <text>Fals</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;t1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;mi&gt;cosx&lt;/mi&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;mi&gt;t2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;quot;&lt;/mo&gt;&lt;mi&gt;sinx&lt;/mi&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;mi&gt;t&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;mi&gt;t1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;t2&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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;t1&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;true&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;false&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&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;mi&gt;t&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;ms&gt;cosx&lt;/ms&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;true&lt;/mi&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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
    <wirisoverrideanswer>
<![CDATA[#sol]]>
    </wirisoverrideanswer>
  </question>
 
 <!-- resourceid-resourcedataid: 3950-3544 -->
 <question type="matchwiris">
    <name>
      <text>Functia de gradul II - 1</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Se da functia f ; «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi mathvariant=¨normal¨»§#8477;«/mi»«mo»§#160;«/mo»«mo»§#8594;«/mo»«mo»§#160;«/mo»«mi mathvariant=¨normal¨»§#8477;«/mi»«mo»,«/mo»«mo»§#160;«/mo»«mi»f«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«mo»§#160;«/mo»«mo»=«/mo»«mo»§#160;«/mo»«mo»#«/mo»«mi»a«/mi»«mo»§#183;«/mo»«msup»«mi»x«/mi»«mn»2«/mn»«/msup»«mo»§#160;«/mo»«mo»+«/mo»«mo»§#160;«/mo»«mo»#«/mo»«mi»b«/mi»«mo»§#183;«/mo»«mi»x«/mi»«mo»§#160;«/mo»«mo»+«/mo»«mo»§#160;«/mo»«mo»#«/mo»«mi»c«/mi»«/math»</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p>Graficul functiei f :</p>
<p>#h</p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <shuffleanswers>true</shuffleanswers>
    <correctfeedback format="html">
      <text></text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text></text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text></text>
    </incorrectfeedback>
    <subquestion format="html">
      <text><![CDATA[<p>Varful parabolei asociate functiei f este de coordonate :</p>]]></text>
      <answer>
        <text>(#xv, #yv)</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text><![CDATA[<p>Valoarea minima a functiei f este :</p>]]></text>
      <answer>
        <text>#yv</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text></text>
      <answer>
        <text>(#xf, #yf)</text>
      </answer>
    </subquestion>
    <subquestion format="html">
      <text></text>
      <answer>
        <text>#yf</text>
      </answer>
    </subquestion>
    <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;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;6&lt;/mn&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&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;random&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;1&lt;/mn&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;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&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;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&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;f&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;mi&gt;a&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&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;/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;xv&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;b&lt;/mi&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;/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;yv&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;b&lt;/mi&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;/mfrac&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;xf&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;b&lt;/mi&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;/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;yf&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;xf&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;h&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;plot&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;f&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;/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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3951-3545 -->
 <question type="shortanswerwiris">
    <name>
      <text>Functie de gradul I - identificare diferenta coeficienti</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»D«/mi»«mi»a«/mi»«mi»c«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mi»m«/mi»«mi»a«/mi»«mi»i«/mi»«mo»§#160;«/mo»«mi»j«/mi»«mi»o«/mi»«mi»s«/mi»«mo»§#160;«/mo»«mi»a«/mi»«mi»v«/mi»«mi»e«/mi»«mi»m«/mi»«mo»§#160;«/mo»«mi»r«/mi»«mi»e«/mi»«mi»p«/mi»«mi»r«/mi»«mi»e«/mi»«mi»z«/mi»«mi»e«/mi»«mi»n«/mi»«mi»t«/mi»«mi»a«/mi»«mi»r«/mi»«mi»e«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mi»g«/mi»«mi»r«/mi»«mi»a«/mi»«mi»f«/mi»«mi»i«/mi»«mi»c«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mi»a«/mi»«mo»§#160;«/mo»«mi»f«/mi»«mi»u«/mi»«mi»n«/mi»«mi»c«/mi»«mi»t«/mi»«mi»i«/mi»«mi»e«/mi»«mi»i«/mi»«mo»§#160;«/mo»«mi»f«/mi»«mo»§#160;«/mo»«mo»:«/mo»«mi mathvariant=¨normal¨»§#8477;«/mi»«mo»§#8594;«/mo»«mi mathvariant=¨normal¨»§#8477;«/mi»«mo»,«/mo»«mo»§#160;«/mo»«mi»f«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«mo»=«/mo»«mi»a«/mi»«mi»x«/mi»«mo»+«/mo»«mi»b«/mi»«mo»,«/mo»«mo»§#160;«/mo»«mi»a«/mi»«mi»t«/mi»«mi»u«/mi»«mi»n«/mi»«mi»c«/mi»«mi»i«/mi»«/math»</p>
<p><span style="font-size: large;">a - b =</span></p>
<p></p>
<p>#f</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>#s</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;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;mi&gt;random&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;s1&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;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;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;width&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;height&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;9&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;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;plotter1&lt;/mi&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&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;mi&gt;plot&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;s1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;a&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;b&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;plotter1&lt;/mi&gt;&lt;/math&gt;&lt;/output&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;=&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;b&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;0&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 type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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="casSession"/&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
    <hint format="html">
      <text><![CDATA[<p>O solutie simpla ar fi : a -b = - f(-1)  !</p>]]></text>
    </hint>
  </question>
 
 <!-- resourceid-resourcedataid: 3952-3546 -->
 <question type="truefalsewiris">
    <name>
      <text>Grafic</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Graficul functiei f : R → R,  f(x) = #a*«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«msup»«mi»x«/mi»«mn»2«/mn»«/msup»«/math» +#b*x + #c ,  este situat in intregime deasupra axei Ox.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p>Graficul functiei date :</p>
<p>#h</p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <answer fraction="0" format="moodle_auto_format">
      <text>Adevărat</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="100" format="moodle_auto_format">
      <text>Fals</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;mi&gt;random&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&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;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&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;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;c&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;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;a&lt;/mi&gt;&lt;mo&gt;&amp;gt;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;∧&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;&amp;lt;&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;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;true&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;false&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&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;f&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;mi&gt;a&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&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;/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;plot&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&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;mi&gt;a&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;128&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;false&lt;/mi&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;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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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>
    <wirisoverrideanswer>
<![CDATA[#s]]>
    </wirisoverrideanswer>
  </question>
 
 <!-- resourceid-resourcedataid: 3953-3547 -->
 <question type="multichoicewiris">
    <name>
      <text>Identificare  functii 2</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Care din graficele de mai jos este al functiei liniare «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»f«/mi»«mo»§#160;«/mo»«mo»:«/mo»«mo»§#160;«/mo»«mi mathvariant=¨normal¨»§#8477;«/mi»«mo»§#160;«/mo»«mo»§#8594;«/mo»«mo»§#160;«/mo»«mi mathvariant=¨normal¨»§#8477;«/mi»«/math» , «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»f«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«mo»=«/mo»«mo»#«/mo»«mi»a«/mi»«mo»§#183;«/mo»«mi»x«/mi»«mo»+«/mo»«mo»#«/mo»«mi»b«/mi»«mo»§#160;«/mo»«mo»?«/mo»«/math»</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>abc</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>#f</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="0" format="html">
      <text><![CDATA[<p>#g</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="0" format="html">
      <text><![CDATA[<p>#h</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="0" format="html">
      <text><![CDATA[<p>#k</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="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;mi&gt;random&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&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;mo&gt;,&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;{&lt;/mo&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;mo&gt;,&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&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;s1&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;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;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;width&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;height&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;9&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;s2&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;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;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;width&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;height&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;9&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;s3&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;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;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;width&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;height&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;9&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;s4&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;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;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;width&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;height&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;9&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;f&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;plot&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;s1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;a&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;b&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;mi&gt;color&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;black&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;line_width&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;/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;g&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;plot&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;s2&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;a&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;b&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;mi&gt;color&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;black&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;line_width&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;/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;plot&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;s3&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;a&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;b&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;mi&gt;color&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;black&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;line_width&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;/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;k&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;plot&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;s4&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&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;mi&gt;b&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;mi&gt;color&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;black&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;line_width&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;/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;mi&gt;a&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;0&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3954-3548 -->
 <question type="truefalsewiris">
    <name>
      <text>Imaginea unei functii</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Pentru functia f(x) = #a*x<sup>2 </sup>+#b*x + #c, Imf = [#v, ∞)</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <answer fraction="0" format="moodle_auto_format">
      <text>Adevărat</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="100" format="moodle_auto_format">
      <text>Fals</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;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&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;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&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;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;c&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;v&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;/mrow&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;u&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;v&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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mo&gt;∧&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;&amp;gt;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;true&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;false&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&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;mi&gt;a&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;1&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;true&lt;/mi&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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
    <wirisoverrideanswer>
<![CDATA[#s]]>
    </wirisoverrideanswer>
  </question>
 
 <!-- resourceid-resourcedataid: 3955-3549 -->
 <question type="multichoicewiris">
    <name>
      <text>Inecuatie de grad 2</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>In multimea numerelor reale, multimea solutiilor inecuatiei #a X<sup>2</sup> + #b X + #c «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»§#8804;«/mo»«/math» 0 :</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p>Rezolvarea inecuatiei de gr. II, se bazeaza pe propozitia privind semnul functiei de gr. II.</p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <single>false</single>
    <shuffleanswers>true</shuffleanswers>
    <answernumbering>abc</answernumbering>
    <correctfeedback format="html">
      <text></text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text></text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text></text>
    </incorrectfeedback>
    <answer fraction="-10" format="html">
      <text><![CDATA[<p>este un interval nemarginit</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="50" format="html">
      <text><![CDATA[<p>este un interval marginit si inchis</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="50" format="html">
      <text><![CDATA[<p>este intervalul [ #u, #v ]</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="-20" format="html">
      <text><![CDATA[<p>este un interval de lungime #f</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="-20" format="html">
      <text><![CDATA[<p>este multimea vida</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="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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;6&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&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;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;6&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&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;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;6&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&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;msup&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&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;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;&amp;gt;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;∧&lt;/mo&gt;&lt;msqrt&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;/msqrt&gt;&lt;mo&gt;∈&lt;/mo&gt;&lt;naturalnumbers/&gt;&lt;/mrow&gt;&lt;/apply&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;e&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;solve&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&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;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;u&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;min&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&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;v&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;max&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&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;mo&gt;=&lt;/mo&gt;&lt;mi&gt;absolute&lt;/mi&gt;&lt;mfenced close="|" open="|"&gt;&lt;mrow&gt;&lt;msub&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;e&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/msub&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;f&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;l&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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: 3956-3550 -->
 <question type="shortanswerwiris">
    <name>
      <text>Modulul unei puteri (nr. complexe)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Se da a = #a si n = #n. Sa se calculeze modulul numarului  z = a<sup>n</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>#s</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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;{&lt;/mo&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;mo&gt;,&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;imaginaryi/&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;imaginaryi/&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;imaginaryi/&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;z&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;n&lt;/mi&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;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;norm&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;z&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&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;mi&gt;z&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;2&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;#s&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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="casSession"&gt;&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3957-3551 -->
 <question type="shortanswerwiris">
    <name>
      <text>Numar irational - intrebare deschisa</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><span style="line-height: 1.4;">Introduceti un numar irational negativ ce are modulul mai mare decat #a</span></p>
<p><span style="line-height: 1.4;"> </span></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p><span style="background-color: #ffff00;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi mathvariant=¨normal¨»§#960;«/mi»«mo»,«/mo»«mo»§#160;«/mo»«mo»-«/mo»«mi mathvariant=¨normal¨»§#960;«/mi»«mo»,«/mo»«mo»§#160;«/mo»«msqrt»«mn»5«/mn»«/msqrt»«mo»,«/mo»«mo»§#160;«/mo»«mfrac»«msqrt»«mn»10«/mn»«/msqrt»«mn»2«/mn»«/mfrac»«mo»,«/mo»«mo»§#160;«/mo»«msqrt»«mn»7«/mn»«/msqrt»«mo»§#160;«/mo»«mo»-«/mo»«mo»§#160;«/mo»«mn»8«/mn»«mo»,«/mo»«mo»§#160;«/mo»«mo»§#160;«/mo»«mo».«/mo»«mo».«/mo»«mo».«/mo»«mo»§#160;«/mo»«mi»s«/mi»«mi»u«/mi»«mi»n«/mi»«mi»t«/mi»«mo»§#160;«/mo»«mi»c«/mi»«mi»a«/mi»«mi»t«/mi»«mi»e«/mi»«mi»v«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mo»§#160;«/mo»«mi»e«/mi»«mi»x«/mi»«mi»a«/mi»«mi»m«/mi»«mi»p«/mi»«mi»l«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»d«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»n«/mi»«mi»u«/mi»«mi»m«/mi»«mi»e«/mi»«mi»r«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»i«/mi»«mi»r«/mi»«mi»a«/mi»«mi»t«/mi»«mi»i«/mi»«mi»o«/mi»«mi»n«/mi»«mi»a«/mi»«mi»l«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mo»!«/mo»«/math»</span></p>
<p><span style="color: #ff0000; background-color: #ccffff;">Def. Valoarea absoluta a unui numar real, este distanta pe o axa a numerelor reale, de la origine la imaginea pe axa  a numarului. </span></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<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>#sol</text>
      <feedback format="html">
        <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi mathvariant=¨normal¨»§#960;«/mi»«mo»,«/mo»«mo»§#160;«/mo»«mo»-«/mo»«mi mathvariant=¨normal¨»§#960;«/mi»«mo»,«/mo»«mo»§#160;«/mo»«msqrt»«mn»5«/mn»«/msqrt»«mo»,«/mo»«mo»§#160;«/mo»«mfrac»«msqrt»«mn»10«/mn»«/msqrt»«mn»2«/mn»«/mfrac»«mo»,«/mo»«mo»§#160;«/mo»«msqrt»«mn»7«/mn»«/msqrt»«mo»§#160;«/mo»«mo»-«/mo»«mo»§#160;«/mo»«mn»8«/mn»«mo»,«/mo»«mo»§#160;«/mo»«mo»§#160;«/mo»«mo».«/mo»«mo».«/mo»«mo».«/mo»«mo»§#160;«/mo»«mi»a«/mi»«mi»r«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»s«/mi»«mi»o«/mi»«mi»m«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»e«/mi»«mi»x«/mi»«mi»a«/mi»«mi»m«/mi»«mi»p«/mi»«mi»l«/mi»«mi»e«/mi»«mi»s«/mi»«mo»§#160;«/mo»«mi»o«/mi»«mi»f«/mi»«mo»§#160;«/mo»«mi»i«/mi»«mi»r«/mi»«mi»a«/mi»«mi»t«/mi»«mi»i«/mi»«mi»o«/mi»«mi»n«/mi»«mi»a«/mi»«mi»l«/mi»«mo»§#160;«/mo»«mi»n«/mi»«mi»u«/mi»«mi»m«/mi»«mi»b«/mi»«mi»e«/mi»«mi»r«/mi»«mi»s«/mi»«mo»§#160;«/mo»«mo»!«/mo»«/math»</p>
<p>The absolute value of a real number is the distance from the origin to the image point of number (on a number line )</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;maction actiontype="comment"&gt;&lt;comment&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;Irational&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;grading&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;function&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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;20&lt;/mn&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;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;msqrt&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msqrt&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;test&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;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;sol&lt;/mi&gt;&lt;mo&gt;:&lt;/mo&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;rationals/&gt;&lt;mo&gt;∧&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;∧&lt;/mo&gt;&lt;mi&gt;absolute&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;&amp;gt;&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&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;mi&gt;return&lt;/mi&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;sol&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;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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;test&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;pi/&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;true&lt;/mi&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;test&lt;/mi&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;false&lt;/mi&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;&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;test&lt;/param&gt;&lt;/assertion&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&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="casSession"/&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3958-3552 -->
 <question type="shortanswerwiris">
    <name>
      <text>Numere complexe  - 1</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Daca n = #n, calculati argumentul redus al numarului  «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»z«/mi»«mo»§#160;«/mo»«mo»=«/mo»«munderover»«mo»§#8721;«/mo»«mrow»«mi»k«/mi»«mo»=«/mo»«mn»1«/mn»«/mrow»«mi»n«/mi»«/munderover»«msup»«mi»i«/mi»«mi»k«/mi»«/msup»«/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>#s</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;mi&gt;random&lt;/mi&gt;&lt;mo&gt;{&lt;/mo&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;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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;100&lt;/mn&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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;a&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;=&lt;/mo&gt;&lt;mi&gt;argument&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/munderover&gt;&lt;msup&gt;&lt;imaginaryi/&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;/msup&gt;&lt;mo&gt;)&lt;/mo&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;mi&gt;n&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;347&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;pi/&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 type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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="casSession"/&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3959-3553 -->
 <question type="truefalsewiris">
    <name>
      <text>Numere complexe -  4</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»P«/mi»«mi»e«/mi»«mi»n«/mi»«mi»t«/mi»«mi»r«/mi»«mi»u«/mi»«mo»§#160;«/mo»«mi»n«/mi»«mo»=«/mo»«mo»#«/mo»«mi»n«/mi»«mo»,«/mo»«mo»§#160;«/mo»«munderover»«mo»§#8721;«/mo»«mrow»«mi»k«/mi»«mo»=«/mo»«mn»1«/mn»«/mrow»«mi»n«/mi»«/munderover»«mo»(«/mo»«mfrac»«mrow»«mn»1«/mn»«mo»+«/mo»«mi»i«/mi»«/mrow»«mrow»«mn»1«/mn»«mo»-«/mo»«mi»i«/mi»«/mrow»«/mfrac»«msup»«mo»)«/mo»«mi»k«/mi»«/msup»«mo»§#8712;«/mo»«mi mathvariant=¨normal¨»§#8450;«/mi»«mo»§#160;«/mo»«mo»\«/mo»«mo»§#160;«/mo»«mi mathvariant=¨normal¨»§#8477;«/mi»«/math»</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <answer fraction="0" format="moodle_auto_format">
      <text>Adevărat</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="100" format="moodle_auto_format">
      <text>Fals</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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;33&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1700&lt;/mn&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;f&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/munderover&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;msup&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mi&gt;k&lt;/mi&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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;rem&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n&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;mo&gt;{&lt;/mo&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;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;true&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;false&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&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;mi&gt;n&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;166&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;true&lt;/mi&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;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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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>
    <wirisoverrideanswer>
<![CDATA[#s]]>
    </wirisoverrideanswer>
  </question>
 
 <!-- resourceid-resourcedataid: 3960-3554 -->
 <question type="truefalsewiris">
    <name>
      <text>Numere Complexe -  6</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»P«/mi»«mi»e«/mi»«mi»n«/mi»«mi»t«/mi»«mi»r«/mi»«mi»u«/mi»«mo»§#160;«/mo»«mi»n«/mi»«mo»=«/mo»«mo»#«/mo»«mi»n«/mi»«mo»,«/mo»«mo»§#160;«/mo»«munderover»«mo»§#8721;«/mo»«mrow»«mi»k«/mi»«mo»=«/mo»«mn»1«/mn»«/mrow»«mi»n«/mi»«/munderover»«mo»(«/mo»«mfrac»«mrow»«mn»1«/mn»«mo»+«/mo»«mi»i«/mi»«/mrow»«mrow»«mn»1«/mn»«mo»-«/mo»«mi»i«/mi»«/mrow»«/mfrac»«msup»«mo»)«/mo»«mi»k«/mi»«/msup»«mo»§#8712;«/mo»«mi mathvariant=¨normal¨»§#8477;«/mi»«/math»</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <answer fraction="0" format="moodle_auto_format">
      <text>Adevărat</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="100" format="moodle_auto_format">
      <text>Fals</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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;33&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1700&lt;/mn&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;f&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/munderover&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;msup&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mi&gt;k&lt;/mi&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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;rem&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n&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;mo&gt;{&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&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;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;true&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;false&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&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;mi&gt;n&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;126&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;false&lt;/mi&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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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;/question&gt;    </wirisquestion>
    <wirisoverrideanswer>
<![CDATA[#s]]>
    </wirisoverrideanswer>
  </question>
 
 <!-- resourceid-resourcedataid: 3961-3555 -->
 <question type="shortanswerwiris">
    <name>
      <text>Numere complexe - 3</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Daca n=#n , calculati  «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«munderover»«mo»§#8721;«/mo»«mrow»«mi»k«/mi»«mo»=«/mo»«mn»1«/mn»«/mrow»«mi»n«/mi»«/munderover»«msup»«mi»i«/mi»«mrow»«mn»3«/mn»«mi»k«/mi»«/mrow»«/msup»«/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>#s</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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;34&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;789&lt;/mn&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;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/munderover&gt;&lt;msup&gt;&lt;imaginaryi/&gt;&lt;mrow&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;/mrow&gt;&lt;/msup&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;mi&gt;n&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;202&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&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;imaginaryi/&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;#s&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
    <hint format="html">
      <text><![CDATA[<p>Observati ca suma a doua puteri consecutive impare ale lui i este 0.</p>]]></text>
    </hint>
  </question>
 
 <!-- resourceid-resourcedataid: 3962-3556 -->
 <question type="truefalsewiris">
    <name>
      <text>Numere complexe - modul (interpretare geometrica)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Fie z = #a + #b*i «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»§#8712;«/mo»«mi mathvariant=¨normal¨»§#8450;«/mi»«/math» , si P(z) imaginea numarului z intr-un reper cartezian XOY. </p>
<p><strong><span style="font-size: large;">Lungimea segmentului [OP] este mai mica decat 7.</span></strong></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <answer fraction="0" format="moodle_auto_format">
      <text>Adevărat</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="100" format="moodle_auto_format">
      <text>Fals</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;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;mi&gt;random&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;6&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&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;msqrt&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;/msqrt&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;msqrt&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;/msqrt&gt;&lt;/math&gt;&lt;/output&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;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;true&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;false&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;true&lt;/mi&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;/group&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&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;/question&gt;    </wirisquestion>
    <wirisoverrideanswer>
<![CDATA[#s]]>
    </wirisoverrideanswer>
  </question>
 
 <!-- resourceid-resourcedataid: 3963-3557 -->
 <question type="shortanswerwiris">
    <name>
      <text>Numere complexe - modulul unui cat</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»S«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mi»s«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»c«/mi»«mi»a«/mi»«mi»l«/mi»«mi»c«/mi»«mi»u«/mi»«mi»l«/mi»«mi»e«/mi»«mi»z«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»m«/mi»«mi»o«/mi»«mi»d«/mi»«mi»u«/mi»«mi»l«/mi»«mi»u«/mi»«mi»l«/mi»«mo»§#160;«/mo»«mi»n«/mi»«mi»u«/mi»«mi»m«/mi»«mi»a«/mi»«mi»r«/mi»«mi»u«/mi»«mi»l«/mi»«mi»u«/mi»«mi»i«/mi»«mo»§#160;«/mo»«mi»c«/mi»«mi»o«/mi»«mi»m«/mi»«mi»p«/mi»«mi»l«/mi»«mi»e«/mi»«mi»x«/mi»«mo»§#160;«/mo»«mfrac»«mrow»«mo»#«/mo»«mi»a«/mi»«mo»+«/mo»«mo»#«/mo»«mi»b«/mi»«mo»§#183;«/mo»«mi»i«/mi»«/mrow»«mrow»«mo»#«/mo»«mi»c«/mi»«mo»+«/mo»«mo»#«/mo»«mi»d«/mi»«mo»§#183;«/mo»«mi»i«/mi»«mo»§#160;«/mo»«/mrow»«/mfrac»«/math»</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p>Modulul unui cat de numere complexe este egal cu catul modulelor !</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>#m</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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&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;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&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;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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&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;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd/&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;rem&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;mn&gt;0&lt;/mn&gt;&lt;mo&gt;∧&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;≠&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&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;msqrt&gt;&lt;mfrac&gt;&lt;mi&gt;u&lt;/mi&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;/mfrac&gt;&lt;/msqrt&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;mo&gt;#&lt;/mo&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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="casSession"/&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3964-3558 -->
 <question type="shortanswerwiris">
    <name>
      <text>Numere complexe - parte reala</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»S«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mi»s«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»c«/mi»«mi»a«/mi»«mi»l«/mi»«mi»c«/mi»«mi»u«/mi»«mi»l«/mi»«mi»e«/mi»«mi»z«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»p«/mi»«mi»a«/mi»«mi»r«/mi»«mi»t«/mi»«mi»e«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mi»r«/mi»«mi»e«/mi»«mi»a«/mi»«mi»l«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mo»§#160;«/mo»«mi»n«/mi»«mi»u«/mi»«mi»m«/mi»«mi»a«/mi»«mi»r«/mi»«mi»u«/mi»«mi»l«/mi»«mi»u«/mi»«mi»i«/mi»«mo»§#160;«/mo»«mi»c«/mi»«mi»o«/mi»«mi»m«/mi»«mi»p«/mi»«mi»l«/mi»«mi»e«/mi»«mi»x«/mi»«mo»§#160;«/mo»«mfrac»«mrow»«mo»#«/mo»«mi»a«/mi»«mo»+«/mo»«mo»#«/mo»«mi»b«/mi»«mo»§#183;«/mo»«mi»i«/mi»«/mrow»«mrow»«mo»#«/mo»«mi»c«/mi»«mo»+«/mo»«mo»#«/mo»«mi»d«/mi»«mo»§#183;«/mo»«mi»i«/mi»«mo»§#160;«/mo»«/mrow»«/mfrac»«/math»</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p>Re(a+bi) = a</p>
<p>Im(a+bi) = b</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>#s</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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&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;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&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;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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&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;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd/&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd/&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;≠&lt;/mo&gt;&lt;mi&gt;absolute&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/apply&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;=&lt;/mo&gt;&lt;mi&gt;real_part&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mo&gt;)&lt;/mo&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;mi&gt;s&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mfrac&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mn&gt;13&lt;/mn&gt;&lt;/mfrac&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 type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&gt;#S&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" 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^(-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="casSession"/&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3965-3559 -->
 <question type="shortanswerwiris">
    <name>
      <text>Numere complexe - sume</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»P«/mi»«mi»e«/mi»«mi»n«/mi»«mi»t«/mi»«mi»r«/mi»«mi»u«/mi»«mo»§#160;«/mo»«mi»n«/mi»«mo»=«/mo»«mo»#«/mo»«mi»n«/mi»«mo»,«/mo»«mo»§#160;«/mo»«mi»s«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mi»s«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»c«/mi»«mi»a«/mi»«mi»l«/mi»«mi»c«/mi»«mi»u«/mi»«mi»l«/mi»«mi»e«/mi»«mi»z«/mi»«mi»e«/mi»«mo»§#160;«/mo»«munderover»«mo»§#8721;«/mo»«mrow»«mi»k«/mi»«mo»=«/mo»«mn»1«/mn»«/mrow»«mi»n«/mi»«/munderover»«mo»(«/mo»«mfrac»«mrow»«mn»1«/mn»«mo»+«/mo»«mi»i«/mi»«/mrow»«mrow»«mn»1«/mn»«mo»-«/mo»«mi»i«/mi»«/mrow»«/mfrac»«msup»«mo»)«/mo»«mi»k«/mi»«/msup»«/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>#s</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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;13&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;800&lt;/mn&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;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/munderover&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;msup&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;/msup&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;mi&gt;n&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;250&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&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;imaginaryi/&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;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;#s&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3966-3560 -->
 <question type="shortanswerwiris">
    <name>
      <text>Numere complexe - sume -  2</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»P«/mi»«mi»e«/mi»«mi»n«/mi»«mi»t«/mi»«mi»r«/mi»«mi»u«/mi»«mo»§#160;«/mo»«mi»n«/mi»«mo»=«/mo»«mo»#«/mo»«mi»n«/mi»«mo»,«/mo»«mo»§#160;«/mo»«mi»s«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mi»s«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»c«/mi»«mi»a«/mi»«mi»l«/mi»«mi»c«/mi»«mi»u«/mi»«mi»l«/mi»«mi»e«/mi»«mi»z«/mi»«mi»e«/mi»«mo»§#160;«/mo»«munderover»«mo»§#8721;«/mo»«mrow»«mi»k«/mi»«mo»=«/mo»«mn»1«/mn»«/mrow»«mi»n«/mi»«/munderover»«mo»(«/mo»«mfrac»«mrow»«mn»1«/mn»«mo»-«/mo»«mi»i«/mi»«/mrow»«mrow»«mn»1«/mn»«mo»+«/mo»«mi»i«/mi»«/mrow»«/mfrac»«msup»«mo»)«/mo»«mi»k«/mi»«/msup»«/math»</p>
<p>(paranteza din "suma" este la puterea k )</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>#s</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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;13&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;800&lt;/mn&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;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/munderover&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;msup&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;/msup&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;mi&gt;n&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;485&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;imaginaryi/&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;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;#s&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3967-3561 -->
 <question type="shortanswerwiris">
    <name>
      <text>Numere complexe 2</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Daca n = #n, calculati argumentul redus al numarului  «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»z«/mi»«mo»§#160;«/mo»«mo»=«/mo»«munderover»«mo»§#8721;«/mo»«mrow»«mi»k«/mi»«mo»=«/mo»«mn»3«/mn»«/mrow»«mi»n«/mi»«/munderover»«msup»«mi»i«/mi»«mi»k«/mi»«/msup»«/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>#s</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;mi&gt;random&lt;/mi&gt;&lt;mo&gt;{&lt;/mo&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;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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;100&lt;/mn&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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;a&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;=&lt;/mo&gt;&lt;mi&gt;argument&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/munderover&gt;&lt;msup&gt;&lt;imaginaryi/&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;/msup&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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;pi/&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&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;mi&gt;n&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;23&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;pi/&gt;&lt;/mrow&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&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 type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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="casSession"/&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3968-3562 -->
 <question type="truefalsewiris">
    <name>
      <text>Numere complexe-  5</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»P«/mi»«mi»e«/mi»«mi»n«/mi»«mi»t«/mi»«mi»r«/mi»«mi»u«/mi»«mo»§#160;«/mo»«mi»n«/mi»«mo»=«/mo»«mo»#«/mo»«mi»n«/mi»«mo»,«/mo»«mo»§#160;«/mo»«munderover»«mo»§#8721;«/mo»«mrow»«mi»k«/mi»«mo»=«/mo»«mn»1«/mn»«/mrow»«mi»n«/mi»«/munderover»«mo»(«/mo»«mfrac»«mrow»«mn»1«/mn»«mo»+«/mo»«mi»i«/mi»«/mrow»«mrow»«mn»1«/mn»«mo»-«/mo»«mi»i«/mi»«/mrow»«/mfrac»«msup»«mo»)«/mo»«mi»k«/mi»«/msup»«mo»=«/mo»«mi»i«/mi»«/math»</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <answer fraction="0" format="moodle_auto_format">
      <text>Adevărat</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="100" format="moodle_auto_format">
      <text>Fals</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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;33&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1700&lt;/mn&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;f&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/munderover&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;msup&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mi&gt;k&lt;/mi&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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;rem&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n&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;1&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;true&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;false&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&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;mi&gt;n&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;986&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;false&lt;/mi&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;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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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;/question&gt;    </wirisquestion>
    <wirisoverrideanswer>
<![CDATA[#s]]>
    </wirisoverrideanswer>
  </question>
 
 <!-- resourceid-resourcedataid: 3969-3563 -->
 <question type="shortanswerwiris">
    <name>
      <text>Operatii cu numere complexe</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»S«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mi»s«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»c«/mi»«mi»a«/mi»«mi»l«/mi»«mi»c«/mi»«mi»u«/mi»«mi»l«/mi»«mi»e«/mi»«mi»z«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»p«/mi»«mi»a«/mi»«mi»r«/mi»«mi»t«/mi»«mi»e«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mi»r«/mi»«mi»e«/mi»«mi»a«/mi»«mi»l«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mo»§#160;«/mo»«mi»a«/mi»«mo»§#160;«/mo»«mi»n«/mi»«mi»u«/mi»«mi»m«/mi»«mi»a«/mi»«mi»r«/mi»«mi»u«/mi»«mi»l«/mi»«mi»u«/mi»«mi»i«/mi»«mo»§#160;«/mo»«mi»c«/mi»«mi»o«/mi»«mi»m«/mi»«mi»p«/mi»«mi»l«/mi»«mi»e«/mi»«mi»x«/mi»«mo»§#160;«/mo»«mfrac»«mrow»«mo»#«/mo»«mi»a«/mi»«mo»+«/mo»«mo»#«/mo»«mi»b«/mi»«mo»§#183;«/mo»«mi»i«/mi»«/mrow»«mrow»«mo»#«/mo»«mi»c«/mi»«mo»+«/mo»«mo»#«/mo»«mi»d«/mi»«mo»§#183;«/mo»«mi»i«/mi»«mo»§#160;«/mo»«/mrow»«/mfrac»«/math»*( i+1 )</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p>Re(a+bi) = a</p>
<p>Im(a+bi) = b</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>#s</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="0" format="moodle_auto_format">
      <text>#S</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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&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;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&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;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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&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;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd/&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd/&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;≠&lt;/mo&gt;&lt;mi&gt;absolute&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/apply&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;=&lt;/mo&gt;&lt;mi&gt;real_part&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&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;mi&gt;s&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;23&lt;/mn&gt;&lt;mn&gt;17&lt;/mn&gt;&lt;/mfrac&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 type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&gt;#S&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" 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^(-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="casSession"/&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3970-3564 -->
 <question type="shortanswerwiris">
    <name>
      <text>Oronata - varf parabola</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Daca f : «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»R«/mi»«mo»§#160;«/mo»«mo»§#8594;«/mo»«mo»§#160;«/mo»«mi»R«/mi»«/math»,  f(x) = #a*x<sup>2</sup> + #b*x + #c, atunci ordonata varfului parabolei ce reprezinta graficul lui f , este :</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>#s</text>
      <feedback format="html">
        <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«msub»«mi»x«/mi»«mi»V«/mi»«/msub»«mo»=«/mo»«mo»-«/mo»«mfrac»«mi»b«/mi»«mrow»«mn»2«/mn»«mi»a«/mi»«/mrow»«/mfrac»«/math»</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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&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;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&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;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&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;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;c&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;=&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfrac&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;mi&gt;s&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mfrac&gt;&lt;mn&gt;249&lt;/mn&gt;&lt;mn&gt;20&lt;/mn&gt;&lt;/mfrac&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;#s&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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: 3971-3565 -->
 <question type="shortanswerwiris">
    <name>
      <text>Parabola tangenta la Ox</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Se da functia f : R «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»§#8594;«/mo»«/math» R, f(x) = «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«msup»«mi»x«/mi»«mn»2«/mn»«/msup»«mo»§#160;«/mo»«mo»+«/mo»«mo»§#160;«/mo»«mi»m«/mi»«mi»x«/mi»«mo»§#160;«/mo»«mo»-«/mo»«mo»§#160;«/mo»«mn»2«/mn»«mi»m«/mi»«/math».</p>
<p>Valoarea nenula a lui m pentru care graficul functiei f este tangent axei Ox, este :</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>#ok</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;mi&gt;random&lt;/mi&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;mn&gt;2&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;12&lt;/mn&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;f&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;msup&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;m&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;a&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;m&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;e&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mfrac&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;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mi&gt;solve&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;m&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&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;ok&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;sol&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&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 type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;o&lt;/mi&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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: 3972-3566 -->
 <question type="truefalsewiris">
    <name>
      <text>Parte intreaga</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Partea intreaga a numarului #a este #c .</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <answer fraction="0" format="moodle_auto_format">
      <text>Adevărat</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="100" format="moodle_auto_format">
      <text>Fals</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;mi&gt;random&lt;/mi&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;mn&gt;8&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;18&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;15&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;20&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;90&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;/mrow&gt;&lt;/msqrt&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;mi&gt;round&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;a&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;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;floor&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;a&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;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&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;c&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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;true&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;false&lt;/mi&gt;&lt;/mrow&gt;&lt;/apply&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;mi&gt;a&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;msqrt&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;/msqrt&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;c&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;4&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;true&lt;/mi&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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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;/question&gt;    </wirisquestion>
    <wirisoverrideanswer>
<![CDATA[#s]]>
    </wirisoverrideanswer>
  </question>
 
 <!-- resourceid-resourcedataid: 3973-3567 -->
 <question type="shortanswerwiris">
    <name>
      <text>Partea imaginara a unui nr. complex</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»S«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mi»s«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»c«/mi»«mi»a«/mi»«mi»l«/mi»«mi»c«/mi»«mi»u«/mi»«mi»l«/mi»«mi»e«/mi»«mi»z«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»p«/mi»«mi»a«/mi»«mi»r«/mi»«mi»t«/mi»«mi»e«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mi»i«/mi»«mi»m«/mi»«mi»a«/mi»«mi»g«/mi»«mi»i«/mi»«mi»n«/mi»«mi»a«/mi»«mi»r«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mo»§#160;«/mo»«mi»n«/mi»«mi»u«/mi»«mi»m«/mi»«mi»a«/mi»«mi»r«/mi»«mi»u«/mi»«mi»l«/mi»«mi»u«/mi»«mi»i«/mi»«mo»§#160;«/mo»«mi»c«/mi»«mi»o«/mi»«mi»m«/mi»«mi»p«/mi»«mi»l«/mi»«mi»e«/mi»«mi»x«/mi»«mo»§#160;«/mo»«mfrac»«mrow»«mo»#«/mo»«mi»a«/mi»«mo»+«/mo»«mo»#«/mo»«mi»b«/mi»«mo»§#183;«/mo»«mi»i«/mi»«/mrow»«mrow»«mo»#«/mo»«mi»c«/mi»«mo»+«/mo»«mo»#«/mo»«mi»d«/mi»«mo»§#183;«/mo»«mi»i«/mi»«mo»§#160;«/mo»«/mrow»«/mfrac»«/math»</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p>Re(a+bi) = a</p>
<p>Im(a+bi) = b</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>#m</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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&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;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&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;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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&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;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd/&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd/&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;≠&lt;/mo&gt;&lt;mi&gt;absolute&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;/apply&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;imaginary_part&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;mo&gt;)&lt;/mo&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;mi&gt;s&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;25&lt;/mn&gt;&lt;mn&gt;34&lt;/mn&gt;&lt;/mfrac&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 type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="2"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_expression" correctAnswer="1"/&gt;&lt;assertion name="equivalent_symbolic" 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^(-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="casSession"/&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3974-3568 -->
 <question type="shortanswerwiris">
    <name>
      <text>Progresii</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<h1>Daca intr-o progresie aritmetica a<sub>#x</sub> = #a si a<sub>#y</sub>=#b, atunci a<sub>#z</sub>=</h1>]]></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;r&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;mn&gt;3&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;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&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;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&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;x&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;19&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;)&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;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;13&lt;/mn&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;y&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;p&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;r&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;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;25&lt;/mn&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;z&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;s&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;sol&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;s&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;a&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;y&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;20&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;17&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;z&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;32&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&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;&amp;nbsp;&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&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;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;29&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;&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^(-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="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3975-3569 -->
 <question type="shortanswerwiris">
    <name>
      <text>Progresii aritmetice</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Sa se rezolve ecuatia : #a + #b + #c +#d +  . . . + x  = #s</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>#f</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;mi&gt;random&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&gt;&lt;mo&gt;&amp;nbsp;&lt;/mo&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;r&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;r&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;c&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;r&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;d&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;r&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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;9&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;28&lt;/mn&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;f&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;r&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;=&lt;/mo&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&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;#f&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3976-3570 -->
 <question type="shortanswerwiris">
    <name>
      <text>Progresii geometrice</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Sa se calculeze «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«munderover»«mo»§#8721;«/mo»«mrow»«mi»k«/mi»«mo»=«/mo»«mn»0«/mn»«/mrow»«mrow»«mo»#«/mo»«mi»n«/mi»«/mrow»«/munderover»«/math»(#a)<sup>k</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>#s</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;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;mo&gt;(&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;30&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;29&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;mi&gt;random&lt;/mi&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;mo&gt;,&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;=&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/munderover&gt;&lt;msup&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mi&gt;k&lt;/mi&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;1073741823&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_expression"&gt;&lt;param name="functions"&gt;exp, log, ln, min, max, sign&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;inlineEditor&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3977-3571 -->
 <question type="truefalsewiris">
    <name>
      <text>Puteri in C</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Numarul ( 1 + i ) <sup>#n</sup> este real.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <answer fraction="0" format="moodle_auto_format">
      <text>Adevărat</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="100" format="moodle_auto_format">
      <text>Fals</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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;13&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;333&lt;/mn&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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;rem&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n&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;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;true&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;false&lt;/mi&gt;&lt;/mrow&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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
    <wirisoverrideanswer>
<![CDATA[#sol]]>
    </wirisoverrideanswer>
  </question>
 
 <!-- resourceid-resourcedataid: 3978-3572 -->
 <question type="truefalsewiris">
    <name>
      <text>Puteri in C -II</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Numarul ( 1 + i ) <sup>#n</sup> este pur imaginar.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <answer fraction="0" format="moodle_auto_format">
      <text>Adevărat</text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="100" format="moodle_auto_format">
      <text>Fals</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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;13&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;333&lt;/mn&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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;rem&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n&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;2&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;true&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;false&lt;/mi&gt;&lt;/mrow&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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
    <wirisoverrideanswer>
<![CDATA[#sol]]>
    </wirisoverrideanswer>
  </question>
 
 <!-- resourceid-resourcedataid: 3979-3573 -->
 <question type="multichoicewiris">
    <name>
      <text>Puterile lui i</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»S«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mi»s«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»c«/mi»«mi»a«/mi»«mi»l«/mi»«mi»c«/mi»«mi»u«/mi»«mi»l«/mi»«mi»e«/mi»«mi»z«/mi»«mi»e«/mi»«mo»§#160;«/mo»«msup»«mi»i«/mi»«mrow»«mo»#«/mo»«mi»n«/mi»«/mrow»«/msup»«mo»§#160;«/mo»«mo».«/mo»«/math»</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>abc</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>#s</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="0" format="html">
      <text><![CDATA[<p>#a</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="0" format="html">
      <text><![CDATA[<p>#b</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="0" format="html">
      <text><![CDATA[<p>#c</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="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;mo&gt;(&lt;/mo&gt;&lt;mn&gt;67&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;7777&lt;/mn&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;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msup&gt;&lt;imaginaryi/&gt;&lt;mi&gt;n&lt;/mi&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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;imaginaryi/&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;mo&gt;-&lt;/mo&gt;&lt;mi&gt;s&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;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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: 3980-3574 -->
 <question type="shortanswerwiris">
    <name>
      <text>Radacini complexe</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Daca  n=#n si  z<sub>1 , </sub>z<sub>2</sub>  sunt radacini ale ecuatiei  z<sup>2</sup> + z + 1= 0, calculati   «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mn»1«/mn»«msup»«msub»«mi»z«/mi»«mn»1«/mn»«/msub»«mi»n«/mi»«/msup»«/mfrac»«mo»§#160;«/mo»«mo»+«/mo»«mo»§#160;«/mo»«mfrac»«mn»1«/mn»«msup»«msub»«mi»z«/mi»«mn»2«/mn»«/msub»«mi»n«/mi»«/msup»«/mfrac»«mo»§#160;«/mo»«mo».«/mo»«/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>#s</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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;33&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;999&lt;/mn&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;r&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;rem&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&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;mi&gt;n&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;670&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&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;/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;#s&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
    <hint format="html">
      <text><![CDATA[<p>Observati ca daca z este radacina a ecuatiei date , atunci z<sup>3</sup> = 1 .</p>]]></text>
    </hint>
  </question>
 
 <!-- resourceid-resourcedataid: 3981-3575 -->
 <question type="shortanswerwiris">
    <name>
      <text>Radacini cubice ale unitatii</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Daca  z<sub>1 , </sub>z<sub>2</sub> radacini ale ecuatiei  z<sup>2</sup> + z + 1= 0, calculati  z<sub>1</sub><sup>#n</sup> + z<sub>2</sub><sup>#n</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>#s</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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;33&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;999&lt;/mn&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;r&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;rem&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;3&lt;/mn&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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&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;mi&gt;n&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;670&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&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;/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;#s&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
    <hint format="html">
      <text><![CDATA[<p>Observati ca daca z este radacina a ecuatiei date , atunci z<sup>3</sup> = 1 .</p>]]></text>
    </hint>
  </question>
 
 <!-- resourceid-resourcedataid: 3982-3576 -->
 <question type="truefalsewiris">
    <name>
      <text>Radacini reale</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p></p>
<p>Ecuatia «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»a«/mi»«msup»«mi»x«/mi»«mn»2«/mn»«/msup»«mo»+«/mo»«mi»b«/mi»«mi»x«/mi»«mo»+«/mo»«mi»c«/mi»«mo»=«/mo»«mn»0«/mn»«/math» nu are radacini reale.</p>
<p>a=#a ; b=#b ; c=#c</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <answer fraction="100" format="moodle_auto_format">
      <text>Adevărat</text>
      <feedback format="html">
        <text><![CDATA[<p>Raspuns corect !</p>]]></text>
      </feedback>
    </answer>
    <answer fraction="0" format="moodle_auto_format">
      <text>Fals</text>
      <feedback format="html">
        <text><![CDATA[<p>Gresit !</p>
<p>1)Pentru «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»§#916;«/mi»«/math»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»§#8805;«/mo»«mn»0«/mn»«/math», ecuatia are radacini reale.</p>
<p>2)Pentru «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»§#916;«/mi»«/math» &lt; 0, ecuatia nu are radacini reale.</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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&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;mo&gt;-&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&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;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&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;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;c&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;sol&lt;/mi&gt;&lt;mo&gt;:&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;?&lt;/mo&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;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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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;/question&gt;    </wirisquestion>
    <wirisoverrideanswer>
<![CDATA[#sol]]>
    </wirisoverrideanswer>
  </question>
 
 <!-- resourceid-resourcedataid: 3983-3577 -->
 <question type="multichoicewiris">
    <name>
      <text>Rangul unei matrice cu intrari variabile</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Se da matricea  M = #M.</p>
<p>Valorile lui x «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»§#8712;«/mo»«mo»§#160;«/mo»«mi mathvariant=¨normal¨»§#8450;«/mi»«/math», pentru care rangM este cel mult egal cu 2, sunt :</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p>Rangul unei matrice patratice de ordin 3 este cel mult 2, daca determinantul matricei este nul !</p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <single>false</single>
    <shuffleanswers>true</shuffleanswers>
    <answernumbering>abc</answernumbering>
    <correctfeedback format="html">
      <text><![CDATA[<p>Foarte bine , Felicitari !</p>]]></text>
    </correctfeedback>
    <partiallycorrectfeedback format="html">
      <text><![CDATA[<p>Raspuns corect, dar incomplet !</p>]]></text>
    </partiallycorrectfeedback>
    <incorrectfeedback format="html">
      <text></text>
    </incorrectfeedback>
    <answer fraction="50" format="html">
      <text><![CDATA[<p>#a</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="50" format="html">
      <text><![CDATA[<p>#b</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="0" format="html">
      <text><![CDATA[<p>#u</p>]]></text>
      <feedback format="html">
        <text></text>
      </feedback>
    </answer>
    <answer fraction="0" format="html">
      <text><![CDATA[<p>#v</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="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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;:&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&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;4&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced&gt;&lt;mtable&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;x&lt;/mi&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;mtd&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&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;determinant&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;M&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;solve&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;complexes/&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;mtr&gt;&lt;mtd/&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;degree&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&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;s&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;x&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msub&gt;&lt;mfenced&gt;&lt;mi&gt;x&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;u&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&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;v&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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: 3984-3578 -->
 <question type="shortanswerwiris">
    <name>
      <text>Ratie progresii aritmetice</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<h1>Daca intr-o progresie aritmetica a<sub>#x</sub> = #a si<sub> </sub> S<sub>#n</sub> = #s   atunci ratia progresiei este :</h1>]]></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;mi&gt;random&lt;/mi&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;mn&gt;3&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;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&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;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&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;x&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;19&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&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;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;a&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;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;r&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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&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;30&lt;/mn&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;an&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;sol&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;r&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;=&lt;/mo&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;sol&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;an&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mn&gt;2&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;/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;a&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;22&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;385&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&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;&amp;nbsp;&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;14&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;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;#r&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3985-3579 -->
 <question type="shortanswerwiris">
    <name>
      <text>Relatiile lui Viete I</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p></p>
<p>Sa se determine  «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»b«/mi»«mo»§#160;«/mo»«mo»§#8712;«/mo»«mo»§#160;«/mo»«mo»(«/mo»«mn»0«/mn»«mo»,«/mo»«mo»§#160;«/mo»«mo»§#8734;«/mo»«mo»)«/mo»«mo»§#160;«/mo»«/math»astfel incat suma cuburilor radacinilor ecuatiei</p>
<p>#a*x<sup>2</sup> + b*x + #c = 0 , sa fie egala cu zero .</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>E nevoie de relatiile lui F. Viete !</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;apply&gt;&lt;csymbol definitionURL="http://www.wiris.com/XML/csymbol"&gt;repeat&lt;/csymbol&gt;&lt;mtable&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;mo&gt;(&lt;/mo&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;1&lt;/mn&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;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;3&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;4&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;5&lt;/mn&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;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&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;mn&gt;5&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;&lt;mrow&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mo&gt;&amp;gt;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/mrow&gt;&lt;/apply&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;msqrt&gt;&lt;mrow&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;/mrow&gt;&lt;/msqrt&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;mi&gt;sol&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;msqrt&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/msqrt&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;c&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;1&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;&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^(-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;/localData&gt;&lt;/question&gt;    </wirisquestion>
    <hint format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»(«/mo»«mo»§#160;«/mo»«msub»«mi»x«/mi»«mn»1«/mn»«/msub»«mo»§#160;«/mo»«mo»+«/mo»«msub»«mi»x«/mi»«mrow»«mn»2«/mn»«mo»§#160;«/mo»«/mrow»«/msub»«msup»«mo»)«/mo»«mn»3«/mn»«/msup»«mo»§#160;«/mo»«mo»=«/mo»«msup»«msub»«mi»x«/mi»«mn»1«/mn»«/msub»«mn»3«/mn»«/msup»«mo»§#160;«/mo»«mo»§#160;«/mo»«mo»+«/mo»«mo»§#160;«/mo»«msup»«msub»«mi»x«/mi»«mn»2«/mn»«/msub»«mn»3«/mn»«/msup»«mo»§#160;«/mo»«mo»+«/mo»«mn»3«/mn»«msub»«mi»x«/mi»«mn»1«/mn»«/msub»«msub»«mi»x«/mi»«mn»2«/mn»«/msub»«mo»(«/mo»«msub»«mi»x«/mi»«mn»1«/mn»«/msub»«mo»§#160;«/mo»«mo»+«/mo»«mo»§#160;«/mo»«msub»«mi»x«/mi»«mn»2«/mn»«/msub»«mo»)«/mo»«/math»</p>]]></text>
    </hint>
  </question>
 
 <!-- resourceid-resourcedataid: 3986-3580 -->
 <question type="shortanswerwiris">
    <name>
      <text>Relatiile lui Viete II</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p></p>
<p>Sa se determine  c«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»§#8712;«/mo»«mi mathvariant=¨normal¨»§#8477;«/mi»«/math» , astfel incat suma cuburilor radacinilor ecuatiei</p>
<p>#a*x<sup>2</sup> + #b*x + c = 0 , sa fie egala cu zero .</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>E nevoie de relatiile lui F. Viete !</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;mtable&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;mo&gt;(&lt;/mo&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;1&lt;/mn&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;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;3&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;4&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;5&lt;/mn&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;mi&gt;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&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;mn&gt;5&lt;/mn&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;mi&gt;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;msup&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mrow&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfrac&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;mi&gt;sol&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mfrac&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;/mfrac&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&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;&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^(-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;/localData&gt;&lt;/question&gt;    </wirisquestion>
    <hint format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»(«/mo»«mo»§#160;«/mo»«msub»«mi»x«/mi»«mn»1«/mn»«/msub»«mo»§#160;«/mo»«mo»+«/mo»«msub»«mi»x«/mi»«mrow»«mn»2«/mn»«mo»§#160;«/mo»«/mrow»«/msub»«msup»«mo»)«/mo»«mn»3«/mn»«/msup»«mo»§#160;«/mo»«mo»=«/mo»«msup»«msub»«mi»x«/mi»«mn»1«/mn»«/msub»«mn»3«/mn»«/msup»«mo»§#160;«/mo»«mo»§#160;«/mo»«mo»+«/mo»«mo»§#160;«/mo»«msup»«msub»«mi»x«/mi»«mn»2«/mn»«/msub»«mn»3«/mn»«/msup»«mo»§#160;«/mo»«mo»+«/mo»«mn»3«/mn»«msub»«mi»x«/mi»«mn»1«/mn»«/msub»«msub»«mi»x«/mi»«mn»2«/mn»«/msub»«mo»(«/mo»«msub»«mi»x«/mi»«mn»1«/mn»«/msub»«mo»§#160;«/mo»«mo»+«/mo»«mo»§#160;«/mo»«msub»«mi»x«/mi»«mn»2«/mn»«/msub»«mo»)«/mo»«/math»</p>]]></text>
    </hint>
  </question>
 
 <!-- resourceid-resourcedataid: 3987-3581 -->
 <question type="shortanswerwiris">
    <name>
      <text>Relatiile lui Viete III</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p></p>
<p>Sa se determine  a«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»§#8712;«/mo»«mi mathvariant=¨normal¨»§#8477;«/mi»«/math» , astfel incat suma cuburilor radacinilor ecuatiei</p>
<p>a*x<sup>2</sup> + #b*x + #c = 0 , sa fie egala cu zero .</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>E nevoie de relatiile lui F. Viete !</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;mtable&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;mo&gt;(&lt;/mo&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;1&lt;/mn&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;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;3&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;4&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;5&lt;/mn&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;mi&gt;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&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;mn&gt;5&lt;/mn&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;mi&gt;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;msup&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mrow&gt;&lt;mn&gt;3&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfrac&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;mi&gt;sol&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mfrac&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mn&gt;9&lt;/mn&gt;&lt;/mfrac&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;2&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;&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^(-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;/localData&gt;&lt;/question&gt;    </wirisquestion>
    <hint format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»(«/mo»«mo»§#160;«/mo»«msub»«mi»x«/mi»«mn»1«/mn»«/msub»«mo»§#160;«/mo»«mo»+«/mo»«msub»«mi»x«/mi»«mrow»«mn»2«/mn»«mo»§#160;«/mo»«/mrow»«/msub»«msup»«mo»)«/mo»«mn»3«/mn»«/msup»«mo»§#160;«/mo»«mo»=«/mo»«msup»«msub»«mi»x«/mi»«mn»1«/mn»«/msub»«mn»3«/mn»«/msup»«mo»§#160;«/mo»«mo»§#160;«/mo»«mo»+«/mo»«mo»§#160;«/mo»«msup»«msub»«mi»x«/mi»«mn»2«/mn»«/msub»«mn»3«/mn»«/msup»«mo»§#160;«/mo»«mo»+«/mo»«mn»3«/mn»«msub»«mi»x«/mi»«mn»1«/mn»«/msub»«msub»«mi»x«/mi»«mn»2«/mn»«/msub»«mo»(«/mo»«msub»«mi»x«/mi»«mn»1«/mn»«/msub»«mo»§#160;«/mo»«mo»+«/mo»«mo»§#160;«/mo»«msub»«mi»x«/mi»«mn»2«/mn»«/msub»«mo»)«/mo»«/math»</p>]]></text>
    </hint>
  </question>
 
 <!-- resourceid-resourcedataid: 3988-3582 -->
 <question type="truefalsewiris">
    <name>
      <text>Semn radacini</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Daca a=#a, b=#b si c=#c, atunci ecuatia ax<sup>2</sup> + bx + c = 0 are radacinile reale si de semne contrare.</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p>Vezi si interpretarea grafica pentru raspunsul tau !  (f : R $$ \rightarrow $$ R, f(x)=ax<sup>2</sup> +bx +c  )</p>
<p>#g</p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>1.0000000</penalty>
    <hidden>0</hidden>
    <answer fraction="0" format="moodle_auto_format">
      <text>Adevărat</text>
      <feedback format="html">
        <text><![CDATA[<p>Ai raspuns corect !</p>]]></text>
      </feedback>
    </answer>
    <answer fraction="100" format="moodle_auto_format">
      <text>Fals</text>
      <feedback format="html">
        <text><![CDATA[<p>Pentru raspunsul corect conditiile sunt : 1) «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»§#916;«/mi»«/math» «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mo»§#10878;«/mo»«/math»0 si p &lt;0 !</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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;6&lt;/mn&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;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&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;1&lt;/mn&gt;&lt;mo&gt;}&lt;/mo&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&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;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;b&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;c&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;p&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mi&gt;c&lt;/mi&gt;&lt;mi&gt;a&lt;/mi&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;sol&lt;/mi&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;if&lt;/csymbol&gt;&lt;mrow&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;&amp;ges;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;&amp;and;&lt;/mo&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;&amp;lt;&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt;&lt;mi&gt;true&lt;/mi&gt;&lt;mi&gt;false&lt;/mi&gt;&lt;/apply&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;f&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;mi&gt;a&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&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;/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;g&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;plot&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&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;mi&gt;d&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;32&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;false&lt;/mi&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&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;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;mi&gt;a&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;&amp;map;&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;msup&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&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;/math&gt;&lt;/output&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;mo&gt;(&lt;/mo&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;plotter1&lt;/mi&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;g&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;plot&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;f&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;plotter1&lt;/mi&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;&lt;/correctAnswer&gt;&lt;/correctAnswers&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;/question&gt;    </wirisquestion>
    <wirisoverrideanswer>
<![CDATA[#sol]]>
    </wirisoverrideanswer>
  </question>
 
 <!-- resourceid-resourcedataid: 3989-3583 -->
 <question type="shortanswerwiris">
    <name>
      <text>Suma de numere complexe I</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»P«/mi»«mi»e«/mi»«mi»n«/mi»«mi»t«/mi»«mi»r«/mi»«mi»u«/mi»«mo»§#160;«/mo»«mi»n«/mi»«mo»=«/mo»«mo»#«/mo»«mi»n«/mi»«mo»,«/mo»«mo»§#160;«/mo»«mi»s«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mi»s«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»c«/mi»«mi»a«/mi»«mi»l«/mi»«mi»c«/mi»«mi»u«/mi»«mi»l«/mi»«mi»e«/mi»«mi»z«/mi»«mi»e«/mi»«mo»§#160;«/mo»«munderover»«mo»§#8721;«/mo»«mrow»«mi»k«/mi»«mo»=«/mo»«mn»1«/mn»«/mrow»«mi»n«/mi»«/munderover»«mo»(«/mo»«mn»1«/mn»«mo»+«/mo»«mi»i«/mi»«msup»«mo»)«/mo»«mi»k«/mi»«/msup»«/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>#s</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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&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;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/munderover&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;msup&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;/msup&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;mi&gt;n&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;2&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&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;mn&gt;3&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;imaginaryi/&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;#s&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3990-3584 -->
 <question type="shortanswerwiris">
    <name>
      <text>Sume - progresii aritmetice</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<h1>Daca intr-o progresie aritmetica a<sub>#x</sub> = #a si a<sub>#y</sub>=#b, atunci suma primilor #n termeni ai progresiei este :</h1>]]></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;r&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;mn&gt;3&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;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&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;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&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;x&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;19&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;)&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;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;13&lt;/mn&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;y&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;p&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;r&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;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;25&lt;/mn&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;z&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;s&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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&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;40&lt;/mn&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;a1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;a&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;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;r&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;an&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;a1&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;r&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;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;a1&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;an&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;mo&gt;/&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&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;mi&gt;a&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;a1&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;14&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;an&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;38&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;27&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;y&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;11&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;6&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;z&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;24&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&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;&amp;nbsp;&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;324&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;&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^(-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="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3991-3585 -->
 <question type="shortanswerwiris">
    <name>
      <text>Sume de numere complexe</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»P«/mi»«mi»e«/mi»«mi»n«/mi»«mi»t«/mi»«mi»r«/mi»«mi»u«/mi»«mo»§#160;«/mo»«mi»n«/mi»«mo»=«/mo»«mo»#«/mo»«mi»n«/mi»«mo»,«/mo»«mo»§#160;«/mo»«mi»s«/mi»«mi»a«/mi»«mo»§#160;«/mo»«mi»s«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»c«/mi»«mi»a«/mi»«mi»l«/mi»«mi»c«/mi»«mi»u«/mi»«mi»l«/mi»«mi»e«/mi»«mi»z«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mo»§#160;«/mo»«mi»s«/mi»«mi»u«/mi»«mi»m«/mi»«mi»a«/mi»«mo»§#160;«/mo»«munderover»«mrow»«mo»§#8721;«/mo»«mo»(«/mo»«/mrow»«mrow»«mi»k«/mi»«mo»=«/mo»«mn»1«/mn»«/mrow»«mi»n«/mi»«/munderover»«mn»1«/mn»«mo»-«/mo»«mi»i«/mi»«msup»«mo»)«/mo»«mi»k«/mi»«/msup»«mo»§#160;«/mo»«mo».«/mo»«/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>#s</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;n&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&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;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;munderover&gt;&lt;mo&gt;∑&lt;/mo&gt;&lt;mrow&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/munderover&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;imaginaryi/&gt;&lt;msup&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;/msup&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;mi&gt;n&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;8&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;15&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;imaginaryi/&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 type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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="casSession"/&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3992-3586 -->
 <question type="shortanswerwiris">
    <name>
      <text>Termeni progresii aritmetice</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<h1>Daca intr-o progresie aritmetica a<sub>#x</sub> = #a si a<sub>#y</sub>=#b, atunci a<sub>1</sub>=</h1>]]></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;r&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;{&lt;/mo&gt;&lt;mn&gt;3&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;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;2&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;mo&gt;,&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&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;x&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;19&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;)&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;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;13&lt;/mn&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;y&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;p&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;r&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;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;25&lt;/mn&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;z&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;s&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;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;a&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;mn&gt;1&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;r&lt;/mi&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;mi&gt;a&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;y&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;20&lt;/mn&gt;&lt;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;17&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;z&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;32&lt;/mn&gt;&lt;/math&gt;&lt;/output&gt;&lt;/command&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;&amp;nbsp;&lt;/mo&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&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;/math&gt;&lt;/output&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;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;29&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;&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^(-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="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 
 <!-- resourceid-resourcedataid: 3993-3587 -->
 <question type="shortanswerwiris">
    <name>
      <text>Varf parabola</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p>Daca f : «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»R«/mi»«mo»§#160;«/mo»«mo»§#8594;«/mo»«mo»§#160;«/mo»«mi»R«/mi»«/math»,  f(x) = #a*x<sup>2</sup> + #b*x + #c, atunci abscisa varfului parabolei ce reprezinta graficul lui f , este :</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>#s</text>
      <feedback format="html">
        <text><![CDATA[<p>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«msub»«mi»x«/mi»«mi»V«/mi»«/msub»«mo»=«/mo»«mo»-«/mo»«mfrac»«mi»b«/mi»«mrow»«mn»2«/mn»«mi»a«/mi»«/mrow»«/mfrac»«/math»</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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&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;mo&gt;*&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5&lt;/mn&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;b&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&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;c&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;random&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;10&lt;/mn&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;s&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&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;mn&gt;2&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&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;mi&gt;s&lt;/mi&gt;&lt;/math&gt;&lt;/input&gt;&lt;output&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mfrac&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mn&gt;4&lt;/mn&gt;&lt;/mfrac&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;#s&lt;/correctAnswer&gt;&lt;correctAnswer id="1"&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^(-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>
 </quiz>
