Solve the all parts of following question:
Question: A straight, non conducting plastic wire 9.50 cm long carries a charge density of 125nC/m distributed uniformly along its length. It is lying on a horizontal tabletop.
Part A: Find the magnitude and direction of the electric field this wire produces at a point 5.50 directly above its midpoint.
Part B: If the wire is now bent into a circle lying flat on the table, find the magnitude and direction of the electric field it produces at a point 5.50cm directly above its center.
Please show all work and steps to determine the magnitude and direction of the electric field this wire produces.