A Michigan man who authorities say attacked two men because he believed they were Muslims has been ordered to write a report on the history of Hinduism.