extraction of gold with equation solver