This question was asked in Example 9
The sol b .. Is not surely correct because the value of sinπ/4=1/√2. 
So plz clear the concept
Harsh Raj's image