// Numbas version: exam_results_page_options {"name": "Adding voltages using phasors", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Adding voltages using phasors", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

You are provided with two voltages, both of which have the same angular frequency $\\omega$:

\n

\\[ v_1(t) = \\simplify{{max_V_1}*cos}\\left(\\omega t + \\var{phase_1}\\right), \\]

\n

\\[ v_2(t) = \\simplify{{max_V_2}*sin}\\left(\\omega t + \\var{phase_2}\\right). \\]

\n

You will first find the constituent parts of their phasor forms, before using these to add together the voltages to yield a single sinusoidal voltage which represents their sum.

", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"max_V_1": {"name": "max_V_1", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "max_V_2": {"name": "max_V_2", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything", "can_override": false}, "phase_1": {"name": "phase_1", "group": "Ungrouped variables", "definition": "precround(random(1..12)*pi/12,2)", "description": "", "templateType": "anything", "can_override": false}, "phase_2": {"name": "phase_2", "group": "Ungrouped variables", "definition": "precround(random(1..12)*pi/12,2)", "description": "", "templateType": "anything", "can_override": false}, "phase_2_pos": {"name": "phase_2_pos", "group": "Ungrouped variables", "definition": "if(phase_2 - pi/2 < 0, 2*pi + phase_2 - pi/2, phase_2 - pi/2)", "description": "", "templateType": "anything", "can_override": false}, "max_V_sum": {"name": "max_V_sum", "group": "Ungrouped variables", "definition": "sqrt((max_V_1*cos(phase_1) + max_V_2*cos(phase_2_pos))^2 + (max_V_1*sin(phase_1) + max_V_2*sin(phase_2_pos))^2)", "description": "", "templateType": "anything", "can_override": false}, "phase_sum_init": {"name": "phase_sum_init", "group": "Ungrouped variables", "definition": "arg((cos(phase_1) + cos(phase_2_pos))+i*(sin(phase_1) + sin(phase_2_pos)))", "description": "", "templateType": "anything", "can_override": false}, "phase_sum_pos": {"name": "phase_sum_pos", "group": "Ungrouped variables", "definition": "if(phase_sum_init < 0, phase_sum_init + 2*pi, phase_sum_init)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["max_V_1", "max_V_2", "phase_1", "phase_2", "phase_2_pos", "max_V_sum", "phase_sum_init", "phase_sum_pos"], "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": "

What is the modulus of the voltage $v_1(t) = \\simplify{{max_V_1}*cos}\\left(\\omega t + \\var{phase_1}\\right)$?

", "minValue": "max_V_1", "maxValue": "max_V_1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": 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, "exploreObjective": null, "prompt": "

What is the phase of the voltage $v_1(t) = \\simplify{{max_V_1}*cos}\\left(\\omega t + \\var{phase_1}\\right)$?

", "minValue": "phase_1", "maxValue": "phase_1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": 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, "exploreObjective": null, "prompt": "

What is the modulus of the voltage $v_2(t) = \\simplify{{max_V_2}*sin}\\left(\\omega t + \\var{phase_2}\\right)$?

", "minValue": "max_V_2", "maxValue": "max_V_2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": 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, "exploreObjective": null, "prompt": "

What is the phase of the voltage $v_2(t) = \\simplify{{max_V_2}*sin}\\left(\\omega t + \\var{phase_2}\\right)$?

", "minValue": "phase_2_pos", "maxValue": "phase_2_pos", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": 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, "exploreObjective": null, "prompt": "

What is the modulus of $v_1(t) + v_2(t)$?

", "minValue": "max_V_sum", "maxValue": "max_V_sum", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": 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, "exploreObjective": null, "prompt": "

What is the phase of $v_1(t) + v_2(t)$ when written as a sinusoid of the form

\n

\\[ V\\simplify{cos}\\left(\\omega t + \\phi\\right)? \\]

", "minValue": "phase_sum_pos", "maxValue": "phase_sum_pos", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Alexander Corner", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5328/"}]}]}], "contributors": [{"name": "Alexander Corner", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5328/"}]}