as shown in figure. If the linear charge density of the semicircular parts and straight parts is λ