File:VFPt four charges.svg
From formulasearchengine
Jump to navigation
Jump to search
Original file (SVG file, nominally 600 × 600 pixels, file size: 28 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 four charges.svg |
English: Field of two positive and two negative point charges constituting a non-ideal electric quadrupole. |
| Date | |
| Source | Own work |
| Author | Geek3 |
| SVG development InfoField | |
| Source code InfoField | Python code# paste this code at the end of VectorFieldPlot 1.0
doc = FieldplotDocument('VFPt_four_charges', width=600, height=600, commons=True)
field = Field({'monopoles':[[-1,0,-1], [0,1,1], [1,0,-1], [0,-1,1]]})
doc.draw_charges(field)
n = 8
Fsum = ig.quad(lambda t: sc.dot(field.F([.5*sin(t), 1-0.5*cos(t)]),
[sin(t), -cos(t)]), 0, pi)[0]
for i in range(n):
a = (i + 0.5) / n
w = op.brentq(lambda w: ig.quad(lambda t: sc.dot(field.F([0.5*sin(t),
1-0.5*cos(t)]), [sin(t), -cos(t)]), 0, w)[0] - a * Fsum, 0, pi)
for w1 in range(4):
line = FieldLine(field, rot([.5*sin(w), 1.0-0.5*cos(w)], w1 * pi/2),
directions='both')
doc.draw_line(line, arrows_style={'dist':1.5})
doc.write()
|
Licensing
I, the copyright holder of this work, hereby publish it under the following licenses:
| 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 |
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
Add a one-line explanation of what this file represents
Items portrayed in this file
depicts
May 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 | 16:24, 29 April 2017 | 600 × 600 (28 KB) | wikimediacommons>Geek3 | validator fix |
File usage
There are no pages that use this file.
Retrieved from "https://en.formulasearchengine.com/wiki/File:VFPt_four_charges.svg"