How to Use "task" with Example Sentences

1. It was not an easy task .
2. So some workmen were assigned the task .
3. Suing the ultimate chinese culprit is a thankless task .
4. But it was an unpleasant task to make him hear me .
5. A panel at the national research council recently took on the task of studying longevity .