This is a Quality image. Click here for more information.

File:VFPt imagecharge plane horizontal plusminus.svg

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(SVG file, nominally 500 × 600 pixels, file size: 23 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
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
 
The source code of this SVG is invalid due to VectorFieldPlot errors.
 
This W3C-invalid vector image was created with Inkscape, or with something else.
This image has been assessed using the Quality image guidelines and is considered a Quality image.

العربية  جازايرية  беларуская  беларуская (тарашкевіца)  български  বাংলা  català  čeština  Cymraeg  Deutsch  Schweizer Hochdeutsch  Zazaki  Ελληνικά  English  Esperanto  español  eesti  euskara  فارسی  suomi  français  galego  עברית  हिन्दी  hrvatski  magyar  հայերեն  Bahasa Indonesia  italiano  日本語  Jawa  ქართული  한국어  kurdî  Lëtzebuergesch  lietuvių  македонски  മലയാളം  मराठी  Bahasa Melayu  Nederlands  Norfuk / Pitkern  polski  português  português do Brasil  rumantsch  română  русский  sicilianu  slovenčina  slovenščina  shqip  српски / srpski  svenska  தமிழ்  తెలుగు  ไทย  Tagalog  Türkçe  toki pona  українська  vèneto  Tiếng Việt  中文  中文(简体)  中文(繁體)  +/−

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[edit]

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head 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.
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 3.0 Unported license.
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.
You may select the license of your choice.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current21:23, 20 June 2010Thumbnail for version as of 21:23, 20 June 2010500 × 600 (23 KB)Geek3 (talk | contribs)VFPt_imagecharge_plane_horizontal_plusminus

File usage on other wikis

The following other wikis use this file:

Metadata