// Numbas version: finer_feedback_settings {"name": "V and M - sign convention", "extensions": [], "custom_part_types": [], "resources": [["question-resources/LPP.svg", "LPP.svg"], ["question-resources/RNP.svg", "RNP.svg"], ["question-resources/LNN.svg", "LNN.svg"], ["question-resources/RPN.svg", "RPN.svg"], ["question-resources/LNP.svg", "LNP.svg"], ["question-resources/RPP.svg", "RPP.svg"], ["question-resources/LPN.svg", "LPN.svg"], ["question-resources/RNN.svg", "RNN.svg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "V and M - sign convention", "tags": ["Mechanics", "mechanics", "shear", "shear and bending", "Statics", "statics"], "metadata": {"description": "
Concept check on sign convention for shear and bending moment diagrams
", "licence": "Creative Commons Attribution-NonCommercial 4.0 International"}, "statement": "According to the standard sign convention for internal shear {indexes}and bending moment,
", "advice": "The diagram shows positive shear and positive bending moments on both sides of a cut.
\nRPN means right side, positive shear, negative moment
", "templateType": "anything", "can_override": false}, "indexes": {"name": "indexes", "group": "Ungrouped variables", "definition": "shuffle(0..7)[0..2]", "description": "2 random unique files
", "templateType": "anything", "can_override": false}, "pics": {"name": "pics", "group": "Ungrouped variables", "definition": "[files[indexes[0]], files[indexes[1]]]", "description": "", "templateType": "anything", "can_override": false}, "cuts": {"name": "cuts", "group": "Ungrouped variables", "definition": "pics[0][0] + pics[1][0]", "description": "", "templateType": "anything", "can_override": false}, "cut1": {"name": "cut1", "group": "Ungrouped variables", "definition": "image(\"resources/question-resources/{pics[0]}\",12)", "description": "", "templateType": "anything", "can_override": false}, "cut2": {"name": "cut2", "group": "Ungrouped variables", "definition": "image(\"resources/question-resources/\"+ pics[1],12)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "cuts = 'LR' or cuts='RL' // want both kinds", "maxRuns": 100}, "ungrouped_variables": ["files", "indexes", "pics", "cuts", "cut1", "cut2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": "p.svg {width:180px;}"}, "parts": [{"type": "1_n_2", "useCustomName": true, "customName": " Cut 1", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "{cut1}
\nThe internal forces on Cut 1 are a
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["positive shear and positive bending moment.", "positive shear and negative bending moment.", "negative shear and positive bending moment.", "negative shear and negative bending moment."], "matrix": ["if(\"PP\" in pics[0], 5,0)", "if(\"PN\" in pics[0], 5,0)", "if(\"NP\" in pics[0],5,0)", "if(\"NN\" in pics[0], 5,0)"], "distractors": ["", "", "", ""]}, {"type": "1_n_2", "useCustomName": true, "customName": "Cut 2", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "{cut2}
\nThe internal forces on Cut 2 are a
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["positive shear and positive bending moment.", "positive shear and negative bending moment.", "negative shear and positive bending moment.", "negative shear and negative bending moment."], "matrix": ["if(\"PP\" in pics[1], 5,0)", "if(\"PN\" in pics[1], 5,0)", "if(\"NP\" in pics[1], 5,0)", "if(\"NN\" in pics[1], 5,0)"], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "William Haynes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2530/"}], "resources": ["question-resources/LPP.svg", "question-resources/RNP.svg", "question-resources/LNN.svg", "question-resources/RPN.svg", "question-resources/LNP.svg", "question-resources/RPP.svg", "question-resources/LPN.svg", "question-resources/RNN.svg"]}]}], "contributors": [{"name": "William Haynes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2530/"}]}