// Numbas version: finer_feedback_settings {"name": "Vraagstuk voetbal", "extensions": ["random_person"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Vraagstuk voetbal", "tags": [], "metadata": {"description": "

Schopafstand berekenen en controleren of de bal in het doel belandt.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

{naam} is {afstand} m verwijderd van het doel en ziet dat de keeper te ver uit hun doel staat. {die} probeert de bal door een lob over de keeper te krijgen. 
De grafiek van de functie met voorschrift $h(x)=\\simplify{-{b}/200*x²}+\\simplify{({afstand}+1)/20*x}$ stelt de baan van de bal voor, met $x$ de afstand (in m) tot {naam} en $h$ de hoogte (in m) van de bal ten opzichte van de grond.

", "advice": "

Om de schopafstand te bepalen, zoek de nulwaarde van de functie.

\n

De positie van {naam} is $x=0$. De andere nulwaarde is $x=\\simplify{({afstand}+1)/20}*\\simplify{200/{b}}=\\simplify{({afstand}+1)/20*200/{b}}=\\var{formatnumber(precround(schopafstand,1),\"plain-eu\")}$

\n

Om te bepalen of de bal in de goal belandt, bereken je de hoogte op een afstand {afstand} m.

\n

Dus $h(\\var{afstand})=\\simplify{-{b}/200*{afstand}²}+\\simplify{({afstand}+1)/20*{afstand}}=\\var{formatnumber(hoogte,\"plain-eu\")}$.

\n

Het is dus {welofniet} goal.

", "rulesets": {}, "extensions": ["random_person"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"afstand": {"name": "afstand", "group": "Ungrouped variables", "definition": "random(20 .. 30#1)", "description": "", "templateType": "randrange", "can_override": false}, "naam": {"name": "naam", "group": "Ungrouped variables", "definition": "person['name']", "description": "", "templateType": "anything", "can_override": false}, "die": {"name": "die", "group": "Ungrouped variables", "definition": "if(person[\"pronouns\"][\"they\"]='he','Hij','Zij')", "description": "", "templateType": "anything", "can_override": false}, "person": {"name": "person", "group": "Ungrouped variables", "definition": "random_person()", "description": "", "templateType": "anything", "can_override": false}, "schopafstand": {"name": "schopafstand", "group": "Ungrouped variables", "definition": "(afstand+1)/20*200/b", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(8 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "hoogte": {"name": "hoogte", "group": "Ungrouped variables", "definition": "-b/200*afstand^2+(afstand+1)/20*afstand", "description": "", "templateType": "anything", "can_override": false}, "goal": {"name": "goal", "group": "Ungrouped variables", "definition": "if(hoogte<2.54,[1,0],[0,1])", "description": "", "templateType": "anything", "can_override": false}, "JaNee": {"name": "JaNee", "group": "Ungrouped variables", "definition": "['Ja','Nee']", "description": "", "templateType": "anything", "can_override": false}, "welofniet": {"name": "welofniet", "group": "Ungrouped variables", "definition": "if(hoogte<2.54,'een','geen')", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["afstand", "naam", "die", "person", "schopafstand", "b", "hoogte", "goal", "JaNee", "welofniet"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "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": "

Wat is de afstand tussen {naam} en het punt waar de bal de grond weer raakt.

", "minValue": "schopafstand", "maxValue": "schopafstand", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "1", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en", "plain-eu"], "correctAnswerStyle": "plain-eu"}, {"type": "1_n_2", "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": "

Het doel is 2,54 m hoog.
Belandt de bal in het doel?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": "JaNee", "matrix": "goal"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Hans Denayer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18121/"}]}]}], "contributors": [{"name": "Hans Denayer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18121/"}]}