<?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.2023.133021</article-id><article-id pub-id-type="publisher-id">AJCM-127123</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>
 
 
  Three Dimensional Electric Circuits with Multiple Capacitors and Resistors
 
</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, USA</addr-line></aff><pub-date pub-type="epub"><day>21</day><month>08</month><year>2023</year></pub-date><volume>13</volume><issue>03</issue><fpage>379</fpage><lpage>386</lpage><history><date date-type="received"><day>6,</day>	<month>June</month>	<year>2023</year></date><date date-type="rev-recd"><day>19,</day>	<month>August</month>	<year>2023</year>	</date><date date-type="accepted"><day>22,</day>	<month>August</month>	<year>2023</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>
 
 
  Two cubical 3D electric circuits with single and double capacitors and twelve ohmic resistors are considered. The resistors are the sides of the cube. The circuit is fed with a single internal emf. The charge on the capacitor(s) and the current distributions of all twelve sides of the circuit(s) vs. time are evaluated. The analysis requires solving twelve differential-algebraic intertwined symbolic equations. This is accomplished by applying a Computer Algebra System (CAS), specifically Mathematica. The needed codes are included. For a set of values assigned to the elements
  ,
   the numeric results are depicted.
 
</p></abstract><kwd-group><kwd>3D Electric Circuits</kwd><kwd> Capacitors</kwd><kwd> Multiple Resistors</kwd><kwd> Differential-Algebraic Equations</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</title><p>The motivation for considering this project stems from our previous work [<xref ref-type="bibr" rid="scirp.127123-ref1">1</xref>] . In short [<xref ref-type="bibr" rid="scirp.127123-ref1">1</xref>] , the issues of interest for an electric circuit composed of twelve ohmic resistors forming the sides of a 3D cube are addressed. For instance, 1) all seven equivalent resistors of the circuit symbolically were identified and 2) for a chosen set of numeric values assigned to the resistors, the current distributions were graphed. A point of clarification: the considered circuit(s) is an actual three-dimensional structure and does not need to be confused vs. a 3D representation of a 2D circuit customarily constructed with simulation programs e.g. (Lab Report) [<xref ref-type="bibr" rid="scirp.127123-ref2">2</xref>] . The current project in addition to including the twelve resistors embodies one, two, and potentially more capacitors, and the driver instead of being an external is an internal DC emf. The analysis paves the research road generalizing the issues by including numerous emfs with desired polarities. The former scenario [<xref ref-type="bibr" rid="scirp.127123-ref1">1</xref>] ought to be considered the simplest 3D circuit with its challenges. Irrespective of the detailed specifics of the case on hand, the solutions hinge heavily on the employment of a Computer Algebra System (CAS), namely Mathematica. To focus on the issue at hand see <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>This report embodies four sections. In addition to Section 1, Introduction, in Section 2, the needed equations conducive to charge and current distributions in all twelve sides of the cube are identified. Section 3 deals with the second 3D circuit leading to the identification of the currents. Section 4 is the Conclusion and Discussions embodying suggestions for generalizations.</p><p>Noting again the circuit depicted in <xref ref-type="fig" rid="fig1">Figure 1</xref> is an actual 3D structure, i.e. the design of the shown circuit deviates from the norm; this is not a 3D profile of a 2D circuit. A literature search [<xref ref-type="bibr" rid="scirp.127123-ref2">2</xref>] reveals the shown design is a fresh creation and is not addressed yet. The mentioned reference has a module converting a 2D circuit into 3D, this is not the intent of the project in hand. Comparing to [<xref ref-type="bibr" rid="scirp.127123-ref1">1</xref>] , one realizes there are three major differences: 1) there is no outside feeder current, so the issue of the equivalent resistor, R<sub>eq</sub>, is irrelevant, and that 2) an internal emf drives the circuit and 3) the circuit embodies a capacitor. As one may imagine, even the shown design with the embodied elements may be restructured by rearranging the elements e.g. by separating the capacitor from the emf and then inserting them separately on the different sides. This would change the character of the circuit, namely would change the current distributions, etc. In other words, since we may not consider all these interesting scenarios in one report, we rather focus only on one. However, our analysis provides clues for generalizations.</p><p>Nonetheless, the analysis hinges on applications of limited principles. These are Kirchhoff’s laws, specifically, the nodal and loop laws. Paraphrasing the laws, they state: the node law, the algebraic sum of the currents at any node is null. And the loop law indicates in a closed circuit, the algebraic sum of the emfs equals the algebraic ohmic voltage drops across the resistors [<xref ref-type="bibr" rid="scirp.127123-ref3">3</xref>] .</p><p>Although on the face, the mentioned laws should solve the issues on hand, namely the identification of the currents and charge on the capacitor, because the charge on the capacitor and the capacitor’s feeder current differential-wise related to the set of governing equations instead of being coupled algebraic equations are differential-algebraic equations. The issue becomes more complicated because as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>, the eight nodes of the cube and all twelve currents are intertwined. The symbolic solution to the problem poses a mathematical challenge. That is why the solution calls for the deployment of a CAS. This is addressed in the next section.</p><p>With this introduction we processed, first, by applying Kirchhoff’s laws, we form the needed equations. For the mentioned reasons, since there are eight corners and twelve sides to the cube, we foresee twelve coupled equations. However, because the master capacitor’s equation is q = (ΔV) C with q being the charge on the capacitor, ΔV, the voltage across the cap, and because the diver current is related to the charge via i = dq/dt, the nodal law leads to differential equations. In short, the twelve equations become differential-algebraic intertwined</p><p>equations. We solve the equations by applying Mathematica [<xref ref-type="bibr" rid="scirp.127123-ref4">4</xref>] . The solutions are symbolic and for a set of assigned numeric values, the results are depicted graphically.</p></sec><sec id="s2"><title>2. Applied Kirchhoff’s Laws</title><p>All the resistors and associated currents are labeled as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>. The side AB &#175; includes a single emf, ϵ , a capacitor, C and a resistor, R. Because of the character of the capacitor that deals with the charge rather than the current Kirchhoff’s node law ought to be reformatted by underlying the conservation of charge rather than the currents at the nodes. Therefore, the nodal law for the circuit on hand applies not to the conservation of current but rather to the conservation of charge. These are embodied in (1).</p><p>{ e q 1 = q 1 ( t ) + q 4 ( t ) + q 9 ( t ) = 0 e q 2 = q 1 ( t ) − q 2 ( t ) − q 10 ( t ) = 0 e q 3 = q 2 ( t ) + q 3 ( t ) − q 11 ( t ) = 0 e q 4 = q 4 ( t ) − q 3 ( t ) − q 12 ( t ) = 0 e q 5 = q 9 ( t ) − q 5 ( t ) − q 8 ( t ) = 0 e q 6 = q 5 ( t ) + q 10 ( t ) − q 6 ( t ) = 0 e q 8 = q 8 ( t ) + q 12 ( t ) − q 7 ( t ) = 0 (1)</p>Applied Kirchhoff’s Laws to Circuit Shown in <xref ref-type="fig" rid="fig3">Figure 3</xref><p>By the same token, the applied loop law results in the set of Equation (2).</p><p>{ e q 9 = ϵ − R 1 q ′ 1 ( t ) − 1 c 1 q 1 ( t ) − R 10 q ′ 10 ( t ) + R 5 q ′ 5 ( t ) + R 9 q ′ 9 ( t ) = 0 e q 10 = R 3 q ′ 3 ( t ) + R 11 q ′ 11 ( t ) − R 7 q ′ 7 ( t ) − R 12 q ′ 12 ( t ) = 0 e q 11 = R 2 q ′ 2 ( t ) + R 11 q ′ 11 ( t ) − R 6 q ′ 6 ( t ) − R 10 q ′ 10 ( t ) = 0 e q 12 = R 4 q ′ 4 ( t ) + R 12 q ′ 12 ( t ) − R 8 q ′ 8 ( t ) − R 9 q ′ 9 ( t ) = 0 e q 13 = ϵ − R 1 q ′ 1 ( t ) − 1 C 1 q 1 ( t ) − R 2 q ′ 2 ( t ) + R 3 q ′ 3 ( t ) + R 4 q ′ 4 ( t ) = 0 (2)</p><p>In (2), primes mean derivative w/time.</p><p>The set of Equations (1) and (2) contains twelve coupled differential-algebraic equations. Solving these equations for the unknowns q<sub>n</sub>[t] with the initial conditions q<sub>n</sub>[t = 0] = 0 and the chosen values of R<sub>n</sub> for n = 1 , 2 , ⋯ , 12 yield q<sub>n</sub>[t] and the associated currents i<sub>n</sub>[t].</p><p>Applying Mathematica DSolve, we solve the equations symbolically. The output fills pages leading to no insight. On the other hand, we select a set of numeric values for the emf, capacitor, and resistors. For the case of twelve identical resistors, and { ϵ , c, R} = {10. V, 1.0 F, 1.0 Ω}, noting c<sub>1</sub> = c, and by applying NDSolve the deduced numeric solutions are displayed in twelve plates in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>solqEqualR=NDSolve[{eq1,eq2,eq3,eq4,eq5,eq6,eq8,eq9,eq10,eq11,eq12,eq13,q<sub>1</sub>[<xref ref-type="bibr" rid="scirp.127123-ref0">0</xref>]==0,q<sub>2</sub>[<xref ref-type="bibr" rid="scirp.127123-ref0">0</xref>]==0,q<sub>3</sub>[<xref ref-type="bibr" rid="scirp.127123-ref0">0</xref>]==0,q<sub>4</sub>[<xref ref-type="bibr" rid="scirp.127123-ref0">0</xref>]==0,q<sub>5</sub>[<xref ref-type="bibr" rid="scirp.127123-ref0">0</xref>]==0,q<sub>6</sub>[<xref ref-type="bibr" rid="scirp.127123-ref0">0</xref>]==0,q<sub>7</sub>[<xref ref-type="bibr" rid="scirp.127123-ref0">0</xref>]==0,q<sub>8</sub>[<xref ref-type="bibr" rid="scirp.127123-ref0">0</xref>],q<sub>9</sub>[<xref ref-type="bibr" rid="scirp.127123-ref0">0</xref>]==0,q<sub>10</sub>[<xref ref-type="bibr" rid="scirp.127123-ref0">0</xref>]==0,q<sub>11</sub>[<xref ref-type="bibr" rid="scirp.127123-ref0">0</xref>]==0,q<sub>12</sub>[<xref ref-type="bibr" rid="scirp.127123-ref0">0</xref>]==0}/.{R<sub>1</sub>-&gt;R,R<sub>2</sub>-&gt;R,R<sub>3</sub>-&gt;R,R<sub>4</sub>-&gt;R,R<sub>5</sub>-&gt;R,R<sub>6</sub>-&gt;R,R<sub>7</sub>-&gt;R,R<sub>8</sub>-&gt;R,R<sub>9</sub>-&gt;R,R<sub>10</sub>-&gt;R,R<sub>11</sub>-&gt;R,R<sub>12</sub>-&gt;R}/.{ϵ-&gt;10.,c-&gt;1.,R-&gt;1.0},{q<sub>1</sub>,q<sub>2</sub>,q<sub>3</sub>,q<sub>4</sub>,q<sub>5</sub>,q<sub>6</sub>,q<sub>7</sub>,q<sub>8</sub>,q<sub>9</sub>,q<sub>10</sub>,q<sub>11</sub>,q<sub>12</sub>},{t,0,10}] (3)</p><p>As shown the capacitor is being charged and the feeder current, the red curve exponentially fades away as expected. This is expected and is referred to as the “gold standard”.</p><p>Each plate in <xref ref-type="fig" rid="fig2">Figure 2</xref> contains two curves, a blue and a red. The blue curves are the time-dependent charge, and the red curves are their slopes, i.e. the currents. For instance, the first plate confirms the accuracy of the solution, i.e. this represents the “gold standard” of a charging RC-series circuit. The charge accumulates gradually and the feeder current fades out. The feature is true for all the twelve sides, although the “sign” of the charge and the direction of the current in some cases, e.g. Plate 3, is opposite of Plate 1. Meaning in an actual circuit current runs in the opposite direction. The character of the shown curves in <xref ref-type="fig" rid="fig2">Figure 2</xref> does make physics sense although without providing our results they would not have been predictable. Note also each frame shows all the currents fade as expected.</p><p>There are general variations to the presented analysis. 1) With the above-mentioned code we may simulate: a) for any desired set of chosen non-identical resistors and b) for any chosen value of the capacitor. The former is completed but not included in this report. 2) The RC may be inserted in any one of the sides of the circuit. This will change the characters in all twelve plates in <xref ref-type="fig" rid="fig2">Figure 2</xref>, expecting no extraordinary surprises. 3) The three elements in the AB side, namely, ϵ , R, and C may be separated, and each element may be inserted on different sides of the cube! …there are many possibilities. As a potential research project, the author wishes to leave the investigation to the interest of the reader. To investigate the latter, one may tweak the given (1), (2) and code (3) expecting no major code alterations to produce results.</p><p>Another topic of interest: the individual who is reading this report and is familiar with the “gold standard” of the RC circuit maybe interested in asking</p><p>about the “effective” resistance of the resistor in the RC circuit of the AB side in <xref ref-type="fig" rid="fig1">Figure 1</xref>! Although all the twelve resistors are set to unity, R = 1.0 Ω the value of that resistor in the RC cannot be 1.0 Ω. This is because the other eleven resistors through the cubic network alter its value. To find its effective value we use the red colored current in Plate 1 in <xref ref-type="fig" rid="fig2">Figure 2</xref>. The abscissa of the intersection of a horizontal line with the ordinate of the 1/eth value of the maximum current is 2.67 s. Because this condition requires t/RC = 1 for C = 1.0 F this yields R = 2.67 Ω. In other words, a cube composed of 12 identical 1.0 Ω resistors makes the resistor that is in series with the 1.0 F capacitor 2.67 Ω.</p></sec><sec id="s3"><title>3. An Alternate 3D Circuit Design</title><p>Motivated with the progress made in Section 2, we designed a circuit shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><p>As shown this circuit is different from the one shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>. This one includes two capacitors inserted on two different sides of the cube. Notice, there is no specific reason for our choice, the second capacitor may be interested in any of the eleven sides. Here we report the result of the shown configuration. An interested reader may exercise I to place the second capacitor in any of the eleven sides II to insert non-equal resistors and capacitors and III to insert more than one capacitor in the sides of the cube. In other words, many cases yield to different scenarios. Here we report our findings for the circuit shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><p>To so doing, we replace eq12 of (2) with eq12 of (4). The mentioned replacement with (1) and modified (2) leads to the needed equations. The solutions, q(t), and the associated currents, i(t) = dq(t)/dt, noticing c<sub>8</sub> = c<sub>1</sub> = c = 1.0 F, yield the depicted plates in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><p>e q 12 = R 4 q ′ 4 ( t ) + R 12 q ′ 12 ( t ) − 1 C 8 q 8 ( t ) − R 8 q ′ 8 ( t ) − R 9 q ′ 9 ( t ) = 0 (4)</p><p>One notices the characters of the charges and the currents in <xref ref-type="fig" rid="fig2">Figure 2</xref> and <xref ref-type="fig" rid="fig4">Figure 4</xref> are different. The time of the latter is extended to 20 s revealing the asymptote feature. Despite their differences, they share a common feature, all the currents as expected over time plunge to zero as they should. Among all twelve cases, plates #6 and #8 are the peculiar ones. Especially, plate #8 shows the capacitor c8 starts uncharged after going through charging it loses the accumulated charge ending up with a discharged status. During this process, since there is more than one feeder current at the end of the shown time, the overall current vanishes.</p></sec><sec id="s4"><title>4. Conclusion and Comments</title><p>The motivation for crafting this report stems from thinking about the electric circuits that are different from what is in the literature. We designed a variety of circuits and suggested variations conducive to potential generalization. All these are different from the traditional 2D circuits. In our previous work [<xref ref-type="bibr" rid="scirp.127123-ref1">1</xref>] , we considered a cubic circuit with “only” twelve resistors driven by an exterior source. Here, in this report, we considered an actual 3D cubic structure circuit with twelve resistors embodying one and then two capacitors driven by an internal power supply. For the latter, we discovered previously not reported current distributions. As an extension, one may consider a similar but generalized circuit by including ten more capacitors tailed to each of the resistors in <xref ref-type="fig" rid="fig3">Figure 3</xref>. The analysis becomes more challenging but doable. The current report and its potential suggested generalization add to the body of knowledge. For Mathematica codes, the interested reader would find [<xref ref-type="bibr" rid="scirp.127123-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.127123-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.127123-ref7">7</xref>] resourceful.</p></sec><sec id="s5"><title>Acknowledgments</title><p>The author acknowledges the John T. and Page S. Smith Professorship funds for completing and publishing this work.</p></sec><sec id="s6"><title>Conflicts of Interest</title><p>The author declares no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s7"><title>Cite this paper</title><p>Sarafian, H. (2023) Three Dimensional Electric Circuits with Multiple Capacitors and Resistors. American Journal of Computational Mathematics, 13, 379-386. https://doi.org/10.4236/ajcm.2023.133021</p></sec></body><back><ref-list><title>References</title><ref id="scirp.127123-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Sarafian, H. (2023) 3D_MultiResistor Electric Circuit. American Journal of Computational Mathematics, 13, 342-349. https://doi.org/10.4236/ajcm.2023.132017</mixed-citation></ref><ref id="scirp.127123-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">NI Multisim. https://www.ni.com/en-us/support/downloads/software-products/download.multisim.html#452133</mixed-citation></ref><ref id="scirp.127123-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Bauer, W. and Westfall, G. (2011) University Physics with Modern Physics. McGraw Hill, New York.</mixed-citation></ref><ref id="scirp.127123-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Mathematica V13.2 (2022) http://Wolfram.com</mixed-citation></ref><ref id="scirp.127123-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Wolfram, S. (2003) Mathematica Book. 5th Edition, Cambridge University Press, Cambridge.</mixed-citation></ref><ref id="scirp.127123-ref6"><label>6</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.127123-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Sarafian, H. (2015) Mathematica Graphics Example Book for Beginners. Scientific Research Publishing, Wuhan.</mixed-citation></ref></ref-list></back></article>