<!-- Author: Brian Mackenzie -->
<!-- Date: 11th March 2004 -->
<!-- Version: 1.0 -->

<!-- Function:  Calculate the results from the Power test -->

<!-- Required by: powertest.htm -->

<!-- Copyright (IPR) Brian Mackenzie 2004 -->


function pcalculate()

{

  var w = document.perform.weight.value;
  var d = document.perform.dist.value;
  var t = document.perform.time.value;

  p=(w*d*9.8)/t;

  document.perform.power.value = p;

}

function pclear()

{
  document.perform.power.value = "";
}

