<?xml version="1.0" encoding="UTF-8"?>
<quiz>
 <!-- categoryid: 1899 -->
 <question type="category"><category><text>1MA 05. RECTES EN EL PLA/1MA.05.4 Angles i distàncies</text></category></question>
 
 <!-- resourceid-resourcedataid: 20963-16414 -->
 <question type="shortanswerwiris">
    <name>
      <text>1MA.05.4.61Q Distància d'un punt a una recta</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p><strong><span style="color: #003300;">Quina és la distància entre el punt «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mstyle mathsize=¨12px¨»«mrow»«mi mathvariant=¨bold¨ mathcolor=¨#003300¨»P«/mi»«mfenced mathcolor=¨#003300¨»«mrow»«mo mathvariant=¨bold¨»#«/mo»«mi mathvariant=¨bold¨»p_«/mi»«mn mathvariant=¨bold¨»1«/mn»«mo mathvariant=¨bold¨»,«/mo»«mo mathvariant=¨bold¨»#«/mo»«mi mathvariant=¨bold¨»p_«/mi»«mn mathvariant=¨bold¨»2«/mn»«/mrow»«/mfenced»«/mrow»«/mstyle»«/math» i la recta r d'equació «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mstyle mathsize=¨12px¨»«mo mathvariant=¨bold¨ mathcolor=¨#003300¨»#«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#003300¨»e_«/mi»«mn mathvariant=¨bold¨ mathcolor=¨#003300¨»1«/mn»«/mstyle»«/math»?</span></strong><br /><br /><span style="font-weight: bold; color: #ff3300;">Format de la resposta: </span>radical simplificat</p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p><span style="font-weight: bold; color: #0066ff;"> </span></p>]]></text>
    </generalfeedback>
    <defaultgrade>1.0000000</defaultgrade>
    <penalty>0.5000000</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="ca" version="2.0"&gt;&lt;library closed="false"&gt;&lt;mtext style="color:#ffc800" xml:lang="es"&gt;variables&lt;/mtext&gt;&lt;group&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;p_1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aleatori&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;9&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;9&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_2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aleatori&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;9&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;9&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;punt&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;p_1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;p_2&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;q_1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aleatori&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;9&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&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;/math&gt;&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_2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aleatori&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;9&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&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;/math&gt;&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_3&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;aleatori&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;9&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&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;/math&gt;&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_1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;q_1&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;q_2&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;q_3&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;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;distància&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;punt&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;p_1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;p_2&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;q_1&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;q_2&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;q_3&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;/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;mo&gt;(&lt;/mo&gt;&lt;mi&gt;p_1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;p_2&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;q_1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;q_2&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;q_3&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;mo&gt;-&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;8&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;mn&gt;7&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;mrow&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/mrow&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;e_1&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;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;mi&gt;y&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;7&lt;/mn&gt;&lt;mo&gt;=&lt;/mo&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;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;mrow&gt;&lt;mn&gt;103&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;msqrt&gt;&lt;mn&gt;89&lt;/mn&gt;&lt;/msqrt&gt;&lt;/mrow&gt;&lt;mn&gt;89&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;#sol&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 style="text-align: justify;"><span style="color: #000080;"><strong>La distància entre el punt «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mstyle mathsize=¨12px¨»«mrow»«mi mathvariant=¨bold¨ mathcolor=¨#000066¨»P«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#000066¨»(«/mo»«mo mathvariant=¨bold¨ mathcolor=¨#000066¨»#«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#000066¨»p_«/mi»«mn mathvariant=¨bold¨ mathcolor=¨#000066¨»1«/mn»«mo mathvariant=¨bold¨ mathcolor=¨#000066¨»,«/mo»«mo mathvariant=¨bold¨ mathcolor=¨#000066¨»#«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#000066¨»p_«/mi»«mn mathvariant=¨bold¨ mathcolor=¨#000066¨»2«/mn»«mo mathvariant=¨bold¨ mathcolor=¨#000066¨»)«/mo»«/mrow»«/mstyle»«/math», i la recta es calcula amb l'expressió:</strong></span></p>
<p style="text-align: justify;"><strong><span style="color: #0000ff;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mstyle mathsize=¨12px¨»«mrow»«mi mathvariant=¨bold¨ mathcolor=¨#000066¨»d«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#000066¨»(«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#000066¨»P«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#000066¨»,«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#000066¨»r«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#000066¨»)«/mo»«mo mathvariant=¨bold¨ mathcolor=¨#000066¨»§#160;«/mo»«mo mathvariant=¨bold¨ mathcolor=¨#000066¨»=«/mo»«mo mathvariant=¨bold¨ mathcolor=¨#000066¨»§#160;«/mo»«mfrac mathcolor=¨#000066¨»«mfenced open=¨|¨ close=¨|¨»«mrow»«mo mathvariant=¨bold¨»(«/mo»«mo mathvariant=¨bold¨»#«/mo»«mi mathvariant=¨bold¨»q_«/mi»«mn mathvariant=¨bold¨»1«/mn»«mo mathvariant=¨bold¨»)«/mo»«mo mathvariant=¨bold¨»§#183;«/mo»«mo mathvariant=¨bold¨»(«/mo»«mo mathvariant=¨bold¨»#«/mo»«mi mathvariant=¨bold¨»p_«/mi»«mn mathvariant=¨bold¨»1«/mn»«mo mathvariant=¨bold¨»)«/mo»«mo mathvariant=¨bold¨»+«/mo»«mo mathvariant=¨bold¨»(«/mo»«mo mathvariant=¨bold¨»#«/mo»«mi mathvariant=¨bold¨»q_«/mi»«mn mathvariant=¨bold¨»2«/mn»«mo mathvariant=¨bold¨»)«/mo»«mo mathvariant=¨bold¨»§#183;«/mo»«mo mathvariant=¨bold¨»(«/mo»«mo mathvariant=¨bold¨»#«/mo»«mi mathvariant=¨bold¨»p_«/mi»«mn mathvariant=¨bold¨»2«/mn»«mo mathvariant=¨bold¨»)«/mo»«mo mathvariant=¨bold¨»+«/mo»«mo mathvariant=¨bold¨»(«/mo»«mo mathvariant=¨bold¨»#«/mo»«mi mathvariant=¨bold¨»q_«/mi»«mn mathvariant=¨bold¨»3«/mn»«mo mathvariant=¨bold¨»)«/mo»«/mrow»«/mfenced»«msqrt»«mo mathvariant=¨bold¨»(«/mo»«mo mathvariant=¨bold¨»#«/mo»«mi mathvariant=¨bold¨»q_«/mi»«mn mathvariant=¨bold¨»1«/mn»«msup»«mo mathvariant=¨bold¨»)«/mo»«mn mathvariant=¨bold¨»2«/mn»«/msup»«mo mathvariant=¨bold¨»+«/mo»«msup»«mfenced»«mrow»«mo mathvariant=¨bold¨»#«/mo»«mi mathvariant=¨bold¨»q_«/mi»«mn mathvariant=¨bold¨»2«/mn»«/mrow»«/mfenced»«mn mathvariant=¨bold¨»2«/mn»«/msup»«/msqrt»«/mfrac»«/mrow»«/mstyle»«/math»</span></strong></p>
<p> </p>]]></text>
    </hint>
  </question>
 </quiz>
