Question: Python question: Bonus Question (5 points) (double integral) Consider a charge Q-1 C uniformly distributed on the top of a square nonconductive planar surface of
Bonus Question (5 points) (double integral) Consider a charge Q-1 C uniformly distributed on the top of a square nonconductive planar surface of area A -1 m. Write a Python program that will calculate the electric field at a point z-0.01 m 1 cm away from the center of the plate. For simplicity set the dielectric constant to to be equal to 1. In your integral calculations use the Python built in function for the Simpson method, i.e. "simpsO". You should use at least 1000 steps in both the x and y directions. Are your results consistent with the expected result based on the Gauss law of electrostatics? dExy 2 dx 1 m Note: - based on the above figure the component of the electric field in the xy plane is zero along the central axis perpendicular to the plate, due to the symmetry of the Bonus Question (5 points) (double integral) Consider a charge Q-1 C uniformly distributed on the top of a square nonconductive planar surface of area A -1 m. Write a Python program that will calculate the electric field at a point z-0.01 m 1 cm away from the center of the plate. For simplicity set the dielectric constant to to be equal to 1. In your integral calculations use the Python built in function for the Simpson method, i.e. "simpsO". You should use at least 1000 steps in both the x and y directions. Are your results consistent with the expected result based on the Gauss law of electrostatics? dExy 2 dx 1 m Note: - based on the above figure the component of the electric field in the xy plane is zero along the central axis perpendicular to the plate, due to the symmetry of the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
