1rBTX 03. EQUACIONS I INEQUACIONS/1.3.2 Equacions de 2n grau
1.3.2.41Q E2G3 Nombre d solucions
Determina, calculant el discriminant, quantes solucions té l'equació:
#eq_02
Format de la resposta:
0 si no té solució
1 si té solució doble
2 si té dues solucions]]>
1.0000000
0.5000000
0
0
#s_01
<question><wirisCasSession><session lang="ca" 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>aleatori</mi><mo>(</mo><mn>1</mn><mo>,</mo><mn>5</mn><mo>)</mo><mo>*</mo><mi>aleatori</mi><mo>(</mo><mo>{</mo><mo>-</mo><mn>1</mn><mo>,</mo><mn>1</mn><mo>}</mo><mo>)</mo></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>b</mi><mo>=</mo><mi>aleatori</mi><mo>(</mo><mn>1</mn><mo>,</mo><mn>9</mn><mo>)</mo><mo>*</mo><mi>aleatori</mi><mo>(</mo><mo>{</mo><mo>-</mo><mn>1</mn><mo>,</mo><mn>1</mn><mo>}</mo><mo>)</mo></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>c</mi><mo>=</mo><mi>aleatori</mi><mo>(</mo><mn>1</mn><mo>,</mo><mn>19</mn><mo>)</mo><mo>*</mo><mi>aleatori</mi><mo>(</mo><mo>{</mo><mo>-</mo><mn>1</mn><mo>,</mo><mn>1</mn><mo>}</mo><mo>)</mo></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>eq_02</mi><mo>=</mo><mi>a</mi><mo>*</mo><msup><mi>x</mi><mn>2</mn></msup><mo>+</mo><mi>b</mi><mo>*</mo><mi>x</mi><mo>+</mo><mi>c</mi></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>d</mi><mo>=</mo><msup><mi>b</mi><mn>2</mn></msup><mo>-</mo><mn>4</mn><mo>*</mo><mi>a</mi><mo>*</mo><mi>c</mi></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>d</mi><mo>&gt;</mo><mn>0</mn></mrow><mrow><mi>k</mi><mo>=</mo><mo>&quot;</mo><mi>positiu</mi><mo>&quot;</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">if</csymbol><mrow><mi>d</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>k</mi><mo>=</mo><mo>&quot;</mo><mi>nul</mi><mo>&quot;</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">if</csymbol><mrow><mi>d</mi><mo>&lt;</mo><mn>0</mn></mrow><mrow><mi>k</mi><mo>=</mo><mo>&quot;</mo><mi>negatiu</mi><mo>&quot;</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">if</csymbol><mrow><mi>d</mi><mo>&gt;</mo><mn>0</mn></mrow><mrow><mi>s_01</mi><mo>=</mo><mn>2</mn></mrow><apply><csymbol definitionURL="http://www.wiris.com/XML/csymbol">if</csymbol><mrow><mi>d</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>s_01</mi><mo>=</mo><mn>1</mn></mrow><mrow><mi>s_01</mi><mo>=</mo><mn>0</mn></mrow></apply></apply></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"><mo>(</mo><mi>a</mi><mo>,</mo><mi>b</mi><mo>,</mo><mi>c</mi><mo>)</mo></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mo>-</mo><mn>5</mn><mo>,</mo><mo>-</mo><mn>4</mn><mo>,</mo><mn>10</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>eq_02</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mo>-</mo><mn>5</mn><mo>*</mo><msup><mi>x</mi><mn>2</mn></msup><mo>-</mo><mn>4</mn><mo>*</mo><mi>x</mi><mo>+</mo><mn>10</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>d</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>216</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>s_01</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>2</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">#s_01</correctAnswer></correctAnswers><localData><data name="inputField">textField</data></localData></question>
Com que el discriminant val #d, i és #k, la resposta és evident!]]>