|
楼主 |
青青子衿
发表于 2021-4-21 23:03
本帖最后由 青青子衿 于 2021-4-22 10:29 编辑 电场线(the field lines)
\begin{align*}
\frac{q_{1}\left(x-R\right)}{\sqrt{\left(x-R\right)^{2}+y^{2}}}+\frac{q_{2}\left(x+R\right)}{\sqrt{\left(x+R\right)^{2}+y^{2}}}=C
\end{align*}
等势线(the equipotential lines)
\begin{align*}
\frac{q_{1}}{\sqrt{\left(x-R\right)^{2}+y^{2}}}+\frac{q_{2}}{\sqrt{\left(x+R\right)^{2}+y^{2}}}=C
\end{align*}
两个等量同种点电荷(即q1=q2时)的等势线为与两定点距离的倒数和为定值的曲线
【注】两个等量同种点电荷点电荷的等势线也被称为凯莱卵形线(Cayley ovals)
利用MMA绘制电场线与等势线- R = 1;
- Manipulate[
- Show[
- ContourPlot[
- q1 (x - R)/Sqrt[(x - R)^2 + y^2] +
- q2 (x + R)/Sqrt[(x + R)^2 + y^2], {x, -3, 3}, {y, -3, 3},
- Contours -> 15, ContourShading -> None, ImageSize -> 500],
- ContourPlot[
- q1/Sqrt[(x - R)^2 + y^2] + q2/Sqrt[(x + R)^2 + y^2], {x, -3,
- 3}, {y, -3, 3}, Contours -> 15, ContourShading -> None,
- ContourStyle -> Dashed]
- ], {{q1, 0.5, "\!\(\*SubscriptBox[\(Q\), \(1\)]\)"}, -2, 2,
- Appearance -> "Labeled"}, {{q2, -1,
- "\!\(\*SubscriptBox[\(Q\), \(2\)]\)"}, -2, 2,
- Appearance -> "Labeled"}]
复制代码 |
|