An analytical expression for the average output power of a wind machine