@metadata | sourceLanguage | "en" |
---|
priorityLanguages | |
---|
allowOnlyPriorityLanguages | true |
---|
|
---|
problem.p.1 | "
Circuit schematic problems allow students to create virtual circuits by
arranging elements such as voltage sources, capacitors, resistors, and
MOSFETs on an interactive grid. The system evaluates a DC, AC, or
transient analysis of the circuit.
" |
---|
problem.p.2 | "
For more information, see
" |
---|
problem.p.2.a | "
Circuit Schematic Builder Problem" |
---|
problem.p.2.i | "Building and Running an edX Course" |
---|
problem.p.3 | "
When you add the problem, be sure to select " |
---|
problem.p.3.strong.1 | "Settings" |
---|
problem.p.3.strong.2 | "Display Name" |
---|
problem.p.4 | "You can use the following example problems as models." |
---|
problem.schematicresponse.1.p | "Make a voltage divider that splits the provided voltage evenly." |
---|
problem.schematicresponse.1.answer | "
dc_value = "dc analysis not found"
for response in submission[0]:
if response[0] == 'dc':
for node in response[1:]:
dc_value = node['output']
if dc_value == .5:
correct = ['correct']
else:
correct = ['incorrect']
" |
---|
problem.schematicresponse.1.solution.div.p.1 | "Explanation" |
---|
problem.schematicresponse.1.solution.div.p.2 | "
You can form a voltage divider that evenly divides the input
voltage with two identically valued resistors, with the sampled
voltage taken in between the two.
" |
---|
problem.schematicresponse.2.p | "Make a high-pass filter." |
---|
problem.schematicresponse.2.answer | "
ac_values = None
for response in submission[0]:
if response[0] == 'ac':
for node in response[1:]:
ac_values = node['NodeA']
print "the ac analysis value:", ac_values
if ac_values == None:
correct = ['incorrect']
elif ac_values[0][1] < ac_values[1][1]:
correct = ['correct']
else:
correct = ['incorrect']
" |
---|
problem.schematicresponse.2.solution.div.p.1 | "Explanation" |
---|
problem.schematicresponse.2.solution.div.p.2 | "
You can form a simple high-pass filter without any further
constraints by simply putting a resistor in series with a
capacitor. The actual values of the components do not really
matter in this problem.
" |
---|
display_name | "Circuit Schematic Builder" |
---|