File:VFPt imagecharge plane horizontal plusminus.svg
Original file (SVG file, nominally 500 × 600 pixels, file size: 23 KB)
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
Summary
DescriptionVFPt imagecharge plane horizontal plusminus.svg |
English: Field of a positive electric charge in front of a horizontal perfectly conducting metal surface. The field outside the metal can be constructed using an image charge behind the metal surface. The image charge is shown below. The field lines inside the metal do not exist in reality. Instead there's no field inside the metal and the charges are located at the surface instead of below. |
||
Date | |||
Source | Own work | ||
Author | Geek3 | ||
Other versions | |||
SVG development InfoField | This W3C-invalid vector image was created with Inkscape, or with something else.
| ||
Source code InfoField | SVG code# paste this code at the end of VectorFieldPlot 1.01
doc = FieldplotDocument('VFPt_imagecharge_plane_horizontal_plusminus', width=500, height=600, commons=True)
field = Field({'monopoles':[[0,1.5,1], [0,-1.5,-1]]})
doc.draw_charges(field, scale=1.5)
xy = lambda phi: sc.array([0,1.5]) + rot([0,1], phi)
Fs = ig.quad(lambda phi: sc.dot(rot([0,1], phi), field.F(xy(phi))), 0, 2*pi)[0]
n = 22
for i in range(n):
a = float(i) / n
phi = op.brentq(lambda phi1: ig.quad(lambda phi: sc.dot(rot([0,1], phi), field.F(xy(phi))), 0, phi1)[0] - a * Fs, 0, 2*pi)
line = FieldLine(field, xy(phi), maxr=10,
directions='both', bounds_func=lambda p: -p[1])
doc.draw_line(line, arrows_style={'max_arrows':1, 'offsets':[0.6,0.4,0.4,0.6]})
line = FieldLine(field, [xy(phi)[0], -xy(phi)[1]], maxr=10,
directions='both', bounds_func=lambda p: p[1])
doc.draw_line(line, arrows_style=None,
attributes=[['stroke-dasharray', '0.08,0.12'], ['stroke-linecap', 'butt']])
# draw the metal surface
metal_surface = doc.draw_object('g', {'id':'metal_surface'})
defs = doc.draw_object('defs', {}, group=metal_surface)
grad = doc.draw_object('linearGradient', {'id':'metal_grad', 'x1':0, 'x2':0,
'y1':0, 'y2':1, 'gradientUnits':'objectBoundingBox'}, group=defs)
for of, op in ((0, 0), (1, 1)):
doc.draw_object('stop', {'offset':of, 'stop-color':'#bbb', 'stop-opacity':op}, group=grad)
doc.draw_object('rect', {'x':-2.5, 'y':-0.8, 'width':5, 'height':0.8, 'style':'fill:url(#metal_grad); stroke:none'}, group=metal_surface)
doc.draw_object('path', {'d':'M -2.5,0 H 2.5', 'style':'fill:none; stroke:#000; stroke-width:0.04'}, group=metal_surface)
doc.write()
|
Licensing
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Items portrayed in this file
depicts
June 2010
image/svg+xml
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 21:23, 20 June 2010 | 500 × 600 (23 KB) | wikimediacommons>Geek3 | VFPt_imagecharge_plane_horizontal_plusminus |
File usage
The following 2 pages use this file:
Metadata
This file contains additional information, probably added from the digital camera or scanner used to create or digitize it.
If the file has been modified from its original state, some details may not fully reflect the modified file.
Short title | VFPt_imagecharge_plane_horizontal_plusminus |
---|---|
Image title | VFPt_imagecharge_plane_horizontal_plusminus
created with VectorFieldPlot 1.1 http://commons.wikimedia.org/wiki/User:Geek3/VectorFieldPlot about: http://commons.wikimedia.org/wiki/File:VFPt_imagecharge_plane_horizontal_plusminus.svg rights: GNU Free Documentation license, Creative Commons Attribution ShareAlike license |