caluclating equipment for gold density