Hi,

The precision you can achieve with your code is not the only issue.

Luciano

* * *

Power factor / Dissipating the Myths

By David Gibson

Power factor is one of those subjects about which there seems to be a great deal of confusion and many misconceptions. The culprit is the the assertion that power factor = cos(Phi), Phi being the phase shift between voltage and current. While this is true under certain ideal conditions, there are many real-world instances where it is quite incorrect. This article will give you a basic introduction into power factor, and explain why cos(Phi) is not the whole answer.

Read this article here:
http://www.microconsultants.com/tips...t/pfarticl.htm