Develop a MTALB code to determine the electric field due to the following charge distributions; a point charge, infinite line charge, and infinite surface charge. The code must ask the user to select n number of charge distributions, which could be the same or different. The code must ask the user to input details of all sources (charge/charge densities and their locations). The code must also ask the user to enter the position of the observation point. The code must present numerically the fields of the individual sources and the total field due to the n sources. Use the Cartesian coordinate system.

Develop a MTALB code to determine the electric field due to the following charge distributions; a point charge, infinite line charge, and infinite surface charge. The code must ask the user to select n number of charge distributions, which could be the same or different. The code must ask the user to input details of all sources (charge/charge densities and their locations). The code must also ask the user to enter the position of the observation point. The code must present numerically the fields of the individual sources and the total field due to the n sources. Use the Cartesian coordinate system. Show transcribed image text Develop a MTALB code to determine the electric field due to the following charge distributions; a point charge, infinite line charge, and infinite surface charge. The code must ask the user to select n number of charge distributions, which could be the same or different. The code must ask the user to input details of all sources (charge/charge densities and their locations). The code must also ask the user to enter the position of the observation point. The code must present numerically the fields of the individual sources and the total field due to the n sources. Use the Cartesian coordinate system.