Omniadisce

What a circuit problem is

A circuit problem gives readers a live circuit simulator (CircuitJS). They build a circuit, or fix the one you start them with, and press Check answer. Their circuit is simulated, and the server compares what it measures with your requirements: how many parts, what values, which currents and voltages.

WordWhat it isExample
Solution circuitYour working circuit. Readers see it only after they solve the problem or reveal the solution.A 9 V battery, a 470 ฮฉ resistor and an LED in series
Starting circuitWhat readers begin with. Optional: leave it empty for a blank canvas.The battery and LED placed, but not connected
RequirementA part, a measurement and the range it must fall in.The LED current is between 5 mA and 20 mA

Requirements check what the circuit does, not how it's drawn. Any layout that meets them passes, so readers can find their own answer.

Your first circuit problem

Open New post โ†’ Problem โ†’ Circuit.

  1. Build the working circuit in the editor. See using the simulator.
  2. Use it as the solution. Press โœ“ Use editor circuit as solution.
  3. Make the starting circuit (optional). Change the editor's circuit into what readers should start from, e.g. delete the resistor, and press Use editor circuit as starting circuit.
  4. Generate requirements. Press โš™ Generate requirements from solution. Your solution is simulated and requirements are suggested from it.
  5. Edit them so they describe any correct answer, not just yours. See requirements.
  6. Verify. Press โœ” Verify solution & starting circuit. Your solution must pass every requirement, and the starting circuit must fail at least one.
  7. Write the problem: title, the situation, the question with the targets in it, a worked solution and hints. Then publish.

Publishing runs Verify again. A problem whose starting circuit already passes, or whose solution fails, won't publish.

Using the simulator

Add a part

Right-click the canvas, or use the Draw menu. Batteries, resistors, LEDs, switches, capacitors, lamps, meters and more.

Wire it

Drag from a part's terminal to another terminal. A wire that ends in mid-air connects nothing.

Set a value

Double-click a part: a resistor's resistance, a battery's voltage, a capacitor's capacitance.

Read it

The simulation runs live. Hover over a part to see its current and voltage; moving dots show the current flowing.

The toolbar above the editor loads your solution or starting circuit back in, clears the canvas, or goes full screen.

Circuits from elsewhere. Paste the text from CircuitJS File โ†’ Export As Textโ€ฆ into the Solution circuit box, or Upload .txt a file saved with File โ†’ Save As. Circuits made on falstad.com/circuit usually work too, as long as they use the basic parts.

The two circuits

Starting circuitThe task becomesGood for
EmptyBuild it from nothing.Confident readers; open design tasks.
Parts placed, not wiredConnect them correctly.Beginners: series and parallel, polarity.
Working, but wrongChange a value: the LED is too bright, the lamp too dim.Ohm's law, choosing a resistor.
BrokenFind the fault and fix it.Troubleshooting: a reversed LED, a missing ground, a short.

Why: a starting circuit takes away the drawing work that isn't the point, so readers spend their effort on the idea you're teaching.

Requirements: what counts as right

Each requirement row has a description (what readers see), a part, a measure, which parts it applies to, and a min and max. All requirements must pass, and so must one that's always added: the circuit simulates without errors.

Generate requirements from solution suggests: how many of each part, source values, LED and lamp currents, resistor voltages and voltmeter readings, each with a tolerance. Then:

  • Delete what doesn't matter. If any resistor value works as long as the LED is safe, remove the resistor-value requirement and keep the LED current.
  • Widen the ranges to what the task really asks. "The LED current between 5 mA and 20 mA" accepts every sensible resistor; "between 15.1 and 15.3 mA" accepts only yours.
  • Count parts with care. "Exactly 1 resistor" stops readers who use two in series. Use a range, or no count, unless the count is the point.
  • Rewrite the descriptions in plain words; readers see them as the task's checklist.

Values accept SI prefixes: 15m = 0.015, 4.7k = 4700, 100ยต or 100u = 0.0001. Leave Max empty for "at least".

One reading, at one moment. The circuit is measured once, after it has run for the simulation time before checking (1.5 s by default). Raise it only for slow capacitors or inductors that need longer to settle. With an AC source, a current or voltage is the value at that instant, not an average, so check AC circuits by part counts and values instead.

The words around it

  • The situation, with the numbers that matter: "A red LED needs about 2 V and at most 20 mA. You have a 9 V battery."
  • The question, with its targets. "Choose a resistor so the LED current is between 5 and 20 mA." Readers should never have to guess what the checker wants.
  • The worked solution: the calculation, e.g. $R = (9 - 2) / 0.015 \approx 470\ \Omega$, and why the range allows other values.
  • Hints, from gentle to direct: which law applies, then which numbers to put in it.

Problem ideas

ProblemStarting circuitRequirements
Protect the LED9 V battery and LED, no resistorLED current 5 to 20 mA
Make a voltage dividerEmptyVoltmeter reading 2.9 to 3.1 V; DC source value 9 V
Brighter in parallelTwo lamps in series on one battery, both dimEvery lamp's voltage at least 8 V on a 9 V battery (only in parallel do both get the full voltage)
Fix the reversed LEDLED in backwardsLED current at least 5 mA
Power budgetA resistor that overheatsEvery resistor's power at most 0.25 W

What readers see

  • The question, and Your circuit must satisfy: your requirement descriptions as a checklist.
  • The simulator with your starting circuit, โ†บ Reset Circuit and full screen.
  • Check answer, with each requirement ticked or crossed and what was measured. Their first real answer counts for the solve rate; they can keep trying afterwards. Checking the untouched starting circuit doesn't use it up.
  • Hints, one at a time, and Reveal the solution, which lets them load your circuit into the simulator.

When something's wrong

What you seeWhat it meansFix
The starting circuit passesReaders would be done before they start.Change the starting circuit, or tighten a requirement.
Your solution fails a requirementYour own circuit doesn't meet it.Read the measured value under it; widen the range or fix the circuit.
No LED found in your circuitA requirement names a part the circuit doesn't have.Delete the requirement, or check the part type (a diode is not an LED).
Simulator errorThe circuit can't be solved: often a loop of wires, two sources in parallel, or no path for current.Load the circuit in the editor and look for the loop or the missing connection; add a ground.
A min or max outlined in redIt isn't a number the checker can read.Write it as 470, 4.7k or 15m.

Using your circuit problem

  • As a problem: it appears in the feed and under Simulations in search.
  • In a lesson: add a Try it step and search for it. Solving it, or revealing the solution, completes the step. See the lesson guide.
  • In a course: add it as an item; it counts as practice. See the course guide.

Log in to build a circuit problem

Requirement reference

Parts

resistor, LED, diode, Zener diode, DC source, AC source, current source, capacitor, inductor, switch, lamp, voltmeter, ground and wire. Other parts can be in the circuit, but a requirement can't name them.

Measures

MeasureWhat it readsUnit
countHow many of that part the circuit has
currentThe current through the part, either directionA
voltageThe voltage across the part, either way roundV
powerThe power in the partW
valueThe value it's set to: a resistor's resistance (ฮฉ), a capacitor's capacitance (F), an inductor's inductance (H), a source's voltage (V) or current (A), a lamp's rating (W)by part

Current, voltage and power ignore the sign, so a part drawn the other way round still passes.

Applies to

  • all: every part of that kind must be in range. "Every resistor's power at most 0.25 W."
  • any: at least one must be. "One of the resistors is between 900 ฮฉ and 1.1 kฮฉ."

Limits

Up to 30 requirements per problem, and up to 500 parts in a circuit.

× Enlarged view