If the middle term in the expansion of (1x+xsinx)10 is 638, then the value of 6sin2x+sinx−2 is
(i) Find the remainder, when 599 is divided by 13.
(ii) If the middle term of (1x+x sin x)10 is equal to 778, then find the value of x.