maths doubt trigonometry

ye second method se ans kyu nhi aayega? is it because sin imaginary aa jayega?