Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/01/2005, 13:32
angsanchez
 
Fecha de Ingreso: octubre-2004
Ubicación: España
Mensajes: 894
Antigüedad: 19 años, 6 meses
Puntos: 3
Hola, k-seraph
Tienes que calcular primero las potencias:
Código:
           a=Math.pow(dist,1.146346);
           b=0.02329*a;
           c=b-tpo;

           d=Math.pow(dist,1.126535)
           e=0.23494*d;

           sr = (c/(b-e))
Si quieres lo puedes abreviar a:
Código:
           
           b=0.02329*Math.pow(dist,1.146346);
           e=0.23494*Math.pow(dist,1.126535);
           sr = (b-tpo)/(b-e)
__________________
Angel :cool: