ESO 3
ESO 3, Unitat 08, Activitat 078
Quines són la moda, la mediana i el rang de les dades següents:
#q1
]]>
1.0000000
0.3333333
0
0
moda=#a1mediana=#a2rang=#a3]]>
<question><wirisCasSession><![CDATA[<session lang="en" version="2.0"><library closed="false"><mtext style="color:#ffc800" xml:lang="en">variables</mtext><group><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>n</mi><mo>=</mo><mi>random</mi><mfenced><mfenced close="}" open="{"><mtable align="center"><mtr><mtd><mn>7</mn><mo>,</mo><mn>8</mn></mtd></mtr></mtable></mfenced></mfenced></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><csymbol definitionURL="http://www.wiris.com/XML/csymbol">repeat</csymbol><mtable><mtr><mtd><mi>L</mi><mo> </mo><mo>=</mo><mo> </mo><mfenced close="}" open="{"><mtable align="center"><mtr><mtd><mi>random</mi><mfenced><mrow><mn>1</mn><mo>,</mo><mn>5</mn></mrow></mfenced><mo> </mo><mi>with</mi><mo> </mo><mi>i</mi><mo> </mo><mi>in</mi><mo> </mo><mn>1</mn><mo>.</mo><mo>.</mo><mi>n</mi></mtd></mtr></mtable></mfenced></mtd></mtr><mtr><mtd><mi>a1</mi><mo>=</mo><mi>mode</mi><mfenced><mi>L</mi></mfenced></mtd></mtr></mtable><mrow><mi>a1</mi><mo>∈</mo><reals/></mrow></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"><mi>a2</mi><mo>=</mo><mi>median</mi><mfenced><mi>L</mi></mfenced></math></input></command><maction actiontype="comment"><comment><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>a3</mi><mo>=</mo><mi>range</mi><mfenced><mi>L</mi></mfenced></math></comment></maction><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>a3</mi><mo>=</mo><mi>max</mi><mfenced><mi>L</mi></mfenced><mo>-</mo><mi>min</mi><mfenced><mi>L</mi></mfenced></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"><mi>q1</mi><mo>=</mo><mi>sequence</mi><mfenced><mrow><mi>sort</mi><mfenced><mi>L</mi></mfenced></mrow></mfenced></math></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>q1</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>1</mn><mo>,</mo><mn>1</mn><mo>,</mo><mn>2</mn><mo>,</mo><mn>2</mn><mo>,</mo><mn>2</mn><mo>,</mo><mn>3</mn><mo>,</mo><mn>5</mn><mo>,</mo><mn>5</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>a1</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>2.</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>a2</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>2.</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>a3</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>4</mn></math></output></command></group><group><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"/></input></command></group></session>]]></wirisCasSession><correctAnswers><correctAnswer type="mathml"><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML"><mtext>moda</mtext><mo>=</mo><mo>#</mo><mi>a</mi><mn>1</mn><mspace linebreak="newline"/><mtext>mediana</mtext><mo>=</mo><mo>#</mo><mi>a</mi><mn>2</mn><mspace linebreak="newline"/><mtext>rang</mtext><mo>=</mo><mo>#</mo><mi>a</mi><mn>3</mn></math>]]></correctAnswer></correctAnswers><assertions><assertion name="syntax_quantity"><param name="units"><![CDATA[m, s, g, °, ', ", $, ¥, €, £, kr, Fr, ₩, ₹, руб, BTC, %, ‰, A, K, mol, cd, rad, sr, h, min, l, N, Pa, Hz, W, J, C, V, Ω, F, S, Wb, b, H, T, lx, lm, Gy, Bq, Sv, kat]]></param><param name="decimalseparators">\,</param><param name="unitprefixes">M, k, c, m</param><param name="groupoperators">(,[,{</param><param name="digitgroupseparators">.</param></assertion><assertion name="equivalent_symbolic"/></assertions><options><option name="float_format">,mr</option><option name="digit_group_separator">.</option><option name="tolerance">10^(-3)</option><option name="relative_tolerance">true</option><option name="precision">4</option><option name="decimal_separator">,</option><option name="times_operator">·</option><option name="implicit_times_operator">true</option><option name="imaginary_unit">i</option></options><localData><data name="inputField">popupEditor</data><data name="gradeCompound">distribute</data><data name="gradeCompoundDistribution">1 1 1</data><data name="casSession"/><data name="inputCompound">true</data></localData></question>