The choice of method for extracting a metal from its ores depends on the