peril vs problem

peril

noun
  • A situation of serious and immediate danger. 

  • An event which causes a loss, or the risk of a specific such event. 

  • Something that causes, contains, or presents danger. 

verb
  • To cause to be in danger; to imperil; to risk. 

problem

noun
  • A puzzling circumstance. 

  • A difficulty that has to be resolved or dealt with. 

  • A set of moves required to complete a climb. 

  • A question to be answered, schoolwork exercise. 

  • Objection. 

  • Difficulty in accepting or understanding or refusal to accept or understand. 

adj
  • Causing a problem; problematic; troublesome. 

  • Difficult to train or guide; unruly. 

How often have the words peril and problem occurred in a corpus of books? (source: Google Ngram Viewer )