Concept:Use trigonometric identities to simplify the function and find its maximum value by analyzing the range of sine.Explanation:Start with f(x)=tanx+cotx1 for 0<x<2π.Rewrite tanx=cosxsinx and cotx=sinxcosx.Then f(x)=cosxsinx+sinxcosx1=sinxcosxsin2x+cos2x1=1sinxcosx.So f(x)=sinxcosx.Use the identity 2sinxcosx=sin2x, thus sinxcosx=21sin2x.Therefore f(x)=21sin2x.In the interval (0,2π), 2x lies in (0,π).The sine function has a maximum value of 1 (at 2x=2π).Hence the maximum of f(x) is 21×1=21.Answer:21 (Option B).