1. ## solve in R

solve in R :

2. Start by using double angle formula to change the denominators.

$\sin 2x = 2\sin x \cos x$