beat a dead horse vs figure out

beat a dead horse

verb
  • To persist or continue far beyond any purpose, interest or reason. 

figure out

verb
  • To come to understand; to discover or find a solution; to deduce. 

  • To calculate. 

How often have the words beat a dead horse and figure out occurred in a corpus of books? (source: Google Ngram Viewer )