calculate power of army, soldiers and general