i know that f(x)=x on the interval [0,1] the subintervals are

An=[(1/n)+(2/n)+(3/n)....1](1/n) now

what is the subintervals for the equation f(x)=1/x on the interval [1,2] when n=2

i thought it was An=[(1/1/n)+(1/2/n)...](1/n) but my answer comes out wrong. the answer that im supposed to have is .583333