File:VFPt capacitor.svg
Summary
| Description |
English: Electric field of simple capacitor. The capacitor consists of two parallel rectangular plates perpendicular the the image plane and expanding to infinity. The field is accurately computed for a uniform charge distribution on each plate, but therefore the potential on each plate is not exactly constant. |
| Date | |
| Source | Own work |
| Author | Geek3 |
| Other versions |
|
| SVG development | |
| Source code | Python code# paste this code at the end of VectorFieldPlot 1.0
doc = FieldplotDocument('VFPt_capacitor', width=300, height=600, commons=True)
w = 1.5; h = 3.0
field = Field({'charged_planes':
[[-w/2, -h/2, -w/2, h/2, 1], [w/2, -h/2, w/2, h/2, -1]]})
n = 15
for i in range(n):
a = (0.5 + i) / n
a = pi * (-1.5 + 3. * a)
a = op.fsolve(lambda y1: ig.quad(lambda y:
atan((h/2-y)*2/w) + atan((h/2+y)*2/w), 0, y1)[0] - a, 0)
line = FieldLine(field, [0.,a], directions='both')
doc.draw_line(line, arrows_style={'dist': 1.5, 'min_arrows':1})
D = 0.045
doc.draw_object('rect', {'x':-.75-D,'y':-1.495,'width':2*D,'height':3.01,
'style':'fill:#ff0000; stroke:#000000; stroke-width:.01'})
plus = ' h 0.04 m -0.02,-0.02 v 0.04'
doc.draw_object('path', {'transform':'translate(-0.75)',
'd':('M -0.02,-1.4' + plus) + 14 * (' m -0.02,0.18' + plus),
'style':'fill:none; stroke:#000000; stroke-width:.02; ' +
'stroke-linecap:square'})
doc.draw_object('rect', {'x':.75-D,'y':-1.495,'width':2*D,'height':3.01,
'style':'fill:#0000ff; stroke:#000000; stroke-width:.01'})
minus = ' h 0.04'
doc.draw_object('path', {'transform':'translate(0.75)',
'd':('M -0.02,-1.4' + minus) + 14 * (' m -0.04,0.2' + minus),
'style':'fill:none; stroke:#000000; stroke-width:.02; ' +
'stroke-linecap:square'})
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. |
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.
Category:CC-BY-SA-3.0
Category:Electric field lines in capacitors
Category:GFDL
Category:License migration redundant
Category:Parallel plate capacitors
Category:Photos by User:Geek3
Category:Self-published work
Category:VFPt electric and magnetic fields (image set)
Category:Valid SVG created with VectorFieldPlot code