1rBTX 06. ESTADÍSTICA/1.6.2 Unidimensional1.6.2.16Q MitjanaPonderadaClasseSi en una classe hi ha #f noies que han tret un #n1 i #m noies que han tret un #n2,
quina és la mitjana de la classe?
Resposta arrodonida als dècims.
]]>1.00000000.500000000#sol
<question><wirisCasSession><![CDATA[<session lang="ca" version="2.0"><library closed="false"><mtext style="color:#ffc800" xml:lang="ca">variables</mtext><group><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>n1</mi><mo>=</mo><mi>aleatori</mi><mo>(</mo><mn>1</mn><mo>,</mo><mn>10</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>n2</mi><mo>=</mo><mi>aleatori</mi><mo>(</mo><mn>1</mn><mo>,</mo><mn>10</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>f</mi><mo>=</mo><mi>aleatori</mi><mo>(</mo><mn>10</mn><mo>,</mo><mn>20</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>m</mi><mo>=</mo><mi>aleatori</mi><mo>(</mo><mn>10</mn><mo>,</mo><mn>20</mn><mo>)</mo></mtd></mtr><mtr><mtd/></mtr></mtable><mrow><mfenced><mrow><mfenced close="|" open="|"><mrow><mi>n1</mi><mo>-</mo><mi>n2</mi></mrow></mfenced><mo>⩾</mo><mn>2</mn></mrow></mfenced><mo>∧</mo><mfenced><mrow><mi>f</mi><mo>+</mo><mi>m</mi><mo>=</mo><mn>30</mn></mrow></mfenced><mo>∧</mo><mfenced><mrow><mi>f</mi><mo>≠</mo><mi>m</mi></mrow></mfenced></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>r_1</mi><mo>=</mo><mfrac><mrow><mi>f</mi><mo>*</mo><mi>n1</mi><mo>+</mo><mi>m</mi><mo>*</mo><mi>n2</mi></mrow><mn>30</mn></mfrac><mo>*</mo><mn>1</mn><mo>.</mo><mn>0</mn></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>sol</mi><mo>=</mo><mfrac><mrow><mi>arrodoneix</mi><mo>(</mo><mn>10</mn><mo>*</mo><mi>r_1</mi><mo>)</mo></mrow><mn>10</mn></mfrac><mo>*</mo><mn>1</mn><mo>.</mo><mn>0</mn></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>tolerància</mi><mo>(</mo><mn>0</mn><mo>.</mo><mn>1</mn><mo>)</mo></math></input></command></group></library><group><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>f</mi><mo>,</mo><mi>n1</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>16</mn><mo>,</mo><mn>4</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>m</mi><mo>,</mo><mi>n2</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>14</mn><mo>,</mo><mn>6</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>sol</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>4.9</mn></math></output></command></group><group><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"/></input></command></group></session>]]></wirisCasSession><correctAnswers><correctAnswer>#sol</correctAnswer></correctAnswers><assertions><assertion name="syntax_expression"/><assertion name="equivalent_symbolic"/></assertions><options><option name="precision">8</option><option name="tolerance">10^(-3)</option><option name="relative_tolerance">true</option><option name="times_operator">·</option><option name="implicit_times_operator">false</option><option name="imaginary_unit">i</option></options><localData><data name="inputField">textField</data><data name="gradeCompound">and</data><data name="gradeCompoundDistribution"></data><data name="casSession"/></localData></question> Pondera la mitjana amb el nombre de nois i de noies ]]>