This question was asked in Ex 5.3, 15
Why do we take x as cos theeta here 
Indu shree's image