<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AJCM</journal-id><journal-title-group><journal-title>American Journal of Computational Mathematics</journal-title></journal-title-group><issn pub-type="epub">2161-1203</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ajcm.2024.142008</article-id><article-id pub-id-type="publisher-id">AJCM-133756</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Impact of a Bumpy Nonuniform Electric Field on Oscillations of a Massive Point-Like Charged Particle
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Haiduke</surname><given-names>Sarafian</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>The Pennsylvania State University, University College, York, PA, USA</addr-line></aff><pub-date pub-type="epub"><day>07</day><month>05</month><year>2024</year></pub-date><volume>14</volume><issue>02</issue><fpage>240</fpage><lpage>247</lpage><history><date date-type="received"><day>12,</day>	<month>April</month>	<year>2024</year></date><date date-type="rev-recd"><day>9,</day>	<month>June</month>	<year>2024</year>	</date><date date-type="accepted"><day>12,</day>	<month>June</month>	<year>2024</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  As a general feature, the electric field of a localized electric charge distribution diminishes as the distance from the distribution increases; there are exceptions to this feature. For instance, the electric field of a charged ring (being a localized charge distribution) along its symmetry axis perpendicular to the ring through its center rather than as expected being a diminishing field encounters a local maximum &amp;#8220;bump&amp;#8221;. It is the objective of this research-oriented study to analyze the impact of this bump on the characteristics of a massive point-like charged particle oscillating along the symmetry axis. Two scenarios with and without gravity along the symmetry axis are considered. In addition to standard kinematic diagrams, various phase diagrams conducive to a better understanding are constructed. Applying Computer Algebra System (CAS), &lt;a href=&quot;#ref1&quot;&gt;[1]&lt;/a&gt; &lt;a href=&quot;#ref2&quot;&gt;[2]&lt;/a&gt; most calculations are carried out symbolically. Finally, by assigning a set of reasonable numeric parameters to the symbolic quantities various 3D animations are crafted. All the CAS codes are included.
 
</p></abstract><kwd-group><kwd>Nonlinear Oscillations</kwd><kwd> Nonuniform Electric Field</kwd><kwd> Computer Algebra System</kwd><kwd> &lt;i&gt;Mathematica&lt;/i&gt;</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction &amp; Analysis</title><p>1a. The electric field of a charged ring of radius R with charge Q along the symmetry axis of the ring through the center, perpendicular to the ring is [<xref ref-type="bibr" rid="scirp.133756-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.133756-ref4">4</xref>]</p><p>E = k Q x ( R 2 + x 2 ) 3 2 , (1)</p><p>Aside from the electrostatic coupling constant, k = 9.0 &#215; 10<sup>9</sup> Nm<sup>2</sup>/C<sup>2</sup>, and charge Q the plot of the distance-related term of the field for R = 20 cm is shown,</p><p>EfieldRing[x_]:=kQ x/(R<sup>2</sup>+x<sup>2</sup>)<sup>3/2</sup>;</p><p>plotEfieldRing=Plot[EfieldRing[x]/.{k−&gt;1,Q−&gt;1,R−&gt;20 10<sup>−2</sup>},{x,−2,2},PlotRange</p><p>→All,PlotStyle→{Black,Thick},GridLines→Automatic,AxesLabel</p><p>→{“x(m)”,“E_field”}]</p><p><xref ref-type="fig" rid="fig1">Figure 1</xref> shows that the origin of the field is asymmetric and that at either side of the ring, it encounters a local extremum. As mentioned in the abstract one of the objectives of this investigation is to learn about the impact of this “bump” on the character of the related kinematic quantities, see upcoming paragraphs. Variable x is being used for the distance because, at the first trial, the ring was assumed oriented vertically with its symmetry axis along the x-axis. In this scenario, gravity has no impact on the mobile massive particle. Shortly in the upcoming sections, the ring is oriented horizontally making the gravity effectively active.</p><p>To observe the impact of the mentioned bump we consider a situation where a massive point-like charged particle is placed at the center of the ring. Wishing to throw the particle along the horizontal direction, the particle is given an initial speed. By trial and error to fulfill the desired scenario a set of parameters is assigned to the relevant quantities. These are stored in the values listing, units are: Q = 10 nC, q = −2 nC, and m = 2 nkg. The Q is the charge on the ring, particle’s charge and mass are, respectively.</p><p>values={k→9 10<sup>9</sup>,g−&gt;9.8,R →20 10<sup>−2</sup>,Q→10 10<sup>−9</sup>,q→2 10<sup>−9</sup>,m→2 10<sup>−9</sup>};</p><p>A composite factor is defined,</p><p>factor=kQq/m/.values;</p><p>The equation of the motion of the particle is subject to,</p><p>x &#168; ( t ) + factor x ( t ) ( R 2 + x ( t ) 2 ) 3 / 2 = 0 , (2)</p><p>Where over double-dot is the second order derivative w/time.</p><p>eqn=x&quot;[t]+(factor x[t]/(R<sup>2</sup>+x[t]<sup>2</sup>)<sup>3/2</sup>)/.values;</p><p>Solving this equation numerically with the shown initial conditions yields the interested kinematic quantities,</p><p>soleqn=NDSolve[{eqn==0,x[0.001]==0.0001(*(R/.values)*),x'[<xref ref-type="bibr" rid="scirp.133756-ref0">0</xref>]==25}, x[t],{t,0.001,1}];</p><p>{positionx,velocityx,accx}={x[t]/.soleqn,D[x[t]/.soleqn,{t,1}],D[x[t]/.soleqn,{t,2}]};</p><p>Plots of these quantities are depicted in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>plotx=Plot[positionx,{t,0.001,1.0},AxesLabel-&gt;{&quot;t(s)&quot;,&quot;x(m)&quot;},PlotStyle-&gt;{Thick,Black}, GridLines-&gt;Automatic];</p><p>plotvx=Plot[velocityx,{t,0.001,1.0},AxesLabel-&gt;{&quot;t(s)&quot;,&quot;v(m/s)&quot;},PlotStyle-&gt;{Thick,Black}, GridLines-&gt;Automatic];</p><p>plotax=Plot[1/50accx,{t,0.001,1.0},AxesLabel-&gt;{&quot;t(s)&quot;,&quot;a(m/s<sup>2</sup>)&quot;},PlotStyle-&gt; {Thick,Black}, GridLines-&gt;Automatic];</p><p>GraphicsGrid[{{Show[{plotx,ploty}],Show[{plotvx,plotvy}],Show[{plotax, plotay}]}},ImageSize-&gt;700]</p><p>For the sake of size compatibility, some of the plots are scaled.</p><p>The inclusion of <xref ref-type="fig" rid="fig2">Figure 2</xref> is essential in showing the impact of the mentioned “bump” of the electric field depicted in <xref ref-type="fig" rid="fig1">Figure 1</xref>. Noticing, although curves in <xref ref-type="fig" rid="fig2">Figure 2</xref>(a) have the same characters, the impact of the mentioned “bump” is quite distinct shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>(b) &amp; <xref ref-type="fig" rid="fig2">Figure 2</xref>(c) these are intuitively unpredictable.</p><p>In many words for instance <xref ref-type="fig" rid="fig2">Figure 2</xref>(a) shows for the chosen parameters under the impact of the electric field the particle within a short period, e.g. 0.3 s returns to the initial position, while in a much longer time, the linear force takes e.g. 0.65 s to do the same. One may easily conclude similar conclusions focusing on <xref ref-type="fig" rid="fig2">Figure 2</xref>(b) &amp; <xref ref-type="fig" rid="fig2">Figure 2</xref>(c).</p><p>As a crude approximation, the curve in <xref ref-type="fig" rid="fig1">Figure 1</xref> may be viewed as two lines joined at the bump one with a positive and the other with a negative slope. Although this appears a rough approximation, nevertheless it sustains the general feature. Based on the mentioned observation an interested individual may try augmenting the scope of this work.</p><p>For a deeper understanding, we extend the graphic analyses by including additional plots, namely, a standard, and then extended “phase” diagrams. Here again, each shown frame of <xref ref-type="fig" rid="fig3">Figure 3</xref> embodies identical paired curves similar to the pairs shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>Notice that the equations of motions conducive to the shown plots in <xref ref-type="fig" rid="fig3">Figure 3</xref> are different. The solid curves depict the impact of electric force, and the dashed curves the linear mechanical force. For the sake of understanding the impact of the geometry terms the same factor and initial velocities are considered. Specifically, for the electric force.</p><p>factor [x(t)/(R<sup>2</sup>+x(t)<sup>2</sup>)<sup>3/2</sup>], and for the linear mechanical force, factor [x(t)] is used. Note also while plotting the curves we have applied various magnification factors adjusting the size of the graphics pieces.</p><p>Now for instance, if one focuses on one of the frames of <xref ref-type="fig" rid="fig3">Figure 3</xref>, e.g. 3C, it reveals some of the kinematic characteristics of the oscillations. E.g. the electric and the mechanical oscillations do begin at the same initial position. Noticing, in the shown period each oscillator ends up at the max shown respective distance. And, the dotted curve is stretched much further than the solid curve, this shows the impact of the geometry i.e. distance term of the force. Then the oscillator reverses its motion sliding back to the other end continues repetition. Similar conclusions are applied to <xref ref-type="fig" rid="fig3">Figure 3</xref>(b) &amp; <xref ref-type="fig" rid="fig3">Figure 3</xref>(c).</p><p>1b. In subsection 1a for the vertically held ring a negatively charged particle was placed on a horizontal axis and was projected with an initial speed. Because of the contrast of the sign of the charges, this scenario was conducive to oscillations. In an alternative counterintuitive situation in this subsection, we consider a scenario in which the ring is held horizontally. Placing a negative charge on the vertical symmetry axis that is thrown downward may be tuned resulting in not a fall but an oscillation. In contrast to the situation described in 1a gravity effectively contributes to the kinematics of the oscillation. If the parameters are not chosen properly the particle under gravity will fall through the ring. Yet the parameters are adjusted conducive to oscillations. The oscillation’s equation of motion is given by (3). Therefore, it is natural to analyze the impact of gravity and compare its impact to case 1a.</p><p>The modified version of the equation of motion including gravity is,</p><p>z &#168; ( t ) + factor z ( t ) ( R 2 + z ( t ) ) 3 / 2 + g = 0 , (3)</p><p>eqz=z”[t]+(factor z[t]/(R<sup>2</sup>+z[t]<sup>2</sup>)<sup>3/2</sup>)+g/.values;</p><p>Solving (3) numerically with the same initial conditions as used in solving (2) yields,</p><p>soleqz=NDSolve[{eqz==0,z[0.001]==0.001(*(R/.values)*),z'[<xref ref-type="bibr" rid="scirp.133756-ref0">0</xref>]==25}, z[t],{t,0.001,10}];</p><p>Utilizing these solutions the needed kinematic quantities are plotted. These are depicted in <xref ref-type="fig" rid="fig4">Figure 4</xref>.</p><p>The inclusion of gravity adds an additive term, g to the equation of motion. Utilizing the solution, the instantaneous speed and acceleration are calculated and graphed, respectively. These are shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>.</p><p>eqz = Derivative[<xref ref-type="bibr" rid="scirp.133756-ref2">2</xref>][z][t] + factor*(z[t]/(R^2 + z[t]^2)^(3/2)) + 4*g /. values;</p><p>soleqz=NDSolve[{eqz==0,z[0.001]==0.001(*(R/.values)*),z'[<xref ref-type="bibr" rid="scirp.133756-ref0">0</xref>]==25},z[t], {t,0.001,10}];</p><p>plotvz=ParametricPlot[Flatten[{50positionz,velocityz}],{t,0.001,2},AxesLabel-&gt;{“z(m)”,”v(m/s)”},PlotStyle-&gt;{Black,Thick},GridLines-&gt;Automatic,PlotRange-&gt;All];</p><p>plotaz=ParametricPlot[Flatten[{150positionz,0.5accz}],{t,0.001,2}, AxesLabel-&gt;{“z(m)”,”a(m/s<sup>2</sup>)”},PlotStyle-&gt;{Black,Thick},GridLines-&gt;Automatic,PlotRange-&gt;All];</p><p>plotvaz=ParametricPlot[Flatten[{200velocityz,5accz}],{t,0.001,2},AxesLabel -&gt;{“v(m/s)”,”a(m/s<sup>2</sup>)”},PlotStyle-&gt;{Black,Thick},GridLines-&gt;Automatic,PlotRange-&gt;All];</p><p>As explained earlier, for the case where gravity has the value of g the phase diagrams almost are indistinguishable vs. the solid curves of <xref ref-type="fig" rid="fig2">Figure 2</xref>. Yet the dashed plots of <xref ref-type="fig" rid="fig4">Figure 4</xref> are different from <xref ref-type="fig" rid="fig2">Figure 2</xref>, this shows the impact of a</p><p>strong gravity 4 g. A similar observation applied to <xref ref-type="fig" rid="fig4">Figure 4</xref>(c) vs. <xref ref-type="fig" rid="fig2">Figure 2</xref>(c).</p><p>In general, for a regular gravity pull the impact of gravity is miniscule. Nevertheless, as intuitively might have been expected the oscillation of the particle about the center of the ring is not quite symmetric. This is shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>(a). The mentioned feature is not quite vivid in <xref ref-type="fig" rid="fig4">Figure 4</xref>(b) &amp; <xref ref-type="fig" rid="fig4">Figure 4</xref>(c).</p><p>Alternatively, the gravity acceleration may be adjusted as if the setup is considered on a different planet. <xref ref-type="fig" rid="fig5">Figure 5</xref> displays the impact of gravity which is 4 g. The black curve is the regular g, while the dashed curve shows the impact of 4 g. As expected, the 4 g case pulls the charged particle further downward and, in the meantime, increases the oscillation period.</p><p>Having all this detailed information on hand we decided to complete this analysis by including 3D animations of the motion, each case has its features. For the sake of briefing, only two animated frames are included.</p><p>GraphicsGrid[{{plot3DVertical,plot3Dhorizontal}},ImageSize-&gt;500]</p><p>The Mathematica codes creating the two frames shown in <xref ref-type="fig" rid="fig6">Figure 6</xref> are lengthy</p><p>hence are suppressed. The code above <xref ref-type="fig" rid="fig6">Figure 6</xref> has two pieces, plot3DVertical and plot3Dhorizontal. The Mathematica version of the article is capable of animation but neither the docx nor the pdf versions. The author is willing to forward the Mathematica codes of the animation to interested individuals.</p></sec><sec id="s2"><title>2. Conclusions and Remarks</title><p>The motivation for crafting this research-oriented article is to justify that counter-balancing gravity with electric force is a plausible scenario conducive to oscillation.</p><p>We considered a massive, charged point-like particle moving along the symmetry axis of a horizontally held charged ring such that instead of “falling” through the ring it oscillates.</p><p>The entire analysis is done utilizing a Computer Algebra System (CAS), specifically Mathematica. Our approach to computation/calculation avoids using the traditional paper and pencil promoting the usefulness and the power of CAS. Most of the CAS codes are included to assist interested readers in practicing. To this end, one project has been suggested as conducive to a related augmented version of the current work. Interested readers may find references [<xref ref-type="bibr" rid="scirp.133756-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.133756-ref6">6</xref>] and [<xref ref-type="bibr" rid="scirp.133756-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.133756-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.133756-ref9">9</xref>] resourceful and insightful for the physics of nonuniform electric fields and Mathematica coding, respectively. The narrow scope objective of the previous work [<xref ref-type="bibr" rid="scirp.133756-ref7">7</xref>] in this current work has been expanded focusing on and comparing the impact of the various scenarios of gravity.</p></sec><sec id="s3"><title>Acknowledgments</title><p>The author appreciates the financial support of the awarded Faculty Scholarship and Creative Accomplishment of the York Campus, 2023.</p></sec><sec id="s4"><title>Conflicts of Interest</title><p>The author declares no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s5"><title>Cite this paper</title><p>Sarafian, H. (2024) Impact of a Bumpy Nonuniform Electric Field on Oscillations of a Massive Point-Like Charged Particle. American Journal of Computational Mathematics, 14, 240-247. https://doi.org/10.4236/ajcm.2024.142008</p></sec></body><back><ref-list><title>References</title><ref id="scirp.133756-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Mathematica Version 14.0. &lt;br&gt;http://Wolfram.com  </mixed-citation></ref><ref id="scirp.133756-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Wolfram, S. (2003) The Mathematica Book. 5th Edition, Cambridge University Publications, Cambridge.</mixed-citation></ref><ref id="scirp.133756-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Jackson, J.D. (1999) Classical Electrodynamics. 3rd Edition, John Wiley &amp; Sons Inc., New Jersey.</mixed-citation></ref><ref id="scirp.133756-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Halliday, D., Resnick, R. and Walker, J. (2022) Fundamentals of Physics. 12 Edition, John Wiley and Sons Inc. New Jersey.</mixed-citation></ref><ref id="scirp.133756-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Strogatz, S. (1994) Nonlinear Dynamics and Chaos. Perseus Publishing, New York.</mixed-citation></ref><ref id="scirp.133756-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Ennis, R.H. and McGuire, G.C. (2001) Nonlinear Physics with Mathematica for Scientists and Engineers. Published by Birdhouse, Hard Spring, Peg 605.&lt;br&gt;https://doi.org/10.1007/978-1-4612-0211-0</mixed-citation></ref><ref id="scirp.133756-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Sarafian, H. (2010) Static Electric-Spring and Nonlinear Oscillations. &lt;i&gt;Journal of Electromagnetic Analysis and Applications&lt;/i&gt;, 2, 75-81. &lt;br&gt;https://doi.org/10.4236/jemaa.2010.22011 </mixed-citation></ref><ref id="scirp.133756-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Sarafian, H. (2019) Mathematica Graphics Examples. 2nd Edition, Scientific Research Publishing, Wuhan.</mixed-citation></ref><ref id="scirp.133756-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Sarafian, H. (2023) Haiduke Sarafian&amp;#8217;s Collective Articles 2020-2023. Scientific Research Publishing, Wuhan.</mixed-citation></ref></ref-list></back></article>