cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Mathcad Community Challenge September 2022 - Resistors in Parallel

DaveMartin
16-Pearl

Mathcad Community Challenge September 2022 - Resistors in Parallel

This month’s challenge is related to electrical engineering. We have a simple circuit with an electrical potential of 220 Volts. Initially we have a single 10 Ohm resistor. Then we add a second resistor in parallel, with 10% higher resistance. Then we add a third resistor in parallel, with 10% higher resistance than the previous resistor. And so on.

  • Calculate the current in the circuit for the single resistor case.
  • Calculate the resistance of each additional resistor and current through each resistor for 2, 3, 4, 5, and 10 resistors in parallel.
  • Can you write a function or program that calculates the resistance of each resistor and current through each resistor for n resistors in parallel?

These calculations are fairly straightforward, so it will be interesting to see what tools – vectors, matrices, loops, plots, charts, etc. – that you use to solve the problem. As always, how you document your calculations is important as your worksheet will be visible to the community.

Here is an example of three resistors in parallel, as drawn in Creo Schematics:

Resistors Challenge.png

Find the Mathcad Community Challenge Guidelines here!

Dave Martin - dmartin@creowindchill.com - https://www.mcaeconsulting.com
33 REPLIES 33
Cornel
19-Tanzanite
(To:DaveMartin)

Hello,

My first try (Mathcad Prime 7):

CornelBejan_1-1662624905454.png

CornelBejan_2-1662624930754.png

 

LucMeekes
23-Emerald III
(To:DaveMartin)

Here's a solution in Prime 4 express.

LucMeekes_0-1662628477835.png

Luc

Calculating resistance and current for each resistor is simple. 

Fred_Kohlhepp_0-1662636469703.png 

Calculating resistance and current for the network is more pertinent:

Fred_Kohlhepp_1-1662636534136.png

Prime Express 4 attached

 

RantEng
14-Alexandrite
(To:DaveMartin)

I like to use Mathcad symbolics for insights into how to derive solutions.  My final and generalized answer for the total resistance equation is: 

RantEng_1-1662656025958.png

 

The complete solution is attached.

 

 

ttokoro
20-Turquoise
(To:RantEng)

In your Mathcad sheet, you write,

When then the resistance approaches zero.

However, Fred, ppal and others show the total parallel resistance is

image.png

RantEng
14-Alexandrite
(To:ttokoro)

Good catch.  I stand corrected.  I was not considering that the the resistors are increasing in value.  Before stating so, I should have taken the extra step to derive the limit as you did, 

 

Bob

ppal
17-Peridot
(To:DaveMartin)

ppal_2-1662669803825.png

 

 

 

 

 

ttokoro
20-Turquoise
(To:DaveMartin)

image.png

ttokoro
20-Turquoise
(To:ttokoro)

Prime 8 with plot.

image.png

ttokoro
20-Turquoise
(To:ttokoro)

image.pngimage.png

ttokoro
20-Turquoise
(To:ttokoro)

image.pngimage.pngimage.pngimage.png

DJNewman
17-Peridot
(To:ttokoro)

Hi @ttokoro , would you care to please attach your worksheet? Not just screenshots?

I manage the Creo and PTC Mathcad YouTube channels for PTC, as well as all PTC Mathcad marketing in general.
LucMeekes
23-Emerald III
(To:DaveMartin)

Here's another incarnation, using recursion to generate the resistor values:

LucMeekes_0-1662726187081.png

Prime 4 attached, works also in Prime Express.

Luc

ppal
17-Peridot
(To:DaveMartin)

Just another one.

ppal_1-1662935205601.png

 

Strib
12-Amethyst
(To:DaveMartin)

Some nice analyses, indeed.

But... don't do this at home!

Even just the first 10 ohm resistor is dissipating 4840 Watts, and the others not much less!   Gonna get toasty in there!

Fred_Kohlhepp
23-Emerald I
(To:Strib)

Yeah, don't try this as home,  Or anywhere else but as an exercise.

 

(We could argue that you deserve the burnt fingers and having to sweep up the charred remains, but . . .) 

 Here's your sign!

Captura de pantalla 2022-09-17 104203.jpg

Captura de pantalla 2022-09-17 104203.jpg

Strib
12-Amethyst
(To:DaveMartin)

Strib_11-1663558647692.png

Strib_12-1663558760491.png

Strib_13-1663558912330.png

 

Strib
12-Amethyst
(To:Strib)

Strib_0-1663581662529.png

 

 

ppal
17-Peridot
(To:Strib)

Please attach the file. 

Strib
12-Amethyst
(To:ppal)

Sure, happy to attach the file.  But NOTE:  there's no Mathcad work here!  The solution is so simple that's not needed.  I simply used Prime as a typing pad.

 

The only thing clever is realizing that it's trivial if viewed from the standpoint of the conductances, and then representing the summation of the conductances and resolving that series with an expression we all remember from high school.   I marked that line with   ***   in the attached mcdx file.

 

 

ppal
17-Peridot
(To:Strib)

Something like this?

ppal_2-1663637169241.png

 

 

Strib
12-Amethyst
(To:ppal)

Yep, that's good with the OP's original parameters.

ATschida
4-Participant
(To:DaveMartin)

 

Very nice calculation!  Well done!

 

Not criticisms, just comments:

       1)    Not sure why you changed the default ORIGIN.  If that's your default choice, okay; but understanding somebody else's sheet may be confusing,

      2)  (And, IMHO opinion, more important)  Don't divide out units in functions unless you absolutely must!  Your equation for total resistance stripped the units.  (I know why,)  But you didn't need to, and the equivalent equation is simpler and  easy to visualize:

Fred_Kohlhepp_0-1664020708010.png

Welcome to Mathcad!

 

Fred:

Thanks for the comments.... I should have simplified the equation a bit!

 

With regards to the ORIGIN change... the thought was that I wanted there to be no R0... R1 was to be the first resistor.  In playing around with the code though, it appears it works a bit differently that I had understood. Working on that...

 

thanks


Adam 

Opting to make a work sheet that uses "for" loops,  is easy for a student to follow, and is scalable.

Announcements

Top Tags