<?xml version="1.0" encoding="UTF-8"?>
<quiz>
 <!-- categoryid: 224 -->
 <question type="category"><category><text>Algebra/Matrius</text></category></question>
 
 <!-- resourceid-resourcedataid: 2421-230 -->
 <question type="shortanswerwiris">
    <name><text>ALG MAT producte no quad · no quad</text>
</name>
    <questiontext format="html">
<text>Considerem les matrius A= #A i B= #B. Calcula A · B.</text>
    </questiontext>
    <image></image>
    <generalfeedback>
<text><![CDATA[Revisa el procediment per a multiplicar matrius. <br />]]></text>
    </generalfeedback>
    <defaultgrade>1</defaultgrade>
    <penalty>0.1</penalty>
    <hidden>0</hidden>
    <shuffleanswers>0</shuffleanswers>
<usecase>0</usecase><answer fraction="100">      <text>
#C
      </text>
<feedback>        <text>
Molt bé.
        </text>
</feedback></answer><answer fraction="50">      <text>
#C
      </text>
<feedback>        <text>
Atenció, revisa els càlculs perquè tens alguns elements incorrectes.
        </text>
</feedback></answer><answer fraction="10">      <text>
#C
      </text>
<feedback>        <text>
Atenció, la matriu resultant ha de tenir tantes files com la matriu A, i tantes columnes com la matriu B.
        </text>
</feedback></answer><wirisquestion>«session lang=¨en¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»a«/mi»«mo»=«/mo»«mi»random«/mi»«mo»(«/mo»«mn»2«/mn»«mo»,«/mo»«mn»4«/mn»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»b«/mi»«mo»=«/mo»«mi»random«/mi»«mo»(«/mo»«mn»1«/mn»«mo»,«/mo»«mn»4«/mn»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»d«/mi»«mo»=«/mo»«mi»random«/mi»«mo»(«/mo»«mn»1«/mn»«mo»,«/mo»«mn»4«/mn»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»while«/csymbol»«mrow»«mi»a«/mi»«mo»==«/mo»«mi»b«/mi»«/mrow»«mrow»«mi»a«/mi»«mo»=«/mo»«mi»random«/mi»«mo»(«/mo»«mn»2«/mn»«mo»,«/mo»«mn»4«/mn»«mo»)«/mo»«/mrow»«/apply»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»while«/csymbol»«mrow»«mi»b«/mi»«mo»==«/mo»«mi»d«/mi»«/mrow»«mrow»«mi»d«/mi»«mo»=«/mo»«mi»random«/mi»«mo»(«/mo»«mn»2«/mn»«mo»,«/mo»«mn»4«/mn»«mo»)«/mo»«/mrow»«/apply»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»A«/mi»«mo»=«/mo»«mfenced close=¨]¨ open=¨[¨»«mrow»«mfenced close=¨]¨ open=¨[¨»«mrow»«mi»random«/mi»«mfenced»«mrow»«mi»list«/mi»«mfenced»«mrow»«mo»-«/mo»«mn»5«/mn»«mo».«/mo»«mo».«/mo»«mn»5«/mn»«/mrow»«/mfenced»«mo»/«/mo»«mo»{«/mo»«mn»0«/mn»«mo»}«/mo»«/mrow»«/mfenced»«mo»§nbsp;«/mo»«mi»with«/mi»«mo»§nbsp;«/mo»«mi»j«/mi»«mo»§nbsp;«/mo»«mi»in«/mi»«mo»§nbsp;«/mo»«mn»1«/mn»«mo».«/mo»«mo».«/mo»«mi»b«/mi»«/mrow»«/mfenced»«mo»§nbsp;«/mo»«mi»with«/mi»«mo»§nbsp;«/mo»«mi»i«/mi»«mo»§nbsp;«/mo»«mi»in«/mi»«mo»§nbsp;«/mo»«mn»1«/mn»«mo».«/mo»«mo».«/mo»«mi»a«/mi»«/mrow»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»B«/mi»«mo»=«/mo»«mfenced close=¨]¨ open=¨[¨»«mrow»«mfenced close=¨]¨ open=¨[¨»«mrow»«mi»random«/mi»«mfenced»«mrow»«mi»list«/mi»«mfenced»«mrow»«mo»-«/mo»«mn»5«/mn»«mo».«/mo»«mo».«/mo»«mn»5«/mn»«/mrow»«/mfenced»«mo»/«/mo»«mo»{«/mo»«mn»0«/mn»«mo»}«/mo»«/mrow»«/mfenced»«mo»§nbsp;«/mo»«mi»with«/mi»«mo»§nbsp;«/mo»«mi»j«/mi»«mo»§nbsp;«/mo»«mi»in«/mi»«mo»§nbsp;«/mo»«mn»1«/mn»«mo».«/mo»«mo».«/mo»«mi»d«/mi»«/mrow»«/mfenced»«mo»§nbsp;«/mo»«mi»with«/mi»«mo»§nbsp;«/mo»«mi»i«/mi»«mo»§nbsp;«/mo»«mi»in«/mi»«mo»§nbsp;«/mo»«mn»1«/mn»«mo».«/mo»«mo».«/mo»«mi»b«/mi»«/mrow»«/mfenced»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»C«/mi»«mo»=«/mo»«mi»A«/mi»«mo»·«/mo»«mi»B«/mi»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»i«/mi»«mo»=«/mo»«mn»1«/mn»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»j«/mi»«mo»=«/mo»«mn»1«/mn»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»c«/mi»«mo»=«/mo»«mn»0«/mn»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»test3«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«mo»:«/mo»«mo»=«/mo»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»begin«/csymbol»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»if«/csymbol»«mrow»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mi»dimensions«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«/mtd»«/mtr»«/mtable»«/mfenced»«mo»§ne;«/mo»«mfenced close=¨}¨ open=¨{¨»«mtable align=¨center¨»«mtr»«mtd»«mi»dimensions«/mi»«mo»(«/mo»«mi»C«/mi»«mo»)«/mo»«/mtd»«/mtr»«/mtable»«/mfenced»«/mrow»«mrow»«mi»return«/mi»«mo»§nbsp;«/mo»«mn»1«/mn»«/mrow»«mrow»«mi»return«/mi»«mo»§nbsp;«/mo»«mn»0«/mn»«/mrow»«/apply»«/apply»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»test1«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«mo»:«/mo»«mo»=«/mo»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»begin«/csymbol»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»if«/csymbol»«mrow»«mi»x«/mi»«mo»==«/mo»«mi»C«/mi»«/mrow»«mrow»«mi»return«/mi»«mo»§nbsp;«/mo»«mn»1«/mn»«/mrow»«mrow»«mi»return«/mi»«mo»§nbsp;«/mo»«mn»0«/mn»«/mrow»«/apply»«/apply»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»test2«/mi»«mo»(«/mo»«mi»x«/mi»«mo»)«/mo»«mo»:«/mo»«mo»=«/mo»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»begin«/csymbol»«mtable»«mtr»«mtd»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»while«/csymbol»«mrow»«mi»i«/mi»«mo»§les;«/mo»«mi»a«/mi»«/mrow»«mtable»«mtr»«mtd»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»while«/csymbol»«mrow»«mi»j«/mi»«mo»§les;«/mo»«mi»d«/mi»«/mrow»«mtable»«mtr»«mtd»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»if«/csymbol»«mrow»«msub»«mi»x«/mi»«mrow»«mi»i«/mi»«mo»,«/mo»«mi»j«/mi»«/mrow»«/msub»«mo»§ne;«/mo»«msub»«mi»C«/mi»«mrow»«mi»i«/mi»«mo»,«/mo»«mi»j«/mi»«/mrow»«/msub»«/mrow»«mrow»«mi»c«/mi»«mo»=«/mo»«mi»c«/mi»«mo»+«/mo»«mn»1«/mn»«/mrow»«/apply»«/mtd»«/mtr»«mtr»«mtd»«mi»j«/mi»«mo»=«/mo»«mi»j«/mi»«mo»+«/mo»«mn»1«/mn»«/mtd»«/mtr»«/mtable»«/apply»«/mtd»«/mtr»«mtr»«mtd»«mi»i«/mi»«mo»=«/mo»«mi»i«/mi»«mo»+«/mo»«mn»1«/mn»«/mtd»«/mtr»«mtr»«mtd»«mi»j«/mi»«mo»=«/mo»«mn»1«/mn»«/mtd»«/mtr»«/mtable»«/apply»«/mtd»«/mtr»«mtr»«mtd»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»if«/csymbol»«mrow»«mi»c«/mi»«mo»§gt;«/mo»«mn»0«/mn»«mo»§and;«/mo»«mi»c«/mi»«mo»§les;«/mo»«mfenced close=¨§rfloor;¨ open=¨§lfloor;¨»«mrow»«mi»a«/mi»«mo»·«/mo»«mi»b«/mi»«mo»/«/mo»«mn»2«/mn»«/mrow»«/mfenced»«/mrow»«mrow»«mi»return«/mi»«mo»§nbsp;«/mo»«mn»1«/mn»«/mrow»«mrow»«mi»return«/mi»«mo»§nbsp;«/mo»«mn»0«/mn»«/mrow»«/apply»«/mtd»«/mtr»«/mtable»«/apply»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«/library»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»A«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfenced»«mtable»«mtr»«mtd»«mo»-«/mo»«mn»3«/mn»«/mtd»«mtd»«mo»-«/mo»«mn»1«/mn»«/mtd»«mtd»«mo»-«/mo»«mn»1«/mn»«/mtd»«/mtr»«mtr»«mtd»«mo»-«/mo»«mn»4«/mn»«/mtd»«mtd»«mn»2«/mn»«/mtd»«mtd»«mn»5«/mn»«/mtd»«/mtr»«mtr»«mtd»«mo»-«/mo»«mn»2«/mn»«/mtd»«mtd»«mo»-«/mo»«mn»2«/mn»«/mtd»«mtd»«mn»1«/mn»«/mtd»«/mtr»«mtr»«mtd»«mo»-«/mo»«mn»2«/mn»«/mtd»«mtd»«mn»1«/mn»«/mtd»«mtd»«mn»4«/mn»«/mtd»«/mtr»«/mtable»«/mfenced»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»B«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfenced»«mtable»«mtr»«mtd»«mn»5«/mn»«/mtd»«/mtr»«mtr»«mtd»«mn»2«/mn»«/mtd»«/mtr»«mtr»«mtd»«mo»-«/mo»«mn»2«/mn»«/mtd»«/mtr»«/mtable»«/mfenced»«/math»«/output»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»C«/mi»«/math»«/input»«output»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mfenced»«mtable»«mtr»«mtd»«mo»-«/mo»«mn»15«/mn»«/mtd»«/mtr»«mtr»«mtd»«mo»-«/mo»«mn»26«/mn»«/mtd»«/mtr»«mtr»«mtd»«mo»-«/mo»«mn»16«/mn»«/mtd»«/mtr»«mtr»«mtd»«mo»-«/mo»«mn»16«/mn»«/mtd»«/mtr»«/mtable»«/mfenced»«/math»«/output»«/command»«/group»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«/session»</wirisquestion><wiriseditor>editor=true&amp;testFunctionName%5B0%5D=test1&amp;testFunctionName%5B1%5D=test2&amp;testFunctionName%5B2%5D=test3&amp;testFunction%5B12214%5D=0&amp;testFunction%5B12215%5D=1&amp;testFunction%5B12216%5D=2</wiriseditor><wirisoptions></wirisoptions></question>
 </quiz>
