compulsorily vs necessarily

compulsorily

adv
  • in a compulsory manner. 

necessarily

adv
  • Inevitably; of necessity. 

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