// Numbas version: exam_results_page_options {"name": "FEM #2", "extensions": [], "custom_part_types": [], "resources": [["question-resources/3_Springs_RWtq3Yl.jpg", "/srv/numbas/media/question-resources/3_Springs_RWtq3Yl.jpg"], ["question-resources/gsm1.jpg", "/srv/numbas/media/question-resources/gsm1.jpg"], ["question-resources/gsm1_v7hUrSp.jpg", "/srv/numbas/media/question-resources/gsm1_v7hUrSp.jpg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"k4": {"description": "", "name": "k4", "group": "Ungrouped variables", "definition": "random(170..250#10)", "templateType": "randrange"}, "a11": {"description": "", "name": "a11", "group": "Ungrouped variables", "definition": "k1", "templateType": "anything"}, "a21": {"description": "", "name": "a21", "group": "Ungrouped variables", "definition": "-k1", "templateType": "anything"}, "k2": {"description": "", "name": "k2", "group": "Ungrouped variables", "definition": "random(150..210#10)", "templateType": "randrange"}, "a42": {"description": "", "name": "a42", "group": "Ungrouped variables", "definition": "0", "templateType": "anything"}, "a33": {"description": "", "name": "a33", "group": "Ungrouped variables", "definition": "k2+k3", "templateType": "anything"}, "a12": {"description": "", "name": "a12", "group": "Ungrouped variables", "definition": "-k1", "templateType": "anything"}, "a23": {"description": "", "name": "a23", "group": "Ungrouped variables", "definition": "-k2", "templateType": "anything"}, "a43": {"description": "", "name": "a43", "group": "Ungrouped variables", "definition": "-k3", "templateType": "anything"}, "a32": {"description": "", "name": "a32", "group": "Ungrouped variables", "definition": "-k2", "templateType": "anything"}, "k3": {"description": "", "name": "k3", "group": "Ungrouped variables", "definition": "random(140..290#10)", "templateType": "randrange"}, "a13": {"description": "", "name": "a13", "group": "Ungrouped variables", "definition": "0", "templateType": "anything"}, "a22": {"description": "", "name": "a22", "group": "Ungrouped variables", "definition": "k1+k2", "templateType": "anything"}, "k1": {"description": "", "name": "k1", "group": "Ungrouped variables", "definition": "random(120..250#10)", "templateType": "randrange"}, "a24": {"description": "", "name": "a24", "group": "Ungrouped variables", "definition": "0", "templateType": "anything"}, "u3": {"description": "", "name": "u3", "group": "Ungrouped variables", "definition": "{a22}*{k4}/({a22}*{a33}-{a23}*{a32})", "templateType": "anything"}, "a34": {"description": "", "name": "a34", "group": "Ungrouped variables", "definition": "-k3", "templateType": "anything"}, "a14": {"description": "", "name": "a14", "group": "Ungrouped variables", "definition": "0", "templateType": "anything"}, "a41": {"description": "", "name": "a41", "group": "Ungrouped variables", "definition": "0", "templateType": "anything"}, "det": {"description": "", "name": "det", "group": "Ungrouped variables", "definition": "{a22}*{a33}-{a23}*{a32}", "templateType": "anything"}, "a31": {"description": "", "name": "a31", "group": "Ungrouped variables", "definition": "0", "templateType": "anything"}, "a44": {"description": "", "name": "a44", "group": "Ungrouped variables", "definition": "k3", "templateType": "anything"}, "u2": {"description": "

u

", "name": "u2", "group": "Ungrouped variables", "definition": "-{a23}*{k4}/({a22}*{a33}-{a23}*{a32})", "templateType": "anything"}}, "tags": [], "metadata": {"licence": "Creative Commons Attribution-NonCommercial 4.0 International", "description": ""}, "variable_groups": [], "statement": "

Determine the global stiffness matrix for the spring system below, where

\n

            k1 = \\(\\var{k1}N/mm\\),    k2 = \\(\\var{k2}N/mm\\) ,   k3 = \\(\\var{k3}N/mm\\).

", "functions": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "parts": [{"variableReplacements": [], "variableReplacementStrategy": "originalfirst", "type": "gapfill", "scripts": {}, "marks": 0, "prompt": "

\n

First set up the size of the answer matrix (choose the correct number of rows and columns in the boxes) and then input the entries.

\n

\\(\\mathbf A=\\) [[0]] 

", "showFeedbackIcon": true, "gaps": [{"tolerance": 0, "correctAnswer": "matrix([\n [a11,a12,a13,a14],\n [a21,a22,a23,a24],\n [a31,a32,a33,a34],\n [a41,a42,a43,a44]\n])", "variableReplacements": [], "scripts": {}, "variableReplacementStrategy": "originalfirst", "marks": "4", "correctAnswerFractions": false, "numRows": "1", "allowFractions": false, "markPerCell": true, "numColumns": "1", "type": "matrix", "showFeedbackIcon": true, "allowResize": true, "showCorrectAnswer": true}], "showCorrectAnswer": true}, {"variableReplacements": [], "variableReplacementStrategy": "originalfirst", "type": "gapfill", "scripts": {}, "marks": 0, "prompt": "

A force of \\(\\var{k4}N\\) is applied at node 3 in a positive direction, i.e. F3 = \\(\\var{k4}N\\)and  \\(u_1=u_4=0\\) 

\n

Calculate the displacements at nodes 2 and 3.

\n

Give your answers correct to 3 decimal places.

\n

\\(u_2=\\) [[0]]mm

\n

\\(u_3=\\) [[1]]mm

", "showFeedbackIcon": true, "gaps": [{"correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "mustBeReduced": false, "allowFractions": false, "variableReplacements": [], "scripts": {}, "showPrecisionHint": false, "variableReplacementStrategy": "originalfirst", "correctAnswerStyle": "plain", "marks": 1, "precisionType": "dp", "precisionPartialCredit": 0, "maxValue": "{u2}", "minValue": "{u2}", "type": "numberentry", "strictPrecision": false, "showFeedbackIcon": true, "precisionMessage": "You have not given your answer to the correct precision.", "precision": "3", "mustBeReducedPC": 0, "showCorrectAnswer": true}, {"correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "mustBeReduced": false, "allowFractions": false, "variableReplacements": [], "scripts": {}, "showPrecisionHint": false, "variableReplacementStrategy": "originalfirst", "correctAnswerStyle": "plain", "marks": 1, "precisionType": "dp", "precisionPartialCredit": 0, "maxValue": "{u3}", "minValue": "{u3}", "type": "numberentry", "strictPrecision": false, "showFeedbackIcon": true, "precisionMessage": "You have not given your answer to the correct precision.", "precision": "3", "mustBeReducedPC": 0, "showCorrectAnswer": true}], "showCorrectAnswer": true}], "advice": "

The global stiffness matrix is given by:

\n

\\(\\begin{pmatrix} \\var{a11}&\\var{a12}&\\var{a13}&\\var{a14}\\\\ \\var{a21}&\\var{a22}&\\var{a23}&\\var{a24}\\\\ \\var{a31}&\\var{a32}&\\var{a33}&\\var{a34}\\\\\\var{a41}&\\var{a42}&\\var{a43}&\\var{a44} \\end{pmatrix}\\)

\n

(b)

\n

\\(\\begin{pmatrix} \\var{a11}&\\var{a12}&\\var{a13}&\\var{a14}\\\\ \\var{a21}&\\var{a22}&\\var{a23}&\\var{a24}\\\\ \\var{a31}&\\var{a32}&\\var{a33}&\\var{a34}\\\\\\var{a41}&\\var{a42}&\\var{a43}&\\var{a44} \\end{pmatrix}\\begin{pmatrix} u_1\\\\u_2\\\\u_3\\\\u_4\\end{pmatrix}=\\begin{pmatrix} F_1\\\\F_2\\\\F_3\\\\F_4\\end{pmatrix}\\)

\n

\\(\\begin{pmatrix} \\var{a11}&\\var{a12}&\\var{a13}&\\var{a14}\\\\ \\var{a21}&\\var{a22}&\\var{a23}&\\var{a24}\\\\ \\var{a31}&\\var{a32}&\\var{a33}&\\var{a34}\\\\\\var{a41}&\\var{a42}&\\var{a43}&\\var{a44} \\end{pmatrix}\\begin{pmatrix} 0\\\\u_2\\\\u_3\\\\0\\end{pmatrix}=\\begin{pmatrix} F_1\\\\0\\\\\\var{k3}\\\\F_4\\end{pmatrix}\\)

\n

\\(As\\,u_1=0\\,and\\,u_4=0\\,we \\,can\\, use\\, the\\, reduced \\,central\\,matrix\\, below \\,to\\, solve\\, for\\, u_2\\,and\\,u_3\\)

\n

\\(\\begin{pmatrix}\\var{a22}&\\var{a23}\\\\\\var{a32}&\\var{a33}\\end{pmatrix}\\begin{pmatrix} u_2\\\\u_3\\end{pmatrix}=\\begin{pmatrix} 0\\\\\\var{k3}\\end{pmatrix}\\)

\n

using the inverse matrix method:

\n

\\(\\begin{pmatrix} u_2\\\\u_3\\end{pmatrix}=\\frac{1}{\\var{det}}\\begin{pmatrix}\\var{a33}&-\\var{a23}\\\\-\\var{a32}&\\var{a22}\\end{pmatrix}\\begin{pmatrix} 0\\\\\\var{k3}\\end{pmatrix}\\)

\n

\\(\\begin{pmatrix} u_2\\\\u_3\\end{pmatrix}=\\frac{1}{\\var{det}}\\begin{pmatrix} \\simplify{-{a23}*{k6}}\\\\\\simplify{{a33}*{k}}\\end{pmatrix}\\)

\n

\\(\\begin{pmatrix} u_2\\\\u_3\\end{pmatrix}=\\begin{pmatrix} \\var{u2}\\\\\\var{u3}\\end{pmatrix}\\)

\n

", "name": "FEM #2", "ungrouped_variables": ["k1", "k2", "k3", "a11", "a12", "a13", "a14", "a21", "a22", "a24", "a23", "a31", "a32", "a33", "a34", "a41", "a42", "a43", "a44", "k4", "u3", "u2", "det"], "preamble": {"css": "", "js": ""}, "extensions": [], "rulesets": {}, "type": "question", "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}]}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}]}