// Numbas version: finer_feedback_settings {"name": "Instrument Design 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["L", "n"], "name": "Instrument Design 2", "tags": ["check", "rebelmaths"], "advice": "
Use the formula x_n=L*(1-0.5^(n/12)), where n is the fret in question, with n=0 at the nut, x_n is the distance from the n^th fret to the nut and L is the scale length.
", "rulesets": {}, "parts": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "1", "maxValue": "{L}*(1-1/(2^({n}/12)))", "minValue": "{L}*(1-1/(2^({n}/12)))", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": "2", "showPrecisionHint": false, "type": "numberentry"}], "extensions": [], "statement": "The scale length of a mandolin is $\\var{L}$ mm. At what distance from the nut should the $\\var{n}$th fret be placed if equal temperament is used? Give your answer correct to one decimal place.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"L": {"definition": "random(505..612#0.1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "L", "description": ""}, "n": {"definition": "random(1..18#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "n", "description": ""}}, "metadata": {"description": "rebelmaths
\nPosition of a fret on a fretboard, relative to the nut.
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Clodagh Carroll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/384/"}]}]}], "contributors": [{"name": "Clodagh Carroll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/384/"}]}