ANSWER:

You can study this only to pass the exam while hating it in your heart. 

It’s best if you write at the end that this goes against Islamic beliefs. 

I read in school. In our Bengali book there are stories and poems which contain shirk beliefs. We have to read and study them to get marks in the exam. Will I become a polytheist (Mushrik) if I read and write them in exam if I don’t believe in those this things?