Add a fifth exercise to the resistor colours exercise about 6-band resistors, and it also needs you to define 1,3,4 and 5 band resistors in the code
Would this add something new to the exercises that isn’t already present in the other ones?
Since you said add a fifth exercise, that gives me pause. Only Crystal, PowerShell, and Python have a fourth Resistor Color exercise on top of the canonical three-exercise series other tracks can implement. This fourth exercise is specific to those tracks so which track are you proposing to add a fifth exercise to?
It will add the heat coefficent in 6-band resistors
This is just a idea,so the track could be any of those listed,along with any other track with the forth Exercise
To me, the first Resistor Color exercise is about a color represents a specific value. The second is about how a color’s value changes based on position. The third is about how what a color represents also changes based on position. So what concepts might we be able to explore that the previous three hadn’t?
The exact same as the fourth exercise
Edit-Not the exact same,sorry!
If it’s the exact same, without adding something new, there may not be very much value in adding it. Generally we add new exercises that introduce something new.
If it’s the same as the track-specific fourth exercise, should we be having a discussion about adding Resistor Color Expert to the problem specifications? If there’s a maintainer consensus, then all tracks have a fourth Resistor Color exercise available to implement.
By exact same ,I mean the key change is the same- one new variable(but with different colour code values), and a returning set(3 bands)
Sorry for the the misunderstanding, I should not have said exact same
6-band resistor, where there is both tolerance and temperature coefficient?
Temperature coefficient introduces a new unit (ppm/K - 100 parts per million for each degree Kelvin of temperature change), and calculating resistance becomes a tad more complicated, so we might be able to make the exercise about calculating resistance for different temperature ranges.
But that would be the extent of it - the color matching and other aspects are almost the same as the other 4 exercises, so not sure how exciting we could make a 5th one. But it is also late at night for me – so I am not at my creative best. ![]()
One thought:
Temperature-Stable Resistor Networks:
When designing circuits with multiple 6-band resistors, maintaining temperature stability across the entire network is crucial. Use our series resistor calculator or parallel resistor calculator to calculate total resistance while considering how temperature coefficients affect overall circuit stability.
…so it (maybe) could be about determining a stable configuration, given several 6-band resistors in a network…
I demand that if we do this, the exercise name needs to be Resistance is Futile. ![]()
Today I learned that some tracks have a fourth exercise in the ‘resistor bands’ series, which seems like it could be a good candidate for a canonical exercise. I’m in favour of porting that to the problem-spec.
I have no thoughts no useful thoughts about a potential fifth ‘resistor bands’ exercise. As others have said, it’d have to add some layer of complexity or new concept to the already existing exercises in the ‘series’ and it’d have to be somewhat realistic too.
have at it! resistor-color-expert
. I will have to dig, but I think we were uber-lazy and made mock canonical data for it, so I might have the JSON laying around someplace… Sadly, no. I thought we did, but not for this exercise. Should be pretty straightforward to make tho.
I did! PR is here
Took me longer to lint and format properly, than to write up the whole thing. I’m a bit out of practice evidently.
Woot! Dunno if we still do this, but this exercise also has an introduction.md in addition to the description.md. But I do think it reads fine as-is w/just the description. ![]()
That ,along with 3 band resistors being included(value,value,multiplier,[default tolerance]