<?xml version="1.0" encoding="UTF-8"?>
<quiz>
 <!-- categoryid: 1815 -->
 <question type="category"><category><text>1MS.1 INTERPOLACIÓ LINEAL</text></category></question>
 
 <!-- resourceid-resourcedataid: 19948-16698 -->
 <question type="shortanswerwiris">
    <name>
      <text>1MS.1.14 FacturaGas</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<div class="page" title="Page 2">
<div class="section">
<div class="layoutArea">
<div class="column">
<div class="page" title="Page 1">
<div class="section">
<div class="layoutArea">
<div class="column">
<div class="page" title="Page 1">
<div class="section">
<div class="layoutArea">
<div class="column">
<div class="page" title="Page 1">
<div class="section">
<div class="layoutArea">
<div class="column">
<p><span style="color: #003300;"><strong>Per un consum de gas de #m1 m<sup>3</sup> s’han pagat #t1 € i per #m2 m<sup>3</sup> se n’han pagat #t2 . </strong></span></p>
<p><span style="color: #003300;"><strong>Quant caldrà pagar per #p m<sup>3</sup>? </strong></span></p>
<p><span style="color: #003300;"><strong><span style="color: #ff6600;">Escriu el resultat en euros, arrodonint als cèntims</span>: 3.45 si són 3,45 €<br /></strong></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></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="ca"&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;t1&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t;&lt;mn&gt;79&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;x1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;t2&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;m2&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;m1&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;sol&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mi&gt;t1&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;arrodoneix&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;100&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;x1&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;m1&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;mn&gt;100&lt;/mn&gt;&lt;/mfrac&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;t1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;t2&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;mo&gt;,&lt;/mo&gt;&lt;mn&gt;118&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;m1&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;m2&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;26&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;99&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;x1&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;68&lt;/mn&gt;&lt;mn&gt;73&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;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;56&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;mo&gt;-&lt;/mo&gt;&lt;mi&gt;m1&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;30&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;77.95&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;/correctAnswers&gt;&lt;assertions&gt;&lt;assertion name="syntax_expression"/&gt;&lt;assertion name="equivalent_symbolic"/&gt;&lt;/assertions&gt;&lt;options&gt;&lt;option name="tolerance"&gt;10^(-3)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&lt;/option&gt;&lt;option name="precision"&gt;10&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;&lt;/option&gt;&lt;/options&gt;&lt;localData&gt;&lt;data name="inputField"&gt;textField&lt;/data&gt;&lt;data name="gradeCompound"&gt;and&lt;/data&gt;&lt;data name="gradeCompoundDistribution"&gt;&lt;/data&gt;&lt;data name="casSession"/&gt;&lt;/localData&gt;&lt;/question&gt;    </wirisquestion>
    <hint format="html">
      <text><![CDATA[<p><span style="color: #000080;"><strong>Calcules quant costa un m<sup>3</sup> de gas entre #m1 m<sup>3</sup> i #m2 m<sup>3</sup> amb: </strong></span></p>
<p><span style="color: #000080;"><strong>p= «math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mstyle mathsize=¨12px¨»«mfrac mathcolor=¨#00007F¨»«mrow»«mo mathvariant=¨bold¨»#«/mo»«mi mathvariant=¨bold¨»t«/mi»«mn mathvariant=¨bold¨»2«/mn»«mo mathvariant=¨bold¨»-«/mo»«mo mathvariant=¨bold¨»#«/mo»«mi mathvariant=¨bold¨»t«/mi»«mn mathvariant=¨bold¨»1«/mn»«/mrow»«mrow»«mo mathvariant=¨bold¨»#«/mo»«mi mathvariant=¨bold¨»m«/mi»«mn mathvariant=¨bold¨»2«/mn»«mo mathvariant=¨bold¨»-«/mo»«mo mathvariant=¨bold¨»#«/mo»«mi mathvariant=¨bold¨»m«/mi»«mn mathvariant=¨bold¨»1«/mn»«/mrow»«/mfrac»«/mstyle»«/math»</strong></span></p>]]></text>
    </hint>
  </question>
 </quiz>
