The number of roots of the equation, xsinx=1 in the interval 0<x<2π is :
let take f(x)=xsinx−1
f′(x)=sinx+xcosx=0,x=π in
interval (so at x=π there must be maxima or minima),
f(π)=πsinπ−1<0 (negative)
f(π2)>0 (so there must be a root in
interval (π,π2)
f(3π2)>0, (there must be a root in
interval (0,π2)
So total two root exist.