Hola,<div><br></div><div>Como ya te ena mencionado debes poner un poco de tu parte para solucionar el problema y codificar un poco, te doy algunas pistas.</div><div><br></div><div>1.- Este problema se puede resolver con metodos estadisticos ultilizando para ello percentiles, adjunto un ejemplo:</div>
<div><br></div><div><span class="Apple-style-span" style="font-family: Verdana; font-size: 11px; letter-spacing: 1px; line-height: 23px; word-spacing: 2px; "><p class="actividades_g" style="text-indent: 2.5em; margin-top: 20px; margin-right: 20px; margin-bottom: 20px; margin-left: 20px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.75em; background-color: rgb(244, 243, 243); color: rgb(0, 0, 0); position: relative; left: 5%; width: 85%; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; ">
Los <strong>percentiles</strong> son los <strong>99 valores</strong> que <strong>dividen</strong> la serie de <strong>datos </strong>en <strong>100 partes iguales</strong>.</p><p class="actividades_r" style="text-indent: 2.5em; margin-top: 20px; margin-right: 20px; margin-bottom: 20px; margin-left: 20px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.75em; background-color: rgb(253, 247, 247); color: rgb(0, 0, 0); position: relative; left: 5%; width: 85%; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; ">
Los <strong>percentiles</strong> dan los valores correspondientes al 1%, al 2%... y al 99% de los datos.</p><p class="actividades_v" style="text-indent: 2.5em; margin-top: 20px; margin-right: 20px; margin-bottom: 20px; margin-left: 20px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.75em; position: relative; left: 5%; width: 85%; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; background-color: rgb(243, 250, 246); color: rgb(0, 0, 0); ">
<strong>P<sub>50</sub></strong> <span class="actividades_g">coincide con la <strong>mediana</strong>.</span></p><h3 class="r" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 0px; text-align: center; font-weight: bold; color: rgb(153, 0, 0); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); font-size: 1.1em; background-position: initial initial; ">
Cálculo de los percentiles</h3><p class="actividades_r" style="text-indent: 2.5em; margin-top: 20px; margin-right: 20px; margin-bottom: 20px; margin-left: 20px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.75em; background-color: rgb(253, 247, 247); color: rgb(0, 0, 0); position: relative; left: 5%; width: 85%; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; ">
En primer lugar buscamos la clase donde se encuentra <img src="http://www.vitutor.com/estadistica/descriptiva/images/54.gif" alt="Cálculo de los cuartiles" width="157" height="42" class="i" style="vertical-align: middle; ">, en la tabla de las frecuencias acumuladas.</p>
<p class="actividades_2_v_ir" style="text-indent: 2.5em; margin-top: 20px; margin-right: 20px; margin-bottom: 20px; margin-left: 20px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.75em; color: rgb(0, 0, 0); position: relative; top: 10px; left: 12.5%; width: 75%; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; background-image: url(http://www.vitutor.com/images/ul_r_5.png); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(243, 250, 246); background-position: 0% 50%; ">
<img src="http://www.vitutor.com/estadistica/descriptiva/images/51.gif" alt="fórmula de los cuartiles" width="386" height="65"></p><br><h4 class="te" style="font-size: 102.5%; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; text-indent: 7.5%; color: rgb(153, 0, 0); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); background-position: initial initial; ">
Ejercicio de percentiles</h4><p class="actividades_g" style="text-indent: 2.5em; margin-top: 20px; margin-right: 20px; margin-bottom: 20px; margin-left: 20px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.75em; background-color: rgb(244, 243, 243); color: rgb(0, 0, 0); position: relative; left: 5%; width: 85%; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; ">
<strong>Calcular el percentil 35 y 60</strong> de la distribución de la tabla:</p><table width="40%" border="1" class="t_izq" cellspacing="0" cellpadding="6" style="text-align: center; margin-left: 12.5%; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: bold; ">
<tbody><tr><td> </td><th style="font-weight: bold; color: rgb(3, 108, 55); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); background-position: initial initial; ">
f<sub>i</sub></th><th style="font-weight: bold; color: rgb(3, 108, 55); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); background-position: initial initial; ">
F<sub>i</sub></th></tr><tr><th style="font-weight: bold; color: rgb(3, 108, 55); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); background-position: initial initial; ">
[50, 60)</th><td>8</td><td>8</td></tr><tr><th style="font-weight: bold; color: rgb(3, 108, 55); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); background-position: initial initial; ">
[60, 70)</th><td>10</td><td>18</td></tr><tr><th style="font-weight: bold; color: rgb(3, 108, 55); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); background-position: initial initial; ">
[70, 80)</th><td>16</td><td>34</td></tr><tr><th style="font-weight: bold; color: rgb(3, 108, 55); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); background-position: initial initial; ">
[80, 90)</th><td>14</td><td>48</td></tr><tr><th style="font-weight: bold; color: rgb(3, 108, 55); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); background-position: initial initial; ">
[90, 100)</th><td>10</td><td>58</td></tr><tr><th style="font-weight: bold; color: rgb(3, 108, 55); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); background-position: initial initial; ">
[100, 110)</th><td>5</td><td>63</td></tr><tr><th style="font-weight: bold; color: rgb(3, 108, 55); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); background-position: initial initial; ">
[110, 120)</th><td>2</td><td>65</td></tr><tr><td> </td><td style="color: rgb(153, 0, 0); ">65</td><td> </td></tr></tbody></table><h4 class="te" style="font-size: 102.5%; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; text-indent: 7.5%; color: rgb(153, 0, 0); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); background-position: initial initial; ">
Percentil 35</h4><p class="actividades_2_r_ir" style="text-indent: 2.5em; margin-top: 20px; margin-right: 20px; margin-bottom: 20px; margin-left: 20px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.75em; background-image: url(http://www.vitutor.com/images/ul_v_5.png); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(253, 247, 247); color: rgb(0, 0, 0); position: relative; top: 10px; left: 12.5%; width: 75%; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; background-position: 0% 50%; ">
<img src="http://www.vitutor.com/estadistica/descriptiva/images/94.gif" alt="percentiles" width="122" height="42"></p><p class="actividades_2_v_ir" style="text-indent: 2.5em; margin-top: 20px; margin-right: 20px; margin-bottom: 20px; margin-left: 20px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.75em; color: rgb(0, 0, 0); position: relative; top: 10px; left: 12.5%; width: 75%; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; background-image: url(http://www.vitutor.com/images/ul_r_5.png); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(243, 250, 246); background-position: 0% 50%; ">
<img src="http://www.vitutor.com/estadistica/descriptiva/images/95.gif" alt="percentiles" width="261" height="42"></p><h4 class="te" style="font-size: 102.5%; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; text-indent: 7.5%; color: rgb(153, 0, 0); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); background-position: initial initial; ">
Percentil 60</h4><p class="actividades_2_r_ir" style="text-indent: 2.5em; margin-top: 20px; margin-right: 20px; margin-bottom: 20px; margin-left: 20px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.75em; background-image: url(http://www.vitutor.com/images/ul_v_5.png); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(253, 247, 247); color: rgb(0, 0, 0); position: relative; top: 10px; left: 12.5%; width: 75%; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; background-position: 0% 50%; ">
<img src="http://www.vitutor.com/estadistica/descriptiva/images/96.gif" alt="percentiles" width="96" height="42"></p><p class="actividades_2_v_ir" style="text-indent: 2.5em; margin-top: 20px; margin-right: 20px; margin-bottom: 20px; margin-left: 20px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.75em; color: rgb(0, 0, 0); position: relative; top: 10px; left: 12.5%; width: 75%; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; background-image: url(http://www.vitutor.com/images/ul_r_5.png); background-repeat: no-repeat; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(243, 250, 246); background-position: 0% 50%; ">
<img src="http://www.vitutor.com/estadistica/descriptiva/images/97.gif" alt="percentiles" width="237" height="42"></p></span><div class="gmail_quote"><br></div><div class="gmail_quote">2.-El diagrama de flujo puedes utilizar un lapiz y un papel.</div>
<div class="gmail_quote">3.- Seudocódigo, escribir con palabras lo que el díagrama de flujo realizar.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Espero te sirva.</div><div class="gmail_quote"><br></div>
<div class="gmail_quote"><br></div><div class="gmail_quote">2009/2/28 LEONARDO MIRANDA <span dir="ltr"><<a href="mailto:xenyc_26@hotmail.com">xenyc_26@hotmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
a. Diagramas de flujo   y   b. Seudocódigo<br>
1. Desarrollar un algoritmo que determine en un conjunto de 100 numeros naturales de tipo enteros:<br>
a. cuántos son menores de 15?<br>
b. Cuánto son mayores de 50?<br>
c. Cuántos están comprendidos entre 25 y 45?<br>
<br>
<br>
ES  QUE APENAS COMIENZO ESTO Y NO TENGO MUCHO CONOCIMIENTO<br>
_______________________________________________<br>
Lista de correo Cconclase <a href="mailto:Cconclase@listas.conclase.net">Cconclase@listas.conclase.net</a><br>
<a href="http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net" target="_blank">http://listas.conclase.net/mailman/listinfo/cconclase_listas.conclase.net</a><br>
Bajas: <a href="http://listas.conclase.net/index.php?gid=2&mnu=FAQ" target="_blank">http://listas.conclase.net/index.php?gid=2&mnu=FAQ</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Mauricio Rojas B.<br>Analista Computacional<br>Estuadiante de Telecomunicaciones<br>
</div>