<?xml version="1.0" encoding="UTF-8"?>
<quiz>
 <!-- categoryid: 548 -->
 <question type="category"><category><text>/</text></category></question>
 
 <!-- resourceid-resourcedataid: 5478-4893 -->
 <question type="shortanswerwiris">
    <name>
      <text>035 - Qual é a distância do ponto</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p style="text-align: justify;">Qual é a distância do ponto (#a, #b, #c) para a linha recta que passa pela origem e pelo ponto (#d, #e, #f)?</p>
<p style="text-align: justify;">Ao expressar o resultado use apenas duas casas decimais usando um ponto como o separador.<em><strong><br /></strong></em></p>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text><![CDATA[<p style="text-align: justify;">A distância do ponto (#a, #b, #c) para a linha reta que passa pela origem e pelo ponto (#d, #e, #f) será o módulo de um perpendicular a linha reta e que passa pelo ponto (#a, #b, #c). Esse será o vetor «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mover»«mi»c«/mi»«mo»§#8640;«/mo»«/mover»«/math»  que é dado por:</p>
<p style="text-align: justify;"> «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mover»«mi»c«/mi»«mo»§#8640;«/mo»«/mover»«mo»=«/mo»«mo»(«/mo»«mo»#«/mo»«mi»a«/mi»«mo»;«/mo»«mo»§#160;«/mo»«mo»#«/mo»«mi»b«/mi»«mo»;«/mo»«mo»§#160;«/mo»«mo»#«/mo»«mi»c«/mi»«mo»)«/mo»«mo»+«/mo»«mi»k«/mi»«mo»§#183;«/mo»«mo»(«/mo»«mo»#«/mo»«mi»d«/mi»«mo»;«/mo»«mo»§#160;«/mo»«mo»#«/mo»«mi»e«/mi»«mo»;«/mo»«mo»§#160;«/mo»«mo»#«/mo»«mi»f«/mi»«mo»)«/mo»«/math».</p>
<p style="text-align: justify;">A norma euclidiana (ou módulo) do vetor «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mover»«mi»c«/mi»«mo»§#8594;«/mo»«/mover»«/math» é dada por :</p>
<p style="text-align: center;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfenced open=¨||¨ close=¨||¨»«mover»«mi»c«/mi»«mo»§#8640;«/mo»«/mover»«/mfenced»«mo»=«/mo»«msup»«mfenced»«mrow»«munderover»«mo»§#8721;«/mo»«mrow»«mi»i«/mi»«mo»=«/mo»«mn»1«/mn»«/mrow»«mi»n«/mi»«/munderover»«msup»«mfenced open=¨|¨ close=¨|¨»«msub»«mi»c«/mi»«mi»i«/mi»«/msub»«/mfenced»«mn»2«/mn»«/msup»«/mrow»«/mfenced»«mrow»«mn»1«/mn»«mo»/«/mo»«mn»2«/mn»«/mrow»«/msup»«mo»=«/mo»«mo»#«/mo»«mi»w«/mi»«/math».</p>
<p style="text-align: justify;">Fazendo-se  «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»w«/mi»«mo»=«/mo»«munderover»«mo»§#8721;«/mo»«mrow»«mi»i«/mi»«mo»=«/mo»«mn»1«/mn»«/mrow»«mi»n«/mi»«/munderover»«msup»«mfenced open=¨|¨ close=¨|¨»«msub»«mi»c«/mi»«mi»i«/mi»«/msub»«/mfenced»«mn»2«/mn»«/msup»«/math», teremos:</p>
<p style="text-align: center;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»w«/mi»«mo»=«/mo»«msup»«mfenced open=¨||¨ close=¨||¨»«mover»«mi»c«/mi»«mo»§#8594;«/mo»«/mover»«/mfenced»«mn»2«/mn»«/msup»«mo».«/mo»«/math»</p>
<p>O vetor «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mover»«mi»c«/mi»«mo»§#8640;«/mo»«/mover»«/math» terá um módulo mínimo quando ele for perpendicular ao vetor dado (#d, #e, #f) e que passa pela origem. Assim, o vetor «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mover»«mi»c«/mi»«mo»§#8640;«/mo»«/mover»«/math» terá módulo mínimo quando (considerando-se o valor de «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»k«/mi»«/math») a derivada «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mrow»«mo»d«/mo»«mi»w«/mi»«/mrow»«mrow»«mo»d«/mo»«mi»k«/mi»«/mrow»«/mfrac»«mo»=«/mo»«mn»0«/mn»«/math», portanto:</p>
<p style="text-align: center;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfrac»«mrow»«mo»d«/mo»«mi»w«/mi»«/mrow»«mrow»«mo»d«/mo»«mi»k«/mi»«/mrow»«/mfrac»«mo»=«/mo»«mo»#«/mo»«mi»w«/mi»«mo»=«/mo»«mn»0«/mn»«mo».«/mo»«/math»</p>
<p style="text-align: justify;">Solucionando-se a equação em «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»k«/mi»«/math», nós acharemos que «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»k«/mi»«mo»=«/mo»«mo»#«/mo»«mi»y«/mi»«/math» (Obs.: consideraremos apenas a parte real da solução).</p>
<p style="text-align: justify;">Você pode chegar a essa solução usando o comando do Matlab:</p>
<p style="text-align: center;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»s«/mi»«mi»o«/mi»«mi»l«/mi»«mi»v«/mi»«mi»e«/mi»«mo»(«/mo»«mo»`«/mo»«mo»#«/mo»«mi»w«/mi»«mo»=«/mo»«mn»0«/mn»«mo»`«/mo»«mo»)«/mo»«/math»</p>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;">Dai:</p>
<p style="text-align: center;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mover»«mi»c«/mi»«mo»§#8640;«/mo»«/mover»«mo»=«/mo»«mo»(«/mo»«mo»#«/mo»«mi»a«/mi»«mo»;«/mo»«mo»§#160;«/mo»«mo»#«/mo»«mi»b«/mi»«mo»;«/mo»«mo»§#160;«/mo»«mo»#«/mo»«mi»c«/mi»«mo»)«/mo»«mo»+«/mo»«mi»k«/mi»«mo»§#183;«/mo»«mo»(«/mo»«mo»#«/mo»«mi»d«/mi»«mo»;«/mo»«mo»§#160;«/mo»«mo»#«/mo»«mi»e«/mi»«mo»;«/mo»«mo»§#160;«/mo»«mo»#«/mo»«mi»f«/mi»«mo»)«/mo»«mo»=«/mo»«mo»(«/mo»«mo»#«/mo»«mi»x«/mi»«mi»x«/mi»«mo»;«/mo»«mo»§#160;«/mo»«mo»#«/mo»«mi»y«/mi»«mi»y«/mi»«mo»;«/mo»«mo»§#160;«/mo»«mo»#«/mo»«mi»z«/mi»«mi»z«/mi»«mo»)«/mo»«/math»</p>
<p style="text-align: center;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfenced open=¨||¨ close=¨||¨»«mover»«mi»c«/mi»«mo»§#8640;«/mo»«/mover»«/mfenced»«mo»=«/mo»«mo»#«/mo»«mi»m«/mi»«/math»</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="pt"&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;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;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;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;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;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;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;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;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;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;f&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;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;k&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;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;mi&gt;c&lt;/mi&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;mo&gt;[&lt;/mo&gt;&lt;mi&gt;d&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;e&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;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;msup&gt;&lt;mfenced close="‖" open="‖"&gt;&lt;mi&gt;v&lt;/mi&gt;&lt;/mfenced&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/msup&gt;&lt;/math&gt;&lt;/input&gt;&lt;/command&gt;&lt;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;apply&gt;&lt;diff/&gt;&lt;bvar&gt;&lt;mi&gt;k&lt;/mi&gt;&lt;/bvar&gt;&lt;mi&gt;w&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;R&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;x&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;k&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;y&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;R&lt;/mi&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/msub&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mi&gt;k&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;xx&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;y&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;command&gt;&lt;input&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;mi&gt;yy&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;y&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;e&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;zz&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;y&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;f&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;mo&gt;[&lt;/mo&gt;&lt;mi&gt;xx&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;yy&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;zz&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;m&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfenced close="‖" open="‖"&gt;&lt;mi&gt;n&lt;/mi&gt;&lt;/mfenced&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;0&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;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;mn&gt;9.3607&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;#m&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"/&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="precision"&gt;2&lt;/option&gt;&lt;option name="tolerance"&gt;10^(-4)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;false&lt;/option&gt;&lt;option name="implicit_times_operator"&gt;false&lt;/option&gt;&lt;option name="times_operator"&gt;·&lt;/option&gt;&lt;option name="imaginary_unit"&gt;i&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;textField&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"&gt;&lt;/data&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
  </question>
 </quiz>
