Create a new EZPage, making sure to FIRST TURN OFF your HTML editor. (You want to be creating/editing that new page using PLAIN TEXT mode).
Paste the following into the page:
<script language="javascript" Type="text/javascript">
<!--
var vl1 = 43.5;
var vl2 = 55.0;
var vl3 = 18.0
function compute(f) {
f.result.value = eval( Math.sqrt( vl2 / vl1 ) * vl3 )
f.result2.value = eval( ( Math.sqrt( vl2 / vl1 ) * vl3 ) * 10.51 )
}
function saveo( f ) {
vl1 = f.opress.value
}
function saven( f ) {
vl2 = f.npress.value
}
function savei( f ) {
vl3 = f.injsize.value
}
// -->
</script>
<form name="CSGForm">
<table align="center" border=5 cellpadding=5>
<tr bgcolor="#B6D4D2">
<td width=50%>
<b>Enter Original Fuel Pressure</b>
</td>
<td width=50%>
<input type="text" name="opress" size=18 onChange="saveo(this.form)">
</td>
</tr>
<tr>
<td>
<b>Enter New Fuel Pressure</b>
</td>
<td>
<input type="text" name="npress" size=18 onChange="saven(this.form)">
</td>
</tr>
<tr>
<td>
<b>Enter Rating Of Fuel Injector (lb/hr)</b>
</td>
<td>
<input type="text" name="injsize" size=18 onChange="savei(this.form)">
</td>
</tr>
<tr>
<td align=center valign=center colspan=2 bgcolor="#B6D4D2">
<input type="button" VALUE="Calculate Injector Flow" onClick="compute(this.form)">
<input name="res" type="reset" value="Clear All Values">
</td>
</tr>
<tr>
<td>
<b>New Flow Rate Of Fuel Injector</b>
</td>
<td>
<input type="text" name="result" size=24>
<b> lb/hr</b>
<br>
<input type="text" name="result2" size=24>
<b> cc/min</b>
</td>
</tr>
</table>
</form>
<script language="javascript">
<!-- Hide script from old browser
document.CSGForm.opress.value = vl1;
document.CSGForm.npress.value = vl2;
document.CSGForm.injsize.value = vl3;
// End the hiding here. -->
</script>
Save the page.