ESO 3
ESO 3, Unitat 03, Activitat 022
Calcula aquesta operació de polinomis:
]]>
1.0000000
0.3333333
0
0
#ans
<?xml version="1.0"?>
<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>chars</mi><mo>=</mo><mfenced close="}" open="{"><mtable align="center"><mtr><mtd><mi>a</mi><mo>,</mo><mi>b</mi><mo>,</mo><mi>c</mi><mo>,</mo><mi>k</mi><mo>,</mo><mi>r</mi><mo>,</mo><mi>s</mi><mo>,</mo><mi>t</mi><mo>,</mo><mi>x</mi><mo>,</mo><mi>y</mi><mo>,</mo><mi>z</mi></mtd></mtr></mtable></mfenced></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>V</mi><mo> </mo><mo>=</mo><mo> </mo><mi>random</mi><mfenced><mi>chars</mi></mfenced></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>P</mi><mfenced><mrow/></mfenced><mo> </mo><mo>:</mo><mo>=</mo><mo> </mo><mfenced><mrow><mi>V</mi><mo>-</mo><mi>random</mi><mfenced><mrow><mo>-</mo><mn>3</mn><mo>,</mo><mn>3</mn></mrow></mfenced></mrow></mfenced><mo>*</mo><mfenced><mrow><mi>V</mi><mo>-</mo><mi>random</mi><mfenced><mrow><mo>-</mo><mn>3</mn><mo>,</mo><mn>3</mn></mrow></mfenced></mrow></mfenced><mo>*</mo><mfenced><mrow><mi>V</mi><mo>-</mo><mi>random</mi><mfenced><mrow><mo>-</mo><mn>3</mn><mo>,</mo><mn>3</mn></mrow></mfenced></mrow></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>P</mi><mfenced><mrow/></mfenced></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>q2</mi><mo>=</mo><mi>P</mi><mfenced><mrow/></mfenced></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>random</mi><mfenced><mfenced close="}" open="{"><mtable align="center"><mtr><mtd><mi>true</mi><mo>,</mo><mi>false</mi></mtd></mtr></mtable></mfenced></mfenced></mrow><mtable><mtr><mtd><mi>q0</mi><mo>=</mo><mo>"</mo><mo>-</mo><mo>"</mo></mtd></mtr><mtr><mtd><mi>ans</mi><mo>=</mo><mi>q1</mi><mo>-</mo><mi>q2</mi></mtd></mtr></mtable><mtable><mtr><mtd><mi>q0</mi><mo>=</mo><mo>"</mo><mo>+</mo><mo>"</mo></mtd></mtr><mtr><mtd><mi>ans</mi><mo>=</mo><mi>q1</mi><mo>+</mo><mi>q2</mi></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>q1</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><msup><mi>a</mi><mn>3</mn></msup><mo>+</mo><mn>3</mn><mo>*</mo><msup><mi>a</mi><mn>2</mn></msup><mo>+</mo><mn>2</mn><mo>*</mo><mi>a</mi></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>q0</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>q2</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><msup><mi>a</mi><mn>3</mn></msup><mo>+</mo><mn>4</mn><mo>*</mo><msup><mi>a</mi><mn>2</mn></msup><mo>+</mo><mn>3</mn><mo>*</mo><mi>a</mi></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>ans</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>2</mn><mo>*</mo><msup><mi>a</mi><mn>3</mn></msup><mo>+</mo><mn>7</mn><mo>*</mo><msup><mi>a</mi><mn>2</mn></msup><mo>+</mo><mn>5</mn><mo>*</mo><mi>a</mi></math></output></command></group><group><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"/></input></command></group></session>]]></wirisCasSession><correctAnswers><correctAnswer>#ans</correctAnswer></correctAnswers><assertions><assertion name="check_simplified"/><assertion name="syntax_expression"/><assertion name="equivalent_symbolic"/></assertions><options><option name="tolerance">10^(-3)</option><option name="relative_tolerance">true</option><option name="precision">4</option><option name="times_operator">·</option><option name="implicit_times_operator">true</option><option name="imaginary_unit">i</option></options><localData><data name="inputField">inlineEditor</data><data name="casSession"/></localData></question>