Algorithm for connecting resistances

Ask questions about projects relating to: computer science or pure mathematics (such as probability, statistics, geometry, etc...).

Moderators: kgudger, bfinio, Moderators

Locked
islamfaisal
Posts: 13
Joined: Tue Sep 18, 2012 3:25 am
Occupation: Undergraduate Student, Computer Engineering
Project Question: N/A, Volunteer
Project Due Date: N/A
Project Status: Not applicable

Algorithm for connecting resistances

Post by islamfaisal »

Hello our dear experts,

I've been thinking of a problem, which is given as input N number of electric resistances values and a desired value M, output a way that you can connect(parallel/series) all of the resistances to get the desired value. Is this a good idea to research into. Would this algorithm benefit us in such things other than the problem of how to find the way of connecting the electric resistances?

Kind regards,
akbarkhan
Former Expert
Posts: 28
Joined: Thu Aug 30, 2012 9:21 pm
Occupation: Computer Engineer
Project Question: NA
Project Due Date: NA
Project Status: Not applicable

Re: Algorithm for connecting resistances

Post by akbarkhan »

In order to develop an algorithm to count the number of resistances to be found in a circuit, requires a deep understanding of physics (When are series, parallel, a comination of both resistors to be used? How would you know how to translate resistance configuration to deliver desired functionality?), network theory (basics of circuit design), and software programming (once the algorithm is developed, this may not be too bad). This may be too much for an average high school science project given the broad range of expertise required.

Options going forward:
1. Consult with your physics teacher to help develop framework for developing required algorithm.
2. Review ideas for another project from this website.

Good luck.
islamfaisal
Posts: 13
Joined: Tue Sep 18, 2012 3:25 am
Occupation: Undergraduate Student, Computer Engineering
Project Question: N/A, Volunteer
Project Due Date: N/A
Project Status: Not applicable

Re: Algorithm for connecting resistances

Post by islamfaisal »

Thanks for reply! I'd like to know how this algorithm can be of help in real life. For example, why would it be fair to use a bunch of resistances while we can use only one? Are there other problems that can be modeled to this problem and hence be solved by this algorithm. Or I can go anyway and develop the algorithm even if it would be useless in real-life.

Regards,
hhemken
Former Expert
Posts: 266
Joined: Mon Oct 03, 2005 3:16 pm

Re: Algorithm for connecting resistances

Post by hhemken »

Islamfaisal,

Have you researched the topic much yet? For example, by googling your keywords:

Code: Select all

algorithm resistance parallel series
Good luck!

Heinz Hemken
Heinz Hemken
Mentor
Science Buddies Expert Forum
BillBushnell
Posts: 8
Joined: Thu Jan 31, 2013 1:52 pm
Occupation: Electrical Engineer - Retired
Project Question: Volunteer
Project Due Date: n/a
Project Status: Not applicable

Re: Algorithm for connecting resistances

Post by BillBushnell »

Islamfaisal,

Interesting proposed topic. I am sure that you could develop an algorithm to select the resistors to approximate the desired overall resistance. This can be done by ordering the N restitors by size and selcting the first resistor that comes closest to M (the desired resistance) and then interating across the remaining resistors. The algorithm would search for the best resistor to add in series or parrallel to get closer to M. Then the algorithm would search for the third resistor, etc. One of the challenges is to know how many resistors to place into the circuit so that you get as close to the desired value M as possible. I suggest that you also look for a way to access the efficiency of your algorithm. For example, is it providing the optimal solution?

You asked if this algorthim would have practical applications. I doubt if the specific resistor selection problem you described has practical applications. I expect that integrated circuit designers just design the resistor element on the chip to have the dimensions needed to provide the desired resistance.

However, there are many practical problems in which there is no precise formula that provides the correct answer. Search algorithms are created to interate on the possible combinations until an answer of suitable accuracy is found. For example see that attached link for the classic "Bin Packing" problem.

http://en.wikipedia.org/wiki/Bin_packing_problem

Best of luck,

Bill B.
Locked

Return to “Grades 9-12: Math and Computer Science”