Skip to main content

Questions tagged [electrical-engineering]

This tag indicates that the challenge involves electrical components such as resistors in some way (e.g. counting the total resistance of a set of resistors).

17 votes
1 answer
573 views

This problem is based on, A337517, the most recent OEIS sequence with the keyword "nice". \$a(n)\$ is the number of distinct resistances that can be produced from a circuit with exactly \$n\...
Peter Kagey's user avatar
  • 8,165
12 votes
9 answers
1k views

Objective Simulate an edge-triggered D Flip-Flop. What is D Flip-Flop? A D flip-flop is an electronic digital device that outputs an inputted data (abbr. D) with synchronization to a clock (abbr. ...
Dannyu NDos's user avatar
  • 7,381
22 votes
48 answers
4k views

Introduction: Two resistors, R1 and R2, in parallel (denoted R1 || R2) have a combined ...
Stewie Griffin's user avatar
9 votes
3 answers
406 views

Write a program or function that takes input: all resistors available and a resistance value and outputs a truthy value of whether or not it is possible to get the resistance by using those resistors. ...
Vedant Kandoi's user avatar
9 votes
8 answers
401 views

AWG (American Wire Gauge) is a common way of specifying wire sizes. Your task in this challenge is to convert from a given gauge to the diameter of the wire in inches. The size in inches for the ...
Maltysen's user avatar
  • 25.8k
8 votes
2 answers
383 views

Resistors and other electronic components are typically manufactured with values that conform to one of the E-series of preferred numbers. IEC 60063 defines the following E-series: E6: 10 15 22 33 ...
Digital Trauma's user avatar
32 votes
4 answers
3k views

Ohm's law tells us that the current (I) in amps flowing through a resistance (R) in Ohms when a voltage (V) is applied across it is given as follows: V = I / R ...
Digital Trauma's user avatar
17 votes
18 answers
3k views

Theory Kirchhoff’s Current Law (KCL) says that when you sum up all the electric currents (positive for the electric currents going to a junction, and negative for electric currents leaving a junction),...
Sixty-six's user avatar
  • 187
18 votes
5 answers
1k views

The picture below shows a RLC circuit. A RLC circuit is an electrical circuit consisting of a resistor (R), an inductor (L), and a capacitor (C), connected in series or in parallel. (1) In order to ...
Stewie Griffin's user avatar
11 votes
1 answer
717 views

SPICE is an electrical circuit simulation program originating from UC Berkeley. Your goal is to implement a minimalistic version which can solve for the nodal voltages and branch currents of a circuit ...
helloworld922's user avatar
5 votes
4 answers
619 views

Introduction The Fibonacci Linear Feedback Shift Register (LFSR) is a digital circuit which generates a stream of random-looking bits. It consists of several 1-bit flip-flops in a row, with certain ...
phosgene's user avatar
  • 1,205
25 votes
12 answers
3k views

Introduction When building an electronics project, a schematic may call for a resistor of an unusual value (say, 510 ohms). You check your parts bin and find that you have no 510-ohm resistors. But ...
phosgene's user avatar
  • 1,205
7 votes
2 answers
1k views

You are a contractor for a company who designs electrical circuits for the various products they make. One day, the company accidentally gets a huge shipment of one-ohm resistors and absolutely ...
Joe Z.'s user avatar
  • 35.5k
5 votes
1 answer
360 views

There is already a problem on here about calculating the total resistance of a resistor diagram. However, that problem deals only with series-parallel diagrams, which are trivially reducible. Here I ...
Joe Z.'s user avatar
  • 35.5k
10 votes
2 answers
1k views

Good Afternoon Golfers, Our challenge for today is inspired by XKCD comics 356 and 370. We're going to write a program to calculate the resistance of a group of resistors. A forewarning that this is ...
lochok's user avatar
  • 3,209