// Numbas version: finer_feedback_settings {"name": "Simple toriodal solenoid formulae and values", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Simple toriodal solenoid formulae and values", "tags": [], "metadata": {"description": "Computation of quantities in a sequence of linked equations.", "licence": "All rights reserved"}, "statement": "

A torus made of a material with a relative permeability of {mur} has a wire wound around it {turns} times. The torus has circular cross section of area {areacm} cm$^2$ and the ring has an overall radius of {radius} cm. This solenoid is then connected to a power supply, and a current of {current} Amps is passed through the wire.

\n

When providing numerical answers you may express them using scientific notation.  Express values to four significant figures and use the values of physical constants as provided in the course notes.

", "advice": "

This question is an example of a series of linked quantities. 

\n

${\\rm MMF}= N i=${mmf} Amps

\n

$|H|=\\displaystyle{{\\rm MMF}\\over {\\rm path~length}}=\\displaystyle{Ni\\over2\\pi R}=${Hfield} A/m

\n

$|B|=\\mu_0\\mu_r|H|=\\mu|H|=${Bfield} T

\n

$\\phi=B A=${phi} Wb

\n

$\\Psi = N \\phi=${Psi} Wb

\n

$L = \\displaystyle{\\Psi\\over i}=${inductance} Henrys

\n

$\\text{Stored energy}={1\\over2}Li^2=${energy1} Joules

\n

In the redesign questions, it's simplest to write out the full equation dependence of the quantity being sought upon the variable being changed.

\n

For the energy dependence upon the number of turns, we can write

\n

$\\displaystyle \\text{Stored energy}={1\\over2}Li^2={1\\over 2}{\\Psi\\over i}i^2={1\\over 2}{N\\phi}i={1\\over 2}NBAi={1\\over 2}N\\mu HAi={1\\over 2}N\\mu {Ni\\over 2\\pi R}Ai={\\mu Ai^2 \\over 4\\pi R}N^2$

\n

Thus, the energy stored is proportional to the number of turns squared, so, say, to increase the stored energy by a factor of 4 one would need to double the number of turns.  This may not be feasible as there may be space constraints, and an increased number of turns will increase the electrical resistance of the coil.

", "rulesets": {}, "extensions": [], "variables": {"pathlength": {"name": "pathlength", "group": "Ungrouped variables", "definition": "2*pi*rring", "description": "

Magnetic path length, m.

", "templateType": "anything"}, "energy2": {"name": "energy2", "group": "Ungrouped variables", "definition": "siground(energy1*4,2)", "description": "

Scaled up energy target, Joules.

", "templateType": "anything"}, "current": {"name": "current", "group": "Ungrouped variables", "definition": "random(0.1..1#0.1)", "description": "

Current through the core, Amps.

", "templateType": "anything"}, "newturns": {"name": "newturns", "group": "Ungrouped variables", "definition": "precround(sqrt(2*pathlength*energy2/(current^2*mu0*mur*area)),0)", "description": "

Number of turns required to yield higher energy.

", "templateType": "anything"}, "newmur": {"name": "newmur", "group": "Ungrouped variables", "definition": "newperm/mu0", "description": "

Revised relative permeability required for higher energy storage.

", "templateType": "anything"}, "radius": {"name": "radius", "group": "Ungrouped variables", "definition": "rring*100", "description": "

Radius of ring in cm.

", "templateType": "anything"}, "energy1": {"name": "energy1", "group": "Ungrouped variables", "definition": "siground(0.5*inductance*current^2,4)", "description": "

Stored energy under initial condtions, Joules.

", "templateType": "anything"}, "newperm": {"name": "newperm", "group": "Ungrouped variables", "definition": "siground((2*pathlength*energy2/(turns^2*current^2*area)),4)", "description": "

Revised permeability for higher energy storage, H/m.

", "templateType": "anything"}, "areacm": {"name": "areacm", "group": "Ungrouped variables", "definition": "siground(area*10^4,4)", "description": "

Cross sectional areas in cm^2.

", "templateType": "anything"}, "hfield": {"name": "hfield", "group": "Ungrouped variables", "definition": "mmf/pathlength", "description": "

Magnetising field strength in A/m.

", "templateType": "anything"}, "psi": {"name": "psi", "group": "Ungrouped variables", "definition": "phi*turns", "description": "

Flux linkage, Wb.

", "templateType": "anything"}, "turns": {"name": "turns", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "

No. of turns of wire wrapped around the core.

", "templateType": "anything"}, "inductance": {"name": "inductance", "group": "Ungrouped variables", "definition": "psi/current", "description": "

Inductance of coil, Henrys.

", "templateType": "anything"}, "mmf": {"name": "mmf", "group": "Ungrouped variables", "definition": "turns current", "description": "

Magnetomotive force in Amps.

", "templateType": "anything"}, "area": {"name": "area", "group": "Ungrouped variables", "definition": "pi rcore^2", "description": "

cross-sectional area of core in m^2.

", "templateType": "anything"}, "bfield": {"name": "bfield", "group": "Ungrouped variables", "definition": "hfield*mur*mu0", "description": "

Magnetic flux density in Telsa.

", "templateType": "anything"}, "mu0": {"name": "mu0", "group": "Ungrouped variables", "definition": "4*pi*10^-7", "description": "

Permeability of free space in H/m

", "templateType": "anything"}, "phi": {"name": "phi", "group": "Ungrouped variables", "definition": "bfield*area", "description": "

Magnetic flux passing through the core, Wb.

", "templateType": "anything"}, "newcurrent": {"name": "newcurrent", "group": "Ungrouped variables", "definition": "siground(sqrt(2*pathlength*energy2/(turns^2*mu0*mur*area)),4)", "description": "

Revised current required to increase stored energy, Amps.

", "templateType": "anything"}, "rring": {"name": "rring", "group": "Ungrouped variables", "definition": "rcore+random(0.5..1.5)*0.01", "description": "

Radius of torus in m.

", "templateType": "anything"}, "rcore": {"name": "rcore", "group": "Ungrouped variables", "definition": "random(0.5..1.5#0.1)*0.01", "description": "

radius of core in m.

", "templateType": "anything"}, "mur": {"name": "mur", "group": "Ungrouped variables", "definition": "random(90..150#5)", "description": "

Relative permeability of core.

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["area", "areacm", "bfield", "current", "energy1", "energy2", "hfield", "inductance", "mmf", "mu0", "mur", "newcurrent", "newturns", "pathlength", "phi", "psi", "radius", "rcore", "rring", "turns", "newperm", "newmur"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "Magnetomotive force", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Calculate the magnetomotive force (MMF).

\n

MMF$=$ [[0]] Amps

\n

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "mmf", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "mmf*0.995", "maxValue": "mmf*1.005", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en", "scientific"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": true, "customName": "Magnetising field strength", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Calculate the magnetising field strength.

\n

$|\\vec{H}|=$ [[0]] Amps/m

\n

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "H", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "hfield*0.995", "maxValue": "hfield*1.005", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en", "scientific"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": true, "customName": "Magnetic flux density", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Calculate the magnetic flux density.

\n

$|\\vec{B}|=$ [[0]] Tesla

\n

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "B", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "bfield*0.995", "maxValue": "bfield*1.005", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en", "scientific"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": true, "customName": "Magnetic flux in the core", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Calculate the magnetic flux in the core.

\n

$\\phi=$ [[0]] Wb

\n

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "phi", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "phi*0.995", "maxValue": "phi*1.005", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en", "scientific"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": true, "customName": "Flux linking the coil", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Calculate the magnetic flux linking the coil (the flux linkage).

\n

$\\Psi=$ [[0]] Wb

\n

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "phi", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "psi*0.995", "maxValue": "psi*1.005", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en", "scientific"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": true, "customName": "Inductance", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Calculate the coil inductance.

\n

$L=$ [[0]] Henrys

\n

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "L", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "inductance*0.995", "maxValue": "inductance*1.005", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en", "scientific"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

The solenoid as stated above stores {energy1} Joules of energy.  However, for the application that the designer has in mind it needs to store at least {energy2} Joules.  The plan is to change one part of the solenoid design.

"}, {"type": "gapfill", "useCustomName": true, "customName": "Redesign option 1", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

If in order to increase the energy storage the designer will increase the number of turns, how many will be needed?

\n

[[0]] turns

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "Turns", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "newturns*0.995", "maxValue": "newturns*1.005", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en", "scientific"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": true, "customName": "Redesign option 2", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Alternatively, if in order to increase the energy storage the designer will increase the current, what value of current will be required?

\n

[[0]] Amps

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "Current", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "newcurrent*0.995", "maxValue": "newcurrent*1.005", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en", "scientific"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": true, "customName": "Redesign option 3", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Finally, if in order to increase the energy storage the designer will swap the torus for a material with a different permeability, what value is required?

\n

$\\mu=$ [[0]] H/m

\n

$\\mu_r=$ [[1]]

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "Permeability", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "newperm*0.995", "maxValue": "newperm*1.005", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en", "scientific"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Relative permeability", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "newmur*0.995", "maxValue": "newmur*1.005", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en", "scientific"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Jon Goss", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3925/"}]}]}], "contributors": [{"name": "Jon Goss", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3925/"}]}