Reference no: EM131292860
a) Write a program that will plot constant voltage curves for a dipole in a vacuum with inputs based on following. ( additional page to be posted on BB, bottom page 4-53 notes)
Physical data: Dipole charge q =10-9 (C) , d =10-6(m) voltage curves of interest V = ±1, ±4, ±9, ±16 (volts)
Computer data: Dipole axis ( z axis ) is vertical, Take y axis as horizontal.
N =100 number of points per constant V curve
Start with theta ( -n/2 to 2 103 eqtayscocedvalun
Use labels ( z, axis, y axis)
Hint, you may want to work on positive side curves first, then by switching in a reproduced code ( voila) you get negative side curves. Minimum check Double check curves in notes(text) that your curves have the correct appearance.
b) add a short piece of code to your existing code part a which will plot 4 points. These points are indicative of locations on z and y axis that are a distance 100*d from the origin. ( to check if curves are far enough away from origin R»d)
c) By hand sketch draw in a set of E-field lines showing direction of E with arrows.