questions-XII-D-Edu.Moodle.GheorgheSincai.Liceu-20150405-1134
F20.ec.modul_K
«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»N«/mi»«mi»u«/mi»«mi»m«/mi»«mi»a«/mi»«mi»r«/mi»«mi»u«/mi»«mi»l«/mi»«mo»§#160;«/mo»«mi»s«/mi»«mi»o«/mi»«mi»l«/mi»«mi»u«/mi»«mi»t«/mi»«mi»i«/mi»«mi»i«/mi»«mi»l«/mi»«mi»o«/mi»«mi»r«/mi»«mo»§#160;«/mo»«mi»e«/mi»«mi»c«/mi»«mi»u«/mi»«mi»a«/mi»«mi»t«/mi»«mi»i«/mi»«mi»e«/mi»«mi»i«/mi»«mo»§#160;«/mo»«mfenced open=¨|¨ close=¨|¨»«mrow»«mo»§#160;«/mo»«mi»x«/mi»«mo»§#160;«/mo»«mo»-«/mo»«mo»§#160;«/mo»«mo»#«/mo»«mi»a«/mi»«mo»§#160;«/mo»«/mrow»«/mfenced»«mo»§#160;«/mo»«mo»#«/mo»«mi»t«/mi»«mo»§#160;«/mo»«mfenced open=¨|¨ close=¨|¨»«mrow»«mo»§#160;«/mo»«mo»#«/mo»«mi»b«/mi»«mo»§#160;«/mo»«mo»-«/mo»«mo»§#160;«/mo»«mi»x«/mi»«mo»§#160;«/mo»«/mrow»«/mfenced»«mo»§#160;«/mo»«mo»=«/mo»«mo»#«/mo»«mi»c«/mi»«mo»§#160;«/mo»«mi»e«/mi»«mi»s«/mi»«mi»t«/mi»«mi»e«/mi»«mo»§#160;«/mo»«mi»e«/mi»«mi»g«/mi»«mi»a«/mi»«mi»l«/mi»«mo»§#160;«/mo»«mi»c«/mi»«mi»u«/mi»«mo»§#160;«/mo»«mo».«/mo»«mo».«/mo»«mo».«/mo»«mo»§#160;«/mo»«mo»§#160;«/mo»«mo».«/mo»«/math»]]>
1.0000000
0.3333333
0
0
#s
<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"><apply><csymbol definitionURL="http://www.wiris.com/XML/csymbol">repeat</csymbol><mtable><mtr><mtd><mi>a</mi><mo>=</mo><mi>random</mi><mo>(</mo><mn>1</mn><mo>,</mo><mn>5</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>b</mi><mo>=</mo><mi>random</mi><mo>(</mo><mn>1</mn><mo>,</mo><mn>5</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>c</mi><mo>=</mo><mi>random</mi><mo>(</mo><mo>-</mo><mn>1</mn><mo>,</mo><mn>3</mn><mo>)</mo></mtd></mtr></mtable><mrow><mi>a</mi><mo>≠</mo><mi>b</mi></mrow></apply></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>t1</mi><mo>=</mo><mo>"</mo><mo>+</mo><mo>"</mo></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>t2</mi><mo>=</mo><mo>"</mo><mo>-</mo><mo>"</mo></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>t</mi><mo>=</mo><mi>random</mi><mo>{</mo><mi>t1</mi><mo>,</mo><mi>t2</mi><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">if</csymbol><mrow><mi>t</mi><mo>=</mo><mi>t1</mi></mrow><mrow><mi>s</mi><mo>=</mo><mi>length</mi><mo>(</mo><mi>solve</mi><mo>(</mo><mfenced close="|" open="|"><mrow><mi>x</mi><mo>-</mo><mi>a</mi></mrow></mfenced><mo>+</mo><mfenced close="|" open="|"><mrow><mi>b</mi><mo>-</mo><mi>x</mi></mrow></mfenced><mo>=</mo><mi>c</mi><mo>)</mo><mo>)</mo></mrow><mrow><mi>s</mi><mo>=</mo><mi>length</mi><mo>(</mo><mi>solve</mi><mo>(</mo><mfenced close="|" open="|"><mrow><mi>x</mi><mo>-</mo><mi>a</mi></mrow></mfenced><mo>-</mo><mfenced close="|" open="|"><mrow><mi>b</mi><mo>-</mo><mi>x</mi></mrow></mfenced><mo>=</mo><mi>c</mi><mo>)</mo><mo>)</mo></mrow></apply></math></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"><mn>2</mn></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"><mn>1</mn></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"><mo>-</mo><mn>1</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>t1</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mo>+</mo></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>s</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>0</mn></math></output></command></group><group><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"/></input></command></group><group><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"/></input></command></group></session>]]></wirisCasSession><correctAnswers><correctAnswer>#s</correctAnswer></correctAnswers><assertions><assertion name="syntax_expression"/><assertion name="equivalent_symbolic"/></assertions><options><option name="tolerance">10^(-4)</option><option name="relative_tolerance">false</option><option name="precision">4</option><option name="implicit_times_operator">false</option><option name="times_operator">·</option><option name="imaginary_unit">i</option></options><localData><data name="inputField">inlineEditor</data><data name="gradeCompound">and</data><data name="gradeCompoundDistribution"></data><data name="casSession"/></localData></question>