// Numbas version: exam_results_page_options {"name": "Sine and Cosine Functions", "extensions": ["eukleides", "jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Sine and Cosine Functions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "tags": ["category: miscellaneous", "skill: 422, Sin and Cos as functions"], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "variables": {"pairs": {"name": "pairs", "group": "Ungrouped variables", "definition": "[\n [\"sin\",3],\n [\"cos\",4],\n [\"sin\",5],\n [\"cos\",6],\n [\"cos\",3]\n]", "description": "", "templateType": "anything"}, "pair": {"name": "pair", "group": "Ungrouped variables", "definition": "random(pairs)", "description": "", "templateType": "anything"}, "fn": {"name": "fn", "group": "Ungrouped variables", "definition": "pair[0]", "description": "", "templateType": "anything"}, "scale": {"name": "scale", "group": "Ungrouped variables", "definition": "pair[1]", "description": "", "templateType": "anything"}, "expr": {"name": "expr", "group": "Ungrouped variables", "definition": "expression(\"sin({scale}x)\")", "description": "", "templateType": "anything"}, "period": {"name": "period", "group": "Ungrouped variables", "definition": "expression(\"2*pi/{scale}\")", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["pairs", "pair", "fn", "scale", "expr", "period"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the period of the function $\\var{expr}$?

\n

($\\pi$ should appear in your answer)

", "answer": "{period}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": []}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}