<?xml version="1.0" encoding="UTF-8"?>
<quiz>
 <!-- categoryid: 1512 -->
 <question type="category"><category><text>/</text></category></question>
 
 <!-- resourceid-resourcedataid: 17010-13972 -->
 <question type="shortanswerwiris">
    <name>
      <text>Distance formula</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p id="yui_3_17_2_1_1513259318702_1915">Find the distance between the pair of points.&nbsp; Make sure your answer is simplified!</p><p>(#w, #x)&nbsp; &nbsp;(#y, #z)</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p><br></p>]]></text>
    </generalfeedback>
    <defaultgrade>3.0000000</defaultgrade>
    <penalty>0.3333333</penalty>
    <hidden>0</hidden>
    <usecase>0</usecase>
    <answer fraction="100" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="normal">d</mi><mo>=</mo><mo>#</mo><mi>r</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><br></p>]]></text>
      </feedback>
    </answer>
    <answer fraction="50" format="moodle_auto_format">
      <text><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="normal">d</mi><mo>=</mo><mo>#</mo><mi>r</mi></math>]]></text>
      <feedback format="html">
        <text><![CDATA[<p><br></p>]]></text>
      </feedback>
    </answer>
    <wirisquestion>
&lt;question&gt;&lt;wirisCasSession&gt;&lt;![CDATA[&lt;session lang="en" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="en"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;w&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;6&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;x&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;6&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;y&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;6&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;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;6&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;r&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msqrt&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;w&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&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;z&lt;/mi&gt;&lt;msup&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&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;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/library&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"/&gt;&lt;/input&gt;&lt;/command&gt;&lt;/group&gt;&lt;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi mathvariant="normal"&gt;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;correctAnswer id="1" type="mathml"&gt;&lt;![CDATA[&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi mathvariant="normal"&gt;d&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mo&gt;#&lt;/mo&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;/math&gt;]]&gt;&lt;/correctAnswer&gt;&lt;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="check_simplified"/&gt;&lt;assertion name="check_minimal_radicands"/&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_symbolic" correctAnswer="1"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-3)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&lt;/option&gt;&lt;option name="precision"&gt;4&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;option name="answer_parameter"&gt;true&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;popupEditor&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;data name="inputCompound"&gt;true&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
    <hint format="html">
      <text><![CDATA[<p id="yui_3_17_2_1_1512513697175_2102">Distance formula:&nbsp;&nbsp;«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»d«/mi»«mo»=«/mo»«msqrt»«msup»«mfenced»«mrow»«msub»«mi»x«/mi»«mn»2«/mn»«/msub»«mo»-«/mo»«msub»«mi»x«/mi»«mn»1«/mn»«/msub»«/mrow»«/mfenced»«mn»2«/mn»«/msup»«mo»+«/mo»«msup»«mfenced»«mrow»«msub»«mi»y«/mi»«mn»2«/mn»«/msub»«mo»-«/mo»«msub»«mi»y«/mi»«mn»1«/mn»«/msub»«/mrow»«/mfenced»«mn»2«/mn»«/msup»«/msqrt»«/math»</p>]]></text>
    </hint>
    <hint format="html">
      <text><![CDATA[<p>Is your answer simplified?</p>]]></text>
    </hint>
  </question>
 </quiz>
