∵m=ktanθ
∴dm=ksec2θdθ
⇒dmm=ksec2θktanθdθ
⇒dmm=dθsinθcosθ=2dθsin2θ
⇒% error is minimum when sin2θ has maximum value hence 2θ=π2orθ=45∘