Números Decimales
Fracción a número decimal mixto y características
Escribe la fracción #p en forma decimal. Indica qué tipo es cada una y, en su caso, la parte entera, el anteperiodo y el periodo:
Forma decimal: {#1}
Parte entera: {#2}
Anteperiodo: {#3}
Periodo: {#4}
]]>
4.0000000
0.3333333
0
<question><wirisCasSession><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>precision</mi><mo>(</mo><mn>15</mn><mo>)</mo></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>d</mi><mo>=</mo><mi>aleatorio</mi><mo>{</mo><mn>90</mn><mo>,</mo><mn>990</mn><mo>,</mo><mn>900</mn><mo>}</mo></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>n</mi><mo>=</mo><mi>aleatorio</mi><mo>{</mo><mn>14</mn><mo>,</mo><mn>43</mn><mo>,</mo><mn>49</mn><mo>,</mo><mn>91</mn><mo>,</mo><mn>323</mn><mo>,</mo><mn>851</mn><mo>,</mo><mn>119</mn><mo>,</mo><mn>2021</mn><mo>,</mo><mn>2401</mn><mo>,</mo><mn>1547</mn><mo>}</mo></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>repetir</mi><mo>&nbsp;</mo><mi>p</mi><mo>=</mo><mfrac><mi>n</mi><mi>d</mi></mfrac><mo>&nbsp;</mo><mi>hasta</mi><mo>&nbsp;</mo><mi>p</mi><mo>∉</mo><integers/></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>p1</mi><mo>=</mo><mi>p</mi><mo>*</mo><mn>1</mn><mo>.</mo></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>parte_entera</mi><mo>=</mo><mi>suelo</mi><mo>(</mo><mi>p1</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>d</mi><mo>=</mo><mn>90</mn></mrow><mtable><mtr><mtd><mi>periodo</mi><mo>=</mo><mi>resto</mi><mo>(</mo><mi>suelo</mi><mo>(</mo><mi>p1</mi><mo>*</mo><mn>100</mn><mo>)</mo><mo>,</mo><mn>10</mn><mo>)</mo></mtd></mtr><mtr><mtd/></mtr></mtable><mrow><mi>d</mi><mo>=</mo><mn>990</mn></mrow><mtable><mtr><mtd><mi>periodo</mi><mo>=</mo><mi>resto</mi><mo>(</mo><mi>suelo</mi><mo>(</mo><mi>p1</mi><mo>*</mo><mn>1000</mn><mo>)</mo><mo>,</mo><mn>100</mn><mo>)</mo></mtd></mtr><mtr><mtd/></mtr></mtable><mrow><mi>d</mi><mo>=</mo><mn>900</mn></mrow><mrow><mi>periodo</mi><mo>=</mo><mi>resto</mi><mo>(</mo><mi>suelo</mi><mo>(</mo><mi>p1</mi><mo>*</mo><mn>1000</mn><mo>)</mo><mo>,</mo><mn>10</mn><mo>)</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>90</mn></mrow><mtable><mtr><mtd><mi>anteperiodo</mi><mo>=</mo><mi>resto</mi><mo>(</mo><mi>suelo</mi><mo>(</mo><mi>p1</mi><mo>*</mo><mn>10</mn><mo>)</mo><mo>,</mo><mn>10</mn><mo>)</mo></mtd></mtr><mtr><mtd/></mtr></mtable><mrow><mi>d</mi><mo>=</mo><mn>990</mn></mrow><mtable><mtr><mtd><mi>anteperiodo</mi><mo>=</mo><mi>resto</mi><mo>(</mo><mi>suelo</mi><mo>(</mo><mi>p1</mi><mo>*</mo><mn>10</mn><mo>)</mo><mo>,</mo><mn>10</mn><mo>)</mo></mtd></mtr><mtr><mtd/></mtr></mtable><mrow><mi>d</mi><mo>=</mo><mn>900</mn></mrow><mrow><mi>anteperiodo</mi><mo>=</mo><mi>resto</mi><mo>(</mo><mi>suelo</mi><mo>(</mo><mi>p1</mi><mo>*</mo><mn>100</mn><mo>)</mo><mo>,</mo><mn>100</mn><mo>)</mo></mrow></apply></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>np1</mi><mo>=</mo><mi>p1</mi><mo>/</mo><mn>2</mn></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>np2</mi><mo>=</mo><mn>3</mn><mo>*</mo><mi>p1</mi></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>np3</mi><mo>=</mo><mn>1</mn><mo>/</mo><mi>p1</mi></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>nq2</mi><mo>=</mo><mi>parte_entera</mi><mo>+</mo><mn>2</mn></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>nq3</mi><mo>=</mo><mi>parte_entera</mi><mo>+</mo><mn>1</mn></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>nq4</mi><mo>=</mo><mi>periodo</mi><mo>-</mo><mn>1</mn></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>nq5</mi><mo>=</mo><mi>periodo</mi><mo>+</mo><mn>2</mn></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>nq6</mi><mo>=</mo><mi>anteperiodo</mi><mo>+</mo><mn>1</mn></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>nq7</mi><mo>=</mo><mi>anteperiodo</mi><mo>+</mo><mn>2</mn></math></input></command></group></library><group><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>p</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mfrac><mn>7</mn><mn>450</mn></mfrac></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>p1</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>0.0155555555555556</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>parte_entera</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>0</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>periodo</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>5</mn></math></output></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>anteperiodo</mi></math></input><output><math xmlns="http://www.w3.org/1998/Math/MathML"><mn>1</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><group><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"/></input></command></group></session></wirisCasSession><correctAnswers><correctAnswer></correctAnswer></correctAnswers><options><option name="precision">9</option><option name="implicit_times_operator">false</option><option name="times_operator">·</option><option name="imaginary_unit">i</option></options><localData><data name="casSession"/></localData></question>