The solution to this problem, is beyond the scope of a 12th standard student, and is irrevelant for JEE aspirants. still, if u want the solution, reply back... its highly complex and involves, some trigonometric integrals etc. ...
I'll give the starting, and then u can solve on ur own !!