Concept:Convert the trigonometric equation into a quadratic form in sin2θ and solve for θ.Explanation:Given 7sin4θ+9cos4θ+42sin2θ=16, with 0<θ<2π.Use cos2θ=1−sin2θ.Then cos4θ=(1−sin2θ)2=1−2sin2θ+sin4θ.Substitute into the equation:7sin4θ+9(1−2sin2θ+sin4θ)+42sin2θ=16.Simplify: 7sin4θ+9−18sin2θ+9sin4θ+42sin2θ=16.Combine like terms: 16sin4θ+24sin2θ+9=16.Thus 16sin4θ+24sin2θ−7=0.Let x=sin2θ. Then 16x2+24x−7=0.Use the quadratic formula x=2a−b±b2−4ac with a=16, b=24, c=−7.x=2⋅16−24±242−4⋅16⋅(−7)=32−24±576+448=32−24±1024=32−24±32.So x=32−24+32=328=41 or x=32−24−32=32−56=−47.Since 0<θ<2π, sinθ>0, so x=sin2θ must be positive. Hence sin2θ=41.Then sinθ=21, giving θ=30∘.Therefore tanθ=tan30∘=31.Answer:31 (Option D).