be effective vs do the necessary

be effective

do the necessary

How often have the words be effective and do the necessary occurred in a corpus of books? (source: Google Ngram Viewer )