<?xml version="1.0" encoding="UTF-8"?>
<quiz>
 <!-- categoryid: 1822 -->
 <question type="category"><category><text>1MS.3 MATEMÀTICA FINANCERA/1MS.3.5 Anualitat d'amortització</text></category></question>
 
 <!-- resourceid-resourcedataid: 20003-16753 -->
 <question type="description">
    <name>
      <text>1MS.3.5.10DT  AMORTITZACIÓ</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<p> </p>
<div align="center">
<table style="background-color: #ffffcc; background-image: url('http://www.insmilaifontanals.cat/none'); color: #660066; border: 4px solid #003300; float: none; text-align: left; vertical-align: top; width: 400px;" border="4" frame="void" rules="none">
<tbody>
<tr align="center">
<td style="background-color: #003300; background-image: url('http://www.insmilaifontanals.cat/none'); color: #ff9900; text-align: center; vertical-align: middle; border-style: none; width: 400px;" valign="top"><span style="font-size: large; color: #ffff99;"><span style="font-size: large;">Anualitat d'amortització</span></span></td>
</tr>
<tr>
<td valign="top" width="NaNpx">
<div align="justify"><span style="color: #003300;"><strong><span style="font-size: small;">Si tenim un deute amb una entitat financera, el podem saldar amb pagaments periòdics, com anualitats d'amortització, de manera que al final del procés la capitalització d'aquestes anualitats sigui igual a l'evolució del deute sotmès al mateix interès.</span></strong></span><br /><br /><span style="color: #003300;"><strong><span style="font-size: small;">Així doncs, la quantitat prestada, D es transforma al cap de t anys en D (1+r)<sup>t</sup> .</span></strong></span><br /><span style="color: #003300;"><strong><span style="font-size: small;">Per altra banda, les anualitats aportades es transformen en</span></strong></span></div>
<div align="center"><span style="color: #003300;"><strong><span class="nolink" style="font-size: small;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mstyle mathsize=¨12px¨»«mi mathvariant=¨bold-italic¨ mathcolor=¨#003300¨»A«/mi»«mfrac mathcolor=¨#003300¨»«mrow»«mo mathvariant=¨bold¨»(«/mo»«mn mathvariant=¨bold¨»1«/mn»«mo mathvariant=¨bold¨»+«/mo»«mi mathvariant=¨bold¨»r«/mi»«msup»«mo mathvariant=¨bold¨»)«/mo»«mi mathvariant=¨bold¨»t«/mi»«/msup»«mo mathvariant=¨bold¨»-«/mo»«mn mathvariant=¨bold¨»1«/mn»«/mrow»«mi mathvariant=¨bold¨»r«/mi»«/mfrac»«/mstyle»«/math»</span></strong></span><br />
<div align="justify"><span style="color: #003300;"><strong><span style="font-size: small;">Igualant, es pot calcular A:</span></strong></span><br /><br />
<div align="center"><span style="color: #003300;"><strong><span class="nolink" style="font-size: small;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mstyle mathsize=¨12px¨»«mi mathvariant=¨bold¨ mathcolor=¨#003300¨»A«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#003300¨»=«/mo»«mfrac mathcolor=¨#003300¨»«mrow»«mi mathvariant=¨bold¨»D«/mi»«mo mathvariant=¨bold¨»§#183;«/mo»«mi mathvariant=¨bold¨»r«/mi»«mo mathvariant=¨bold¨»§#183;«/mo»«mo mathvariant=¨bold¨»(«/mo»«mn mathvariant=¨bold¨»1«/mn»«mo mathvariant=¨bold¨»+«/mo»«mi mathvariant=¨bold¨»r«/mi»«msup»«mo mathvariant=¨bold¨»)«/mo»«mi mathvariant=¨bold¨»t«/mi»«/msup»«/mrow»«mrow»«mo mathvariant=¨bold¨»(«/mo»«mn mathvariant=¨bold¨»1«/mn»«mo mathvariant=¨bold¨»+«/mo»«mi mathvariant=¨bold¨»r«/mi»«msup»«mo mathvariant=¨bold¨»)«/mo»«mi mathvariant=¨bold¨»t«/mi»«/msup»«mo mathvariant=¨bold¨»-«/mo»«mn mathvariant=¨bold¨»1«/mn»«/mrow»«/mfrac»«/mstyle»«/math»</span></strong></span><br /><br />
<div align="justify"><span style="color: #003300;"><strong><span style="font-size: small;">En cas d'aportacions amb periodicitat inferior a l'any, aquesta expressió s'escriu:</span></strong></span><br />
<div align="center"><span style="color: #003300;"><strong><span class="nolink" style="font-size: small;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mstyle mathsize=¨12px¨»«mi mathvariant=¨bold¨ mathcolor=¨#003300¨»A«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#003300¨»=«/mo»«mfrac mathcolor=¨#003300¨»«mrow»«mi mathvariant=¨bold¨»D«/mi»«mo mathvariant=¨bold¨»§#183;«/mo»«mfrac»«mi mathvariant=¨bold¨»r«/mi»«mi mathvariant=¨bold¨»f«/mi»«/mfrac»«mo mathvariant=¨bold¨»§#183;«/mo»«msup»«mfenced»«mrow»«mn mathvariant=¨bold¨»1«/mn»«mo mathvariant=¨bold¨»+«/mo»«mfrac»«mi mathvariant=¨bold¨»r«/mi»«mi mathvariant=¨bold¨»f«/mi»«/mfrac»«/mrow»«/mfenced»«mi mathvariant=¨bold¨»ft«/mi»«/msup»«/mrow»«mrow»«msup»«mfenced»«mrow»«mn mathvariant=¨bold¨»1«/mn»«mo mathvariant=¨bold¨»+«/mo»«mfrac»«mi mathvariant=¨bold¨»r«/mi»«mi mathvariant=¨bold¨»f«/mi»«/mfrac»«/mrow»«/mfenced»«mi mathvariant=¨bold¨»ft«/mi»«/msup»«mo mathvariant=¨bold¨»-«/mo»«mn mathvariant=¨bold¨»1«/mn»«/mrow»«/mfrac»«/mstyle»«/math»</span></strong></span></div>
</div>
</div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>]]></text>
    </questiontext>
    <generalfeedback format="html">
      <text></text>
    </generalfeedback>
    <defaultgrade>0.0000000</defaultgrade>
    <penalty>0.0000000</penalty>
    <hidden>0</hidden>
  </question>
 
 <!-- resourceid-resourcedataid: 20004-16754 -->
 <question type="shortanswerwiris">
    <name>
      <text>1MS.3.5.11Q Aïlla t</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<div align="justify"><span style="color: #660066;"><strong><span style="color: #003300;">Aïlla t en l'expressió </span><br /><br /></strong><strong>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi mathvariant=¨bold¨ mathcolor=¨#003300¨ mathsize=¨12px¨»A«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#003300¨ mathsize=¨12px¨»=«/mo»«mfrac mathcolor=¨#003300¨»«mrow»«mi mathvariant=¨bold¨ mathsize=¨12px¨»D«/mi»«mo mathvariant=¨bold¨ mathsize=¨12px¨»§#183;«/mo»«mi mathvariant=¨bold¨ mathsize=¨12px¨»r«/mi»«mo mathvariant=¨bold¨ mathsize=¨12px¨»§#183;«/mo»«mo mathvariant=¨bold¨ mathsize=¨12px¨»(«/mo»«mn mathvariant=¨bold¨ mathsize=¨12px¨»1«/mn»«mo mathvariant=¨bold¨ mathsize=¨12px¨»+«/mo»«mi mathvariant=¨bold¨ mathsize=¨12px¨»r«/mi»«msup»«mo mathvariant=¨bold¨ mathsize=¨12px¨»)«/mo»«mi mathvariant=¨bold¨ mathsize=¨12px¨»t«/mi»«/msup»«/mrow»«mrow»«mo mathvariant=¨bold¨ mathsize=¨12px¨»(«/mo»«mn mathvariant=¨bold¨ mathsize=¨12px¨»1«/mn»«mo mathvariant=¨bold¨ mathsize=¨12px¨»+«/mo»«mi mathvariant=¨bold¨ mathsize=¨12px¨»r«/mi»«msup»«mo mathvariant=¨bold¨ mathsize=¨12px¨»)«/mo»«mi mathvariant=¨bold¨ mathsize=¨12px¨»t«/mi»«/msup»«mo mathvariant=¨bold¨ mathsize=¨12px¨»-«/mo»«mn mathvariant=¨bold¨ mathsize=¨12px¨»1«/mn»«/mrow»«/mfrac»«/math»<br /></strong></span></div>
<div align="justify"> </div>
<p><span style="color: #ff0000;"><strong>Resposta: </strong><span style="color: #000000;">t = log<sub>a</sub> b</span><strong> </strong></span></p>]]></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;mi&gt;i1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;11&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;49&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;mfrac&gt;&lt;mi&gt;i1&lt;/mi&gt;&lt;mn&gt;100&lt;/mn&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;D1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1000&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;80&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;250&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;t1&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;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;sol1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;D1&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;s1&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;s1&lt;/mi&gt;&lt;msup&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mi&gt;t1&lt;/mi&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;s1&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mi&gt;t1&lt;/mi&gt;&lt;/msup&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&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;A1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;arrodoneix&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;100&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;sol1&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&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;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;t&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;msub&gt;&lt;mi&gt;log&lt;/mi&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;/mrow&gt;&lt;/msub&gt;&lt;mfrac&gt;&lt;mi&gt;A&lt;/mi&gt;&lt;mrow&gt;&lt;mi&gt;A&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;D&lt;/mi&gt;&lt;mo&gt;·&lt;/mo&gt;&lt;mi&gt;r&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;mi&gt;t&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;ln&lt;/mi&gt;&lt;mfenced&gt;&lt;mfrac&gt;&lt;mi&gt;A&lt;/mi&gt;&lt;mrow&gt;&lt;mi&gt;A&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;D&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;/mfenced&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mi&gt;ln&lt;/mi&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mi&gt;r&lt;/mi&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;/mrow&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="precision"&gt;8&lt;/option&gt;&lt;option name="tolerance"&gt;10^(-3)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&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;/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: 20005-16755 -->
 <question type="shortanswerwiris">
    <name>
      <text>1MS.3.5.12Q CàlculA (anual)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<div align="justify"><span style="color: #660066;"><strong><span style="color: #003300; font-size: small;">Quant haurem de pagar <span style="text-decoration: underline;"><span style="font-size: medium;">cada any</span></span>, si hem comprat un immoble de #D €, la taxa d'interès és del #i % i el paguem durant #t anys?</span><br /><br /></strong><strong><br /></strong></span></div>
<p><span style="color: #ff0000;"><strong>Resposta arrodonida als cèntims.</strong></span></p>]]></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>#A</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;mi&gt;i&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;11&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;49&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;mfrac&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mn&gt;100&lt;/mn&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;D&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1000&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;80&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;250&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;t&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;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;a&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;D&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&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;s&lt;/mi&gt;&lt;msup&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msup&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&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;A&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;arrodoneix&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;100&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&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;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;#A&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;8&lt;/option&gt;&lt;option name="tolerance"&gt;10^(-3)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&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;/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: #0000ff;"><strong>Has d'aplicar la fórmula per calcular l'anualitat A</strong></span></p>
<p><span style="color: #0000ff;"><strong>«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨ mathsize=¨12px¨»A«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨ mathsize=¨12px¨»=«/mo»«mfrac mathcolor=¨#0000FF¨»«mrow»«mi mathvariant=¨bold¨ mathsize=¨12px¨»D«/mi»«mo mathvariant=¨bold¨ mathsize=¨12px¨»§#183;«/mo»«mi mathvariant=¨bold¨ mathsize=¨12px¨»r«/mi»«mo mathvariant=¨bold¨ mathsize=¨12px¨»§#183;«/mo»«mo mathvariant=¨bold¨ mathsize=¨12px¨»(«/mo»«mn mathvariant=¨bold¨ mathsize=¨12px¨»1«/mn»«mo mathvariant=¨bold¨ mathsize=¨12px¨»+«/mo»«mi mathvariant=¨bold¨ mathsize=¨12px¨»r«/mi»«msup»«mo mathvariant=¨bold¨ mathsize=¨12px¨»)«/mo»«mi mathvariant=¨bold¨ mathsize=¨12px¨»t«/mi»«/msup»«/mrow»«mrow»«mo mathvariant=¨bold¨ mathsize=¨12px¨»(«/mo»«mn mathvariant=¨bold¨ mathsize=¨12px¨»1«/mn»«mo mathvariant=¨bold¨ mathsize=¨12px¨»+«/mo»«mi mathvariant=¨bold¨ mathsize=¨12px¨»r«/mi»«msup»«mo mathvariant=¨bold¨ mathsize=¨12px¨»)«/mo»«mi mathvariant=¨bold¨ mathsize=¨12px¨»t«/mi»«/msup»«mo mathvariant=¨bold¨ mathsize=¨12px¨»-«/mo»«mn mathvariant=¨bold¨ mathsize=¨12px¨»1«/mn»«/mrow»«/mfrac»«/math»" src="http://www.insmilaifontanals.cat/moodle/lib/editor/tinymce/plugins/tiny_mce_wiris/tinymce/integration/showimage.php?formula=ea87400d39a2b9e30dece985154348b1&amp;cw=111&amp;ch=43&amp;cb=25" width="111" height="43" style="vertical-align: -18px;"/&gt;</strong></span></p>]]></text>
    </hint>
  </question>
 
 <!-- resourceid-resourcedataid: 20006-16756 -->
 <question type="shortanswerwiris">
    <name>
      <text>1MS.3.5.21Q CàlculA (crèdit mensual)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<div align="justify"><span style="color: #660066;"><span style="color: #003300;"><strong>Una moto val #P_1 €. Donem una entrada de #P_2 € i fem un crèdit pel que falta a tornar en #t_1 anys amb un interès de #i %. Quin és l'import de la <span style="font-size: medium;"><em><span style="text-decoration: underline;">mensualitat</span>?</em></span><br /></strong></span><strong><br /></strong></span></div>
<p><span style="color: #ff0000;"><strong>Resposta arrodonida als cèntims.</strong></span></p>]]></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>#m</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;mi&gt;i&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;39&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;82&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;mfrac&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mn&gt;1200&lt;/mn&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;P_1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1000&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&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;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;P_2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1000&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&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;D&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;/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_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;2&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;t&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;12&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;t_1&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;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;D&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&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;s&lt;/mi&gt;&lt;msup&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msup&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&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;m&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;arrodoneix&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;100&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&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;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;#m&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;8&lt;/option&gt;&lt;option name="tolerance"&gt;10^(-3)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&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;/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="background-color: #ffffff; color: #0000ff;"><strong>Primer calcula quan falta per pagar. </strong></span></p>
<p><span style="background-color: #ffffff; color: #0000ff;"><strong>Aplica la fórmula per calcular l'anualitat però com que el pagament és mensual, cal substituir r per r/12 i el temps t per 12·t.</strong></span></p>]]></text>
    </hint>
  </question>
 
 <!-- resourceid-resourcedataid: 20007-16757 -->
 <question type="shortanswerwiris">
    <name>
      <text>1MS.3.5.31Q CàlculA (hipoteca mensual)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<div align="justify"><span style="color: #660066;"><strong><span style="color: #003300;">Volem comprar un pis que val #P_1 € però només disposem de #P_2 €. Pel pagar els diners que ens falten, el banc ens concedeix un préstec hipotecari a tornar en #t_1 anys amb un interès de #i %. Quin és l'import de la mensualitat?</span><br /></strong><strong><br /></strong></span></div>
<p><span style="color: #ff0000;"><strong>Resposta arrodonida als cèntims.</strong></span></p>]]></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>#m</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;mi&gt;i&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;11&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;49&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;mfrac&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mn&gt;1200&lt;/mn&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;P_1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1000&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;80&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;250&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;mn&gt;1000&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&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;D&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;/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_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;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;t&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;12&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;t_1&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;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;D&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&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;s&lt;/mi&gt;&lt;msup&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msup&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&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;m&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;arrodoneix&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;100&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&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;/session&gt;]]&gt;&lt;/wirisCasSession&gt;&lt;correctAnswers&gt;&lt;correctAnswer&gt;#m&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;8&lt;/option&gt;&lt;option name="tolerance"&gt;10^(-3)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&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;/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="background-color: #ffffff; color: #0000ff;"><strong>Primer calcula el deute, o sigui quants diners et falten per comprar el pis.</strong></span></p>
<p><span style="background-color: #ffffff; color: #0000ff;"><strong>Aplica la fórmula per calcular l'anualitat però com que el pagament és mensual, i es vol la mensualitat cal substituir r per r/12 i el temps t per 12·t.</strong></span></p>]]></text>
    </hint>
  </question>
 
 <!-- resourceid-resourcedataid: 20008-16758 -->
 <question type="shortanswerwiris">
    <name>
      <text>1MS.3.5.41Q CàlculTemps (mensual)</text>
    </name>
    <questiontext format="html">
      <text><![CDATA[<div align="justify"><span style="color: #660066;"><strong><span style="color: #003300;">Quants mesos trigarem per a tornar un crèdit de #D € amb un interès de #i % si cada mes paguem #m €?</span><br /></strong><strong><br /></strong></span></div>
<p><span style="color: #ff0000;"><strong>Resposta arrodonida a la unitat.</strong></span></p>]]></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>#t</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;mi&gt;i&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;mo&gt;.&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;39&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;82&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;mfrac&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mn&gt;1200&lt;/mn&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;P_1&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1000&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&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;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;P_2&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;1000&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;aleatori&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;D&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;/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_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;2&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;t&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mn&gt;12&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;t_1&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;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;D&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&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;s&lt;/mi&gt;&lt;msup&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mfenced&gt;&lt;mrow&gt;&lt;mn&gt;1&lt;/mn&gt;&lt;mo&gt;+&lt;/mo&gt;&lt;mi&gt;s&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfenced&gt;&lt;mi&gt;t&lt;/mi&gt;&lt;/msup&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mn&gt;1&lt;/mn&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;m&lt;/mi&gt;&lt;mo&gt;=&lt;/mo&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mi&gt;arrodoneix&lt;/mi&gt;&lt;mo&gt;(&lt;/mo&gt;&lt;mn&gt;100&lt;/mn&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;a&lt;/mi&gt;&lt;mo&gt;)&lt;/mo&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;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;mfrac&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mrow&gt;&lt;mi&gt;m&lt;/mi&gt;&lt;mo&gt;-&lt;/mo&gt;&lt;mi&gt;D&lt;/mi&gt;&lt;mo&gt;*&lt;/mo&gt;&lt;mi&gt;s&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;m&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mi&gt;i&lt;/mi&gt;&lt;mo&gt;,&lt;/mo&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;mn&gt;304.71&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;5.9&lt;/mn&gt;&lt;mo&gt;,&lt;/mo&gt;&lt;mn&gt;48&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;13000&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;k&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.2654&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;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;mn&gt;48&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;#t&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;8&lt;/option&gt;&lt;option name="tolerance"&gt;10^(-3)&lt;/option&gt;&lt;option name="relative_tolerance"&gt;true&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;/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[<div align="justify"><span style="color: #000066;"><strong><span style="color: #0000ff;">Cal aïllar el temps a partir de la fórmula, emprant logaritmes.</span><br /><span style="color: #0000ff;">Si m és la mensualitat, r l'interès mensual i t el temps en mesos</span><br /><span class="nolink" style="color: #0000ff;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mstyle mathsize=¨12px¨»«mrow»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨»m«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»=«/mo»«mfrac mathcolor=¨#0000FF¨»«mrow»«mi mathvariant=¨bold¨»D«/mi»«mo mathvariant=¨bold¨»§#183;«/mo»«mi mathvariant=¨bold¨»r«/mi»«mo mathvariant=¨bold¨»§#183;«/mo»«mo mathvariant=¨bold¨»(«/mo»«mn mathvariant=¨bold¨»1«/mn»«mo mathvariant=¨bold¨»+«/mo»«mi mathvariant=¨bold¨»r«/mi»«msup»«mo mathvariant=¨bold¨»)«/mo»«mi mathvariant=¨bold¨»t«/mi»«/msup»«/mrow»«mrow»«mo mathvariant=¨bold¨»(«/mo»«mn mathvariant=¨bold¨»1«/mn»«mo mathvariant=¨bold¨»+«/mo»«mi mathvariant=¨bold¨»r«/mi»«msup»«mo mathvariant=¨bold¨»)«/mo»«mi mathvariant=¨bold¨»t«/mi»«/msup»«mo mathvariant=¨bold¨»-«/mo»«mn mathvariant=¨bold¨»1«/mn»«/mrow»«/mfrac»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»§#8660;«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨»m«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»(«/mo»«mn mathvariant=¨bold¨ mathcolor=¨#0000FF¨»1«/mn»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»+«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨»r«/mi»«msup mathcolor=¨#0000FF¨»«mo mathvariant=¨bold¨»)«/mo»«mi mathvariant=¨bold¨»t«/mi»«/msup»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»-«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨»m«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»=«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨»D«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»§#183;«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨»r«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»§#183;«/mo»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»(«/mo»«mn mathvariant=¨bold¨ mathcolor=¨#0000FF¨»1«/mn»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»+«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨»r«/mi»«msup mathcolor=¨#0000FF¨»«mo mathvariant=¨bold¨»)«/mo»«mi mathvariant=¨bold¨»t«/mi»«/msup»«mspace linebreak=¨newline¨/»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»§#8660;«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨»m«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»(«/mo»«mn mathvariant=¨bold¨ mathcolor=¨#0000FF¨»1«/mn»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»+«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨»r«/mi»«msup mathcolor=¨#0000FF¨»«mo mathvariant=¨bold¨»)«/mo»«mi mathvariant=¨bold¨»t«/mi»«/msup»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»-«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨»D«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»§#183;«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨»r«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»§#183;«/mo»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»(«/mo»«mn mathvariant=¨bold¨ mathcolor=¨#0000FF¨»1«/mn»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»+«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨»r«/mi»«msup mathcolor=¨#0000FF¨»«mo mathvariant=¨bold¨»)«/mo»«mi mathvariant=¨bold¨»t«/mi»«/msup»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»=«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨»m«/mi»«mspace linebreak=¨newline¨/»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»§#8660;«/mo»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»(«/mo»«mn mathvariant=¨bold¨ mathcolor=¨#0000FF¨»1«/mn»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»+«/mo»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨»r«/mi»«msup mathcolor=¨#0000FF¨»«mo mathvariant=¨bold¨»)«/mo»«mi mathvariant=¨bold¨»t«/mi»«/msup»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»=«/mo»«mfrac mathcolor=¨#0000FF¨»«mi mathvariant=¨bold¨»m«/mi»«mrow»«mi mathvariant=¨bold¨»m«/mi»«mo mathvariant=¨bold¨»-«/mo»«mi mathvariant=¨bold¨»D«/mi»«mo mathvariant=¨bold¨»§#183;«/mo»«mi mathvariant=¨bold¨»r«/mi»«/mrow»«/mfrac»«/mrow»«/mstyle»«/math»</span><br /><span style="color: #0000ff;">Un cop trobat (1+i)<sup>t</sup>= #k cal emprar logaritmes per a calcular t:</span><br /><span class="nolink" style="color: #0000ff;">«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mstyle mathsize=¨12px¨»«mrow»«mi mathvariant=¨bold¨ mathcolor=¨#0000FF¨»t«/mi»«mo mathvariant=¨bold¨ mathcolor=¨#0000FF¨»=«/mo»«mfrac mathcolor=¨#0000FF¨»«mrow»«mi mathvariant=¨bold¨»log«/mi»«mo mathvariant=¨bold¨»§#160;«/mo»«mo mathvariant=¨bold¨»#«/mo»«mi mathvariant=¨bold¨»k«/mi»«/mrow»«mrow»«mi mathvariant=¨bold¨»log«/mi»«mo mathvariant=¨bold¨»(«/mo»«mn mathvariant=¨bold¨»1«/mn»«mo mathvariant=¨bold¨»+«/mo»«mi mathvariant=¨bold¨»r«/mi»«mo mathvariant=¨bold¨»)«/mo»«/mrow»«/mfrac»«/mrow»«/mstyle»«/math»</span><br /></strong></span></div>]]></text>
    </hint>
  </question>
 </quiz>
