File:VFPt image charge plane horizontal.svg

From Wikiversity
Jump to navigation Jump to search

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

This is a file from the Wikimedia Commons. The description on its description page there is shown below.

Commons is a freely licensed media file repository. You can help.

Summary

Description
English: Field of a positive electric charge in front of a perfectly conducting horizontal metal surface. The field outside the metal can be constructed using an image charge behind the metal surface.
Date
Source Own work
Author Geek3
Other versions
SVG development
InfoField
 
The SVG code is valid.
 
This plot was created with VectorFieldPlot.
Source code
InfoField

Python code

# paste this code at the end of VectorFieldPlot 1.0
doc = FieldplotDocument('VFPt_image_charge_plane_horizontal', width=600, height=500, center=[300,300], commons=True)
field = Field({'monopoles':[[0,0,1]]}); doc.draw_charges(field, scale=1.5)
field = Field({'monopoles':[[0,0,1], [0,-3,-1]]})
n = 22
Fs = ig.quad(lambda phi: sc.dot(rot([0,1], phi), field.F(rot([0,1.5], phi))), 0, 2*pi)[0]
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(rot([0,1.5], phi))), 0, phi1)[0] - a * Fs, 0, 2*pi)
    line = FieldLine(field, rot([0,1.5], phi), maxr=10, directions='both', bounds_func=lambda p: -p[1]-1.5)
    doc.draw_line(line, arrows_style={'max_arrows':1, 'offsets':[0.7,0.3,0.3,0.7], 'scale':1.35})
doc.draw_object('rect', {'x':-3.02,'y':-2.02,'width':6.04,'height':0.515,
    'style':'fill:#bbb; stroke:#000; stroke-width:0.03'})
doc.write()

Licensing

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 share alike
This file is licensed under the Creative Commons Attribution-Share Alike 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.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.

Captions

Image of a proton from which the electric field lines are emerging.

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/TimeThumbnailDimensionsUserComment
current12:02, 25 February 2020Thumbnail for version as of 12:02, 25 February 2020600 × 500 (15 KB)Geek3I appreciate the effort. However 15kB is already tiny and efficient, and with straight line segments the image is simple and fast to render. The Bezier version has visible deviations from the accurate original and the charge gradient got messed up.
15:50, 20 February 2020Thumbnail for version as of 15:50, 20 February 2020600 × 500 (2 KB)JarvisaSimplified SVG source
19:33, 14 June 2010Thumbnail for version as of 19:33, 14 June 2010600 × 500 (15 KB)Geek3VFPt_image_charge_plane_horizontal

Global file usage

The following other wikis use this file:

Metadata