Álgebra
992. Números Reales: encontrar un número irracional entre 2 racionales
Ingrese un número #texto1 que se encuentre entre #a1 y #a2]]>
1.0000000
0.3333333
0
0
#sol
<question><wirisCasSession><![CDATA[<session lang="es" 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>texto1</mi><mo>=</mo><mo>"</mo><mi>irracional</mi><mo>"</mo></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mtable><mtr><mtd><apply><csymbol definitionURL="http://www.wiris.com/XML/csymbol">repeat</csymbol><mtable><mtr><mtd><mi>b1</mi><mo>=</mo><mi>aleatorio</mi><mo>(</mo><mn>3</mn><mo>,</mo><mn>100</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>b2</mi><mo>=</mo><mi>aleatorio</mi><mo>(</mo><mn>2</mn><mo>,</mo><mn>5</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>a11</mi><mo>=</mo><mi>b2</mi><mo>/</mo><mi>b1</mi></mtd></mtr><mtr><mtd><mi>a22</mi><mo>=</mo><mi>b2</mi><mo>/</mo><mo>(</mo><mi>b1</mi><mo>-</mo><mn>1</mn><mo>)</mo></mtd></mtr></mtable><mrow><mi>a11</mi><mo>∉</mo><integers/><mo>∧</mo><mi>a22</mi><mo>∉</mo><integers/></mrow></apply></mtd></mtr><mtr><mtd><mi>test</mi><mo>(</mo><mi>x</mi><mo>)</mo><mo>:</mo><mo>=</mo><mo>(</mo><mi>x</mi><mo><</mo><mi>a22</mi><mo>∧</mo><mi>x</mi><mo>></mo><mi>a11</mi><mo>∧</mo><mi>x</mi><mo>∈</mo><reals/><mo>∧</mo><mi>x</mi><mo>∉</mo><rationals/><mo>)</mo><mo>?</mo></mtd></mtr><mtr><mtd><mi>sol</mi><mo>=</mo><mi>a11</mi><mo>+</mo><mfrac><mrow><mi>a22</mi><mo>-</mo><mi>a11</mi></mrow><msqrt><mn>2</mn></msqrt></mfrac></mtd></mtr><mtr><mtd><mi>a1</mi><mo>=</mo><mi>sustituir_cadena</mi><mo>(</mo><mo>"</mo><mfrac><mrow><mo>#</mo><mn>1</mn></mrow><mrow><mo>#</mo><mn>2</mn></mrow></mfrac><mo>"</mo><mo>,</mo><mi>b2</mi><mo>,</mo><mi>b1</mi><mo>)</mo></mtd></mtr><mtr><mtd><mi>a2</mi><mo>=</mo><mi>sustituir_cadena</mi><mo>(</mo><mo>"</mo><mfrac><mrow><mo>#</mo><mn>1</mn></mrow><mrow><mo>#</mo><mn>2</mn></mrow></mfrac><mo>"</mo><mo>,</mo><mi>b2</mi><mo>,</mo><mi>b1</mi><mo>-</mo><mn>1</mn><mo>)</mo></mtd></mtr></mtable></math></input></command></group></library><group><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>sol</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mfrac><mn>7</mn><mn>5</mn></mfrac></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>test</mi><mo>(</mo><mi>sol</mi><mo>)</mo></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>cierto</mi></math></output></command></group></session>]]></wirisCasSession><correctAnswers><correctAnswer>#sol</correctAnswer></correctAnswers><assertions><assertion name="syntax_expression"/><assertion name="equivalent_function"><param name="name">test</param></assertion></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>