<?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.132017</article-id><article-id pub-id-type="publisher-id">AJCM-125797</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>
 
 
  3D_Multi Resistor Electric Circuit
 
</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>05</day><month>05</month><year>2023</year></pub-date><volume>13</volume><issue>02</issue><fpage>342</fpage><lpage>349</lpage><history><date date-type="received"><day>28,</day>	<month>April</month>	<year>2023</year></date><date date-type="rev-recd"><day>23,</day>	<month>June</month>	<year>2023</year>	</date><date date-type="accepted"><day>26,</day>	<month>June</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>
 
 
  This report addresses the issues concerning the analysis of an electric circuit composed of multiple resistors configured in a 3-Dimension structure. Noting, 
  all the standard textbooks of physics and engineering irrespective of the used components are circuits assembled in two dimensions. Here, by deviating from the 
  “
  norm
  ”
   we consider a case where the resistors are arranged in a 3D structure; e.g., a cube. Although, independent of the dimension of the design the same physics principles apply, transitioning from a 2D to a 3D makes the corresponding analysis considerably challenging. In general, with no exception, depending on the used components the analysis faces with solving a set of either algebraic or differential-algebraic equations. Practically, this interfaces with a Computer Algebra System (CAS). The main objective is symbolically to identify the current distributions and the equivalent resistor (s) of cubically assembled resistors.
 
</p></abstract><kwd-group><kwd>3D Electric Circuit</kwd><kwd> Equivalent Resistor</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>As noted, the main objective of this report is to learn about the various aspects of electric systems in a 3D structure. For the sake of simplicity, a cube is considered with sides embodying twelve electric resistors. Shortly, the lesson learned is used in circuits embodying elements other than resistors. For the time being, the case on hand is limited to twelve different-valued ohmic resistors. One of the objectives is to seek an equivalent resistor (s), R<sub>eq</sub>. E.g., to identify one resistor to replace the “cubic resistor” containing all twelve resistors in a circuit, R<sub>eq</sub>, without altering the feeder and departing currents. See <xref ref-type="fig" rid="fig1">Figure 1</xref> for a better understanding of the issue. For simple 2D circuits, this is a classic question with a well-known answer [<xref ref-type="bibr" rid="scirp.125797-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.125797-ref2">2</xref>] . A literature search shows no answer is available for a 3D case. This report answers. The answer is not unique because the R<sub>eq</sub> has a value depending on the contact points of the feeder and the departing current. Since the cube has eight corners, even by selecting the feeder’s vertex the current can depart at any of the other seven vertices; providing seven pairs associated with seven different R<sub>eq</sub>, see <xref ref-type="fig" rid="fig1">Figure 1</xref> again. This report with the help of a CAS, specifically Mathematica [<xref ref-type="bibr" rid="scirp.125797-ref3">3</xref>] generates all the seven symbolic results. Meaning without assigning numeric values to the twelve resistors we provide a symbolic expression for all R<sub>eq</sub>. But then of course the symbolic results are converted to numeric. While deriving the needed information we also were able to derive symbolic expressions for the currents in each of the twelve resistors. Hence, we generate information about the distribution of these currents. Graphs of these distributions for chosen numeric values of the currents are shown.</p><p>With these objectives, we craft a report answering these questions. The report is composed of three sections. In Section 2 the specifics of a 3-Dimensional case are presented. It contains the basic needed physics principles with associated Mathematica codes. The solution of the equations on hand symbolically and numerically is given.</p><p>The symbolic word intentionally is italicized emphasizing the power of Mathematica codes to solving the equations and at the end numeric are giving as well; noting Mathematica is not an Excel [<xref ref-type="bibr" rid="scirp.125797-ref4">4</xref>] .</p><p>And finally, the 3rd Sect. is the conclusion and we outlined the lesson learned and the future-plan.</p></sec><sec id="s2"><title>2. A 3-Dimensional Cubic Circuit Embodying 12 Different Symbolic Ohmic Resistors</title><p>The 3D circuit of interest is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>. It is composed of twelve different-valued symbolic ohmic resistors. The resistors are the sides of the cube. Objectively one might ask why a cube and not any other 3D-shaped structure. This is addressed shortly in the upcoming report. As shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>, the cube is being fed with a current at one of the selected vertices, e.g., vertex A, it could depart the structure at any one of the seven leftover vertices, e.g., vertex G. As pointed out, the interest is to replace the twelve resistors with one unique resistor, R<sub>eq</sub>, without altering the incoming and the outgoing currents. Since anyone of the seven vertices leads to a different R<sub>eq</sub>, seven different R<sub>eq</sub>s are calculated.</p><p>Irrespective of the chosen pair, one needs to apply Kirchhoff’s laws; the nodal and the loop laws to generate adequate information addressing the issue of interest. In short, the nodal law states the net current at any vertex is null, and the loop law says in any closed loop the net emf equals the net voltage drop across the ohmic resistors. Although these laws are sound, in practice they lead to multiple-coupled linear equations that are cumbersome to solve numerically let alone symbolically! Here is where the project is tied to a CAS, specifically Mathematica.</p><p>By applying the mentioned laws, we form the needed equations.</p>Analysis<p>The currents split along the sides of the cube, applying the nodal law this gives eight separates but intertwined linear equations. The currents are labeled i<sub>n</sub> as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>. Conventionally, the incoming currents are positive, and the outgoing ones are negative. The nodes are labeled and shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>nodeA = i − i 1 − i 4 − i 9 ;</p><p>nodeB = i 1 − i 2 − i 10 ;</p><p>nodeC = i 2 + i 3 − i 11 ;</p><p>nodeD = i 4 − i 3 − i 12 ;</p><p>nodeE = i 9 − i 5 − i 8 ;</p><p>nodeF = i 5 + i 10 − i 6 ;</p><p>nodeG = i 6 + i 7 + i 11 ;</p><p>nodeH = i 8 + i 12 − i 7 ;</p><p>Applying the loop law gives another set of needed intertwined equations. The loops are labeled and shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>loopABFEA = R 1 i 1 + R 10 i 10 − R 5 i 5 − R 9 i 9 ;</p><p>loopDCGHD = R 3 i 3 + R 11 i 11 − R 7 i 7 − R 12 i 12 ;</p><p>loopBCGFB = R 2 i 2 + R 11 i 11 − R 6 i 6 − R 10 i 10 ;</p><p>loopADHEA = R 4 i 4 + R 12 i 12 − R 8 i 8 − R 9 i 9 ;</p><p>loopABCDA = R 1 i 1 + R 2 i 2 − R 3 i 3 − R 4 i 4 ;</p><p>With the mentioned set of twelve equations, one might try solving them symbolically. This requires a non-singular 12 &#215; 12 determinant, its matrix is,</p><p>( − 1 0 0 − 1 0 0 0 0 − 1 0 0 0 1 − 1 0 0 0 0 0 0 0 − 1 0 0 0 1 1 0 0 0 0 0 0 0 − 1 0 0 0 − 1 1 0 0 0 0 0 0 0 − 1 0 0 0 0 − 1 0 0 − 1 1 0 0 0 0 0 0 0 0 − 1 0 0 0 1 0 0 0 0 0 0 0 0 − 1 1 0 0 0 1 R 1 0 0 0 − R 5 0 0 0 − R 9 R 10 0 0 0 0 R 3 0 0 0 − R 7 0 0 0 R 11 − R 12 0 R 2 0 0 0 − R 6 0 0 0 − R 10 R 11 0 0 0 0 R 4 0 0 0 − R 8 − R 9 0 0 R 12 R 1 R 2 − R 3 − R 4 0 0 0 0 0 0 0 0 )</p><p>Applying Mathematic the determinant becomes an expression with 384 symbolic terms, containing all kinds of terms. The expression is long, it fills pages. We avoid its display.</p><p>However, if one assumes identical resistors with value R, the matrix becomes,</p><p>( − 1 0 0 − 1 0 0 0 0 − 1 0 0 0 1 − 1 0 0 0 0 0 0 0 − 1 0 0 0 1 1 0 0 0 0 0 0 0 − 1 0 0 0 − 1 1 0 0 0 0 0 0 0 − 1 0 0 0 0 − 1 0 0 − 1 1 0 0 0 0 0 0 0 0 − 1 0 0 0 1 0 0 0 0 0 0 0 0 − 1 1 0 0 0 1 R 0 0 0 − R 0 0 0 − R R 0 0 0 0 R 0 0 0 − R 0 0 0 R − R 0 R 0 0 0 − R 0 0 0 − R R 0 0 0 0 R 0 0 0 − R − R 0 0 R R R − R − R 0 0 0 0 0 0 0 0 )</p><p>Its determinant reduces to one term only with a value of −384R<sup>5</sup>. This ensures the existence of a non-zero solution.</p><p>Here we would like to comment on solving this set of intertwined linear equations. Solving these equations symbolically is a monumental task. If one assigned numeric value to the resistors the equations easily may be solved with numeric-based software, e.g. even Excel. Here the issue is sought for the solution symbolically. To our surprise, Mathematica does the job. As one may imagine the solution is extremely long filling pages, even Mathematica output is abbreviated. We avoid showing the result, but noting the problem is solved. Here is the code,</p><p>Solve[{nodeA = = 0, nodeB = = 0, nodeC = = 0, nodeD = = 0, nodeE = = 0, nodeF = = 0, nodeH = = 0, loopABFEA = = 0, loopDCGHD = = 0, loopBCGFB = = 0, loopADHEA = = 0, loopABCDA = = 0}, {i<sub>1</sub>, i<sub>2</sub>, i<sub>3</sub>, i<sub>4</sub>, i<sub>5</sub>, i<sub>6</sub>, i<sub>7</sub>, i<sub>8</sub>, i<sub>9</sub>, i<sub>10</sub>, i<sub>11</sub>, i<sub>12</sub>}];</p><p>To verify the accuracy of the solutions, i.e., the currents, one may compare the output vs. the intuitive expectation. For identical resistors at any corner of the cube, the incoming currents should split evenly amongst the other two sides. The code EquaRs sets the resistors equal to R. E.g., for R = 1.0 Ω we get,</p><p>EquaRs = {R<sub>1</sub> → R, R<sub>2</sub> → R, R<sub>3</sub> → R, R<sub>4</sub> → R, R<sub>5</sub> → R, R<sub>6</sub> → R, R<sub>7</sub> → R, R<sub>8</sub> → R, R<sub>9</sub> → R, R<sub>10</sub> → R, R<sub>11</sub> → R, R<sub>12</sub> → R}</p><p>The code is given in the next line. The output is the currents labeled i<sub>n</sub> for n = 1, 2, …, 12.</p><p>soliEqualR = Solve[{nodeA = = 0, nodeB = = 0, nodeC = = 0, nodeD = = 0, nodeE = = 0, nodeF = = 0, nodeH = = 0, loopABFEA = = 0, loopDCGHD = = 0, loopBCGFB = = 0, loopADHEA = = 0, looBCDA = = 0}/.EquaRs, {i<sub>1</sub>, i<sub>2</sub>, i<sub>3</sub>, i<sub>4</sub>, i<sub>5</sub>, i<sub>6</sub>, i<sub>7</sub>, i<sub>8</sub>, i<sub>9</sub>, i<sub>10</sub>, i<sub>11</sub>, i<sub>12</sub>}]</p><p>{{i<sub>1</sub> → i/3, i<sub>2</sub> → i/6, i<sub>3</sub> → i/6, i<sub>4</sub> → i/3, i<sub>5</sub> → i/6, i<sub>6</sub> → i/3, i<sub>7</sub> → i/3, i<sub>8</sub> → i/6, i<sub>9</sub> → i/3, i<sub>10</sub> → i/6, i<sub>11</sub> → i/3, i<sub>12</sub> → i/6}}</p><p>As one notices e.g., at vertex A, the incoming current i splits evenly amongst the connected sides, 1, 4, and 9. This is also true at any of the seven vertices. Assuming the numeric value of the feeder current is 1.0 Amp, the value of all twelve currents is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>In <xref ref-type="fig" rid="fig2">Figure 2</xref>, the horizontal axis is the Indices associated with the corresponding currents. e.g., 4 on the horizontal axis corresponds to i<sub>4</sub> with the value of 0.33 Amp.</p><p>The shown solution should not be confined to equal resistors. Here we consider a case where the numeric values of all resistors are different. The listing specialNonEqualR is one such case. Applying the given code in the text, Solve gives the numeric values of all twelve currents. The graph of these currents is shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>. All the currents are associated with the value of the feeder current i, as expected. For instance, by setting the i = 1 Amp the numeric values are depicted in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><p>specialNonEqualR = {R<sub>1</sub> → 1, R<sub>2</sub> → 2, R<sub>3</sub> → 3, R<sub>4</sub> → 4, R<sub>5</sub> → 5, R<sub>6</sub> → 6, R<sub>7</sub> → 7, R<sub>8</sub> → 8, R<sub>9</sub> → 9, R<sub>10</sub> → 10, R<sub>11</sub> → 11, R<sub>12</sub> → 12}</p><p>{{i<sub>1</sub> → (1,507,727 i)/2,870,812, i<sub>2</sub> → (8721 i)/29,596, i<sub>3</sub> → (170,671 i)/2,870,812, i<sub>4</sub> → (671,897 i)/2,870,812, i<sub>5</sub> → (380,987 i)/2,870,812, i<sub>6</sub> → (1,042,777 i)/2,870,812, i<sub>7</sub> → (811,427 i)/2,870,812, i<sub>8</sub> → (310,201 i)/2,870,812, i<sub>9</sub> → (172,797 i)/717,703, i<sub>10</sub> → (330,895 i)/1,435,406, i<sub>11</sub> → (254,152 i)/717,703, i<sub>12</sub> → (250,613 i)/1,435,406}}</p><p>The other objective of this report is to replace the twelve different valued resistors shown in <xref ref-type="fig" rid="fig1">Figure 1</xref> with one, R<sub>eq</sub>. As mentioned, this depends on the chosen pair. For instance, if the cube is being fed at vertex A, this can be paired with seven vertices requiring seven different R<sub>eq</sub>, we are reporting all seven. Having symbolic expressions for all R<sub>eq</sub> and because these are super lengthy expressions, we avoid including them in the report. But for special numeric cases, these are included.</p><p>Here we give the code calculating symbolic R<sub>eq</sub> for the AH &#175; pair see <xref ref-type="fig" rid="fig1">Figure 1</xref>. For a special case of identical resistors, this is,</p><p>(R<sub>1</sub>i<sub>1</sub> + R<sub>2</sub>i<sub>2</sub> − R<sub>3</sub>i<sub>3</sub> + R<sub>12</sub>i<sub>12</sub>)/i/.soliEqualR/.EquaRs (*AH*)</p><p>{R/2}</p><p>And for R = 1 Ω this gives 0.5 Ω. Exercising the same procedure for all seven pairs gives values that are depicted in <xref ref-type="fig" rid="fig4">Figure 4</xref> and <xref ref-type="fig" rid="fig5">Figure 5</xref>.</p></sec><sec id="s3"><title>3. Conclusion and Comment</title><p>We set out crafting this report addressing the issues concerning electric circuits in a 3D structure. One of the issues of interest is the calculation of R<sub>eq</sub>. That is instead of placing a cube with twelve different-valued resistors in a circuit to place one resistor, equivalent-resistor without altering the input and output currents. Addressing this issue led to the evaluation of not one but seven different possible R<sub>eq</sub>. This report has identified all seven not only numerically but symbolically. The latter has been achieved merely because of the deployed CAS, specifically Mathematica. As an unintentional side product, we also generated symbolic expressions for the currents running in all twelve sides of the cube irrespective of the values of the resistors. This project keenly is tied with a CAS, otherwise, it couldn’t have been completed. The literature search reveals no similar report whatsoever. Motivated by the outcome the author will report shortly the R<sub>eq</sub>s for structures other than a cube. We have provided the needed Mathematica codes. An interested individual may reproduce our results and potentially generalize it on a need basis. Concerning the embedded codes references [<xref ref-type="bibr" rid="scirp.125797-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.125797-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.125797-ref7">7</xref>] are resourceful.</p></sec><sec id="s4"><title>Acknowledgements</title><p>The author acknowledges the John T. and Page S. Smith Professorship funds for completing and publishing this work.</p></sec><sec id="s5"><title>Conflicts of Interest</title><p>The author declares no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s6"><title>Cite this paper</title><p>Sarafian, H. (2023) 3D_Multi Resistor Electric Circuit. American Journal of Computational Mathematics, 13, 342-349. https://doi.org/10.4236/ajcm.2023.132017</p></sec></body><back><ref-list><title>References</title><ref id="scirp.125797-ref1"><label>1</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.125797-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Haillday, D., Resnick, R. and Walker, J. (2013) Fundamental of Physics Extended. 12th Edition, Wiley John &amp; Sons, Inc., New Jersey.</mixed-citation></ref><ref id="scirp.125797-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Mathematica V13.1 (2022) http://Wolfram.com</mixed-citation></ref><ref id="scirp.125797-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Excel, Standard Package in Microsoft 365. http://Microsoft/Excel</mixed-citation></ref><ref id="scirp.125797-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.125797-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.125797-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>