calculate power gear