method of integral balance