// Numbas version: finer_feedback_settings {"name": "Forskyvningsvektor", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Forskyvningsvektor", "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

En punktladning ligger i punktet \\(S=(\\var{xs},\\,\\var{ys})\\,\\mathrm{m}\\).

\n

Om vi er interessert i det elektriske feltet i punktet \\(P=(\\var{xp},\\,\\var{yp})\\,\\mathrm{m}\\) trenger vi forskyvningsvektoren \\(\\vec R\\) som peker fra S til P.

", "advice": "

En forskyvningsvektor er sluttposisjon minus startposisjon. Her starter vi i kildepunktet S og ender i observasjonspunktet P: \\(\\vec R=\\vec r_P-\\vec r_S\\).

\n

Vi trekker fra komponentvis:

\n

\\[ R_x= \\left[\\var{xp}-(\\var{xs})\\right]\\mathrm{m} =\\var{dx}\\,\\mathrm{m}, \\]

\n

\\[ R_y= \\left[\\var{yp}-(\\var{ys})\\right]\\mathrm{m} =\\var{dy}\\,\\mathrm{m}. \\]

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"xp": {"name": "xp", "group": "Ungrouped variables", "definition": "xs+dx", "description": "", "templateType": "anything", "can_override": false}, "xs": {"name": "xs", "group": "Ungrouped variables", "definition": "random(-3..3)", "description": "", "templateType": "anything", "can_override": false}, "yp": {"name": "yp", "group": "Ungrouped variables", "definition": "ys+dy", "description": "", "templateType": "anything", "can_override": false}, "ys": {"name": "ys", "group": "Ungrouped variables", "definition": "random(-3..3)", "description": "", "templateType": "anything", "can_override": false}, "dx": {"name": "dx", "group": "Ungrouped variables", "definition": "random(-4..4 except 0)", "description": "", "templateType": "anything", "can_override": false}, "dy": {"name": "dy", "group": "Ungrouped variables", "definition": "random(-4..4 except 0)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["ys", "xs", "xp", "yp", "dx", "dy"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

Finn x- og y-komponenten til forskyvningsvektoren:

\n

\\(\\vec{R}=(\\)  [[0]]\\(\\hat{x}+\\)  [[1]]\\(\\hat{y})~\\mathrm{m}\\)

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "minValue": "dx", "maxValue": "dx", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "minValue": "dy", "maxValue": "dy", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false, "inlineCorrectAnswer": true}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "showAllParts": false, "contributors": [{"name": "B\u00f8rge Irgens", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3579/"}], "resources": []}]}], "contributors": [{"name": "B\u00f8rge Irgens", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3579/"}]}