Articulos PHP
Septiembre 07, 2008, 08:37:08 *
Bienvenido(a), Visitante. Por favor, ingresa o regístrate.

Ingresar con nombre de usuario, contraseña y duración de la sesión
Noticias: Canciones Traducidas - Daforos.com - Fondos Gratis - Portatiles - Hosting - - Recursos Gratuitos Webmaster - elhacker dragonjar - sexo gratis - letras de canciones - Trucos Gratis - Juegos Gratis - Sexe gratuit - Juegos De Coche - porno - Start - Page0 - Page1 - Page2 - Page3 - Page4 - Page5 - Page6 - Page7 - Page8 - Page9 - Page10Page11 - Page12 - Page13 - Page14 - Page15 - Page16 - Page17 - Page18 - Page19 - Page20Page21 - Page22 - Page23 - Page24 - Page25 - Page26 - Page27 - Page28 - Page29 -

Páginas: 1   Ir Abajo
  Imprimir  
Autor Tema: Equivalencias de unidades de energia  (Leído 867 veces)
administrador
Administrator
Hero Member
*****
Desconectado Desconectado

Mensajes: 16065


Ver Perfil
« : Septiembre 14, 2004, 11:18:54 »

Convierte ha diferentes unidades (Joules, Kg-meters, Ft-lbs, Kw-hrs, Metric Hp-hrs, US Hp-hrs, Liter-atm, K-cal, Btu)


<HTML>
<HEAD>

<!-- Cut-N-Paste JavaScript from ISN Toolbox
Copyright 1996, Infohiway Server Network.  Restricted use is hereby
granted (both personal and commercial use OK so long as this code is
not *directly* sold), providing this notice is buried somewhere deep
in your HTML document.  A link to
Para ver los enlaces debes ser usuario Crear Usuario o Hacer Sesion is always
appreciated, but is absolutely and positively not necessary. :-) -->
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide JavaScript from Java-Impaired Browsers
function initArray() {
  this.length = initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
    this = initArray.arguments;
    }
  }
/* Please don't ask about this work-around. It works... We're sure arrays
    will be better supported soon. */
var isn10 = new initArray("4b","5b","8b","8b");
isn10[0] = "~01~10.10197~20.7376~32.778e-7~43.777e-7~53.725e-7~60.009869~70.0002388~80.0009478~9";
isn10[1] = "~09.80665~11~27.233~32.724e-6~43.7037e-6~53.653e-6~60.09678~70.002342~80.009295~9";
isn10[2] = "~01.356~10.1383~21~33.766e-7~45.1206e-7~55.0505e-7~60.01338~70.0003238~80.001285~9";
isn10[3] = "~03.6e6~13.671e5~22.655e6~31~41.3596~51.341~635528~7859.9~83412~9";
isn10[4] = "~02.648e6~12.7e5~21.9529e6~30.7355~41~50.9863~626131~7632.4~82510~9";
isn10[5] = "~02.6845e6~12.7375e5~21.98e6~30.7457~41.0139~51~626493~7641.2~82544~9";
isn10[6] = "~0101.333~110.333~274.74~32.815e-5~43.827e-5~53.775e-5~61~70.0242~80.09604~9";
isn10[7] = "~04187~1426.9~23088~30.001163~40.001581~50.001560~641.32~71~83.968~9";
isn10[8] = "~01055~1107.6~2778.2~32.931e-4~43.985e-4~53.93e-4~610.41~70.252~81~9";


function eneCon() {
  // First, get the variables checked by the user
  for (var i = 0; i < 9; i++) {
    if (document.isnform10.enei.checked) {
      enei = i;
      eneinm = document.isnform10.enei.value;
      }
    }
  for (var i = 0; i < 9; i++) {
    if (document.isnform10.eneo.checked) {
      eneo = i;
      eneonm = document.isnform10.eneo.value;
      }
    }
  // Now grab the numeric input by user and parse to be sure numeric
  useri = document.isnform10.eneinp.value;
  if (useri == 0) {
    useri = 1;
    document.isnform10.eneinp.value = useri;
    }
  mulstr = isn10[enei];
  picker = "~" + eneo;
  ps = mulstr.indexOf(picker);
  eneo++;
  picker = "~" + eneo;
  ps1 = mulstr.indexOf(picker);
  mulstr = mulstr.substring((ps + 2),ps1);
  ps = (useri * mulstr);
  picker = "";
  picker += ps
  ps1 = picker.indexOf(".");
  if (ps1 > -1) {
    // Correct for binary/floating point conversion error
    ps = ps + .000001;
    picker = "";
    picker += ps;
    ps2 = picker.indexOf("e");
    if (ps2 < 0) {
      picker = picker.substring(0,(ps1 + 6));
      }
    if (ps2 == 0 || ps2 > 0) {
      ps3 = picker.indexOf("00000");
      if (ps3 > 0) {
        picker = picker.substring(0,ps3 + 1) + picker.substring(ps2,picker.length);
        }
      }
    }
  picker = useri + " " + eneinm + " = " + picker + " " + eneonm
  document.isnform10.eneout.value = picker;
  }
// End Hiding -->
</script>


</head>

<BODY bgcolor="white">

<TABLE BORDER=1 WIDTH=486>
<TR><TD COLSPAN=10 ALIGN=CENTER><FORM NAME="isnform10"><FONT COLOR="blue"><B>Energy/Work Equivalents</td></tr>
<TR><TD COLSPAN=10 VALIGN=TOP><FONT SIZE=1><B>First, type the number you wish converted here:
<INPUT TYPE="text" NAME="eneinp" SIZE=30 VALUE="" onChange="eneCon();"><BR><B>Then, click radio buttons for desired conversion:</font></td></tr>
<TR><TD ALIGN=CENTER><FONT COLOR="red" SIZE=1><B>Fm:</font></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Joules<BR><INPUT TYPE="radio" NAME="enei" VALUE="Joules" CHECKED onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Kg-meters<BR><INPUT TYPE="radio" NAME="enei" VALUE="Kg-meters" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Ft-lbs<BR><INPUT TYPE="radio" NAME="enei" VALUE="Ft-lbs" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Kw-hrs<BR><INPUT TYPE="radio" NAME="enei" VALUE="Kw-hrs" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Metric Hp-hrs<BR><INPUT TYPE="radio" NAME="enei" VALUE="Metric Hp-hrs" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>US Hp-hrs<BR><INPUT TYPE="radio" NAME="enei" VALUE="US Hp-hrs" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Liter-atm<BR><INPUT TYPE="radio" NAME="enei" VALUE="Liter-atm" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>K-cal<BR><INPUT TYPE="radio" NAME="enei" VALUE="K-cal" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Btu<BR><INPUT TYPE="radio" NAME="enei" VALUE="Btu" onClick = ""></td></tr>
<TR><TD ALIGN=CENTER><FONT COLOR="red" SIZE=1><B>To:</td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Joules<BR><INPUT TYPE="radio" NAME="eneo" VALUE="Joules" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Kg-meters<BR><INPUT TYPE="radio" NAME="eneo" VALUE="Kg-meters" CHECKED onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Ft-lbs<BR><INPUT TYPE="radio" NAME="eneo" VALUE="Ft-lbs" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Kw-hrs<BR><INPUT TYPE="radio" NAME="eneo" VALUE="Kw-hrs" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Metric Hp-hrs<BR><INPUT TYPE="radio" NAME="eneo" VALUE="Metric Hp-hrs" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>US Hp-hrs<BR><INPUT TYPE="radio" NAME="eneo" VALUE="US Hp-hrs" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Liter-atm<BR><INPUT TYPE="radio" NAME="eneo" VALUE="Liter-atm" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>K-cal<BR><INPUT TYPE="radio" NAME="eneo" VALUE="K-cal" onClick = ""></td>
<TD ALIGN=CENTER VALIGN=TOP><FONT SIZE=1>Btu<BR><INPUT TYPE="radio" NAME="eneo" VALUE="Btu" onClick = ""></td></tr>
<TR><TD COLSPAN=10 ALIGN=CENTER VALIGN=TOP><FONT SIZE=1><INPUT TYPE="button" VALUE=" Click for Conversion " onClick="eneCon();"> <INPUT TYPE="reset" VALUE=" Reset Values "><BR><INPUT TYPE="text" NAME="eneout" SIZE=60 VALUE="" onClick="eneCon();">
</font></td></tr>
</table></form>


</body>
</html>
En línea
Páginas: 1   Ir Arriba
  Imprimir  
 
Ir a:  

Mas buscadas: apuntes audio belleza bolsa cancer carpet carrera casas computadora credito cross curso informatica divx dolar drivers e mule economia explorer grafica hardware higiene industria industrial informatica internet libros linux mantenimiento manuales media medicina nutricion online paginas web politica posicionamiento programacion red red alert salud seguro seo software tecnologia trucos windows universidad venta video web windows winrar

UseBB Port by Gaia Modified & Upgraded by Croco Articulos PHP | Impulsado por SMF 1.1.5.
© 2005, Simple Machines LLC. Todos los Derechos Reservados.

Página creada en 0.11 segundos con 19 consultas.