// Numbas version: exam_results_page_options {"name": "First Compulsory Exercise TBA4125/K", "metadata": {"description": "

Used to test if it works

", "licence": "All rights reserved"}, "duration": 14400, "percentPass": "80", "showQuestionGroupNames": false, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Simple Design and Analysis Problems", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", ""], "variable_overrides": [[], [], []], "questions": [{"name": "Timber Beam", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Timberbeam.png", "/srv/numbas/media/question-resources/Timberbeam.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Jochen K\u00f6hler", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/19474/"}], "tags": [], "metadata": {"description": "

simple design problem.

", "licence": "All rights reserved"}, "statement": "

\n

\n

A timber beam is simply supported and has a span l = {span_l} meters. It has a rectangular cross section with width b = {width_b} millimeters. The height of the beam in milimeters must be chosen such that the beam sustains the loads q = {disload_q} kN/m and G = {sinload_G} kN. The timber bending strength is given with {strength_f} MPa.

", "advice": "

Solution comes here...

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"span_l": {"name": "span_l", "group": "Ungrouped variables", "definition": "random(8 .. 20#1)", "description": "

The span of the beam.

", "templateType": "randrange", "can_override": false}, "width_b": {"name": "width_b", "group": "Ungrouped variables", "definition": "300", "description": "", "templateType": "number", "can_override": false}, "disload_q": {"name": "disload_q", "group": "Ungrouped variables", "definition": "random(2 .. 4#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "sinload_g": {"name": "sinload_g", "group": "Ungrouped variables", "definition": "random(5 .. 20#1)", "description": "", "templateType": "randrange", "can_override": false}, "strength_f": {"name": "strength_f", "group": "Ungrouped variables", "definition": "24", "description": "", "templateType": "number", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["span_l", "width_b", "disload_q", "sinload_g", "strength_f"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Design", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the minimum height of the beam in Millimeters?

", "minValue": "-2+sqrt((0.125*disload_q*(span_l*1000)^2+0.25*sinload_g*1000*span_l*1000)*6/(strength_f*width_b))", "maxValue": "2+sqrt((0.125*disload_q*(span_l*1000)^2+0.25*sinload_g*1000*span_l*1000)*6/(strength_f*width_b))", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "sqrt((0.125*disload_q*(span_l*1000)^2+0.25*sinload_g*1000*span_l*1000)*6/(strength_f*width_b))", "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Steel Rod", "extensions": [], "custom_part_types": [], "resources": [["question-resources/rod1_Lokvs6t.png", "/srv/numbas/media/question-resources/rod1_Lokvs6t.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Jochen K\u00f6hler", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/19474/"}], "tags": [], "metadata": {"description": "

Used in the first compulsory.

", "licence": "All rights reserved"}, "statement": "

\n

We want to support a load F = {FMN} MN (mega newton) by a steel rod. The steel is a type of high strength steel and has a ultimate resistance of f = {fMPa} MPa (Mega Pascal). The rod is supposed to have a circular cross section.

", "advice": "

Solution

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"fmn": {"name": "fmn", "group": "Ungrouped variables", "definition": "random(1 .. 4#0.5)", "description": "

This is the load in MN.

", "templateType": "randrange", "can_override": false}, "fmpa": {"name": "fmpa", "group": "Ungrouped variables", "definition": "random(500 .. 1000#25)", "description": "

This is the Material Resistance in MPa.

", "templateType": "randrange", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["fmn", "fmpa"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Design", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the diameter to choose at least (in Millimeters)?

", "minValue": "-2+sqrt(4*{fmn}*1000000/({fmpa}*3.14159))", "maxValue": "2+sqrt(4*{fmn}*1000000/({fmpa}*3.14159))", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "sqrt(4*{fmn}*1000000/({fmpa}*3.14159))", "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Cable Structure", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Bridge_2x8ZikB.png", "/srv/numbas/media/question-resources/Bridge_2x8ZikB.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Jochen K\u00f6hler", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/19474/"}], "tags": [], "metadata": {"description": "", "licence": "All rights reserved"}, "statement": "

\n

\n

The geometrical proportions of a suspension bridge are given by the variables h1 = {h1} meters, h2 = {h2} meters, s1 = {s1} meters and s2 = {s2} meters. The suspension cable carries a mass of {W} tonns.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"h1": {"name": "h1", "group": "Ungrouped variables", "definition": "random(25 .. 50#5)", "description": "

in meters...

", "templateType": "randrange", "can_override": false}, "h2": {"name": "h2", "group": "Ungrouped variables", "definition": "random(16 .. 20#1)", "description": "

in meters...

", "templateType": "randrange", "can_override": false}, "s1": {"name": "s1", "group": "Ungrouped variables", "definition": "random(30 .. 35#1)", "description": "

in meters

", "templateType": "randrange", "can_override": false}, "s2": {"name": "s2", "group": "Ungrouped variables", "definition": "random(120 .. 150#6)", "description": "

in meters

", "templateType": "randrange", "can_override": true}, "w": {"name": "w", "group": "Ungrouped variables", "definition": "random(100 .. 200#25)", "description": "

in tonns

", "templateType": "randrange", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["h1", "h2", "s1", "s2", "w"], "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 horizontal reaction force in A? (Give the answer in kN)

", "minValue": "-2+(0.125*{W}*9.81*{s2}/{h2})", "maxValue": "2+(0.125*{W}*9.81*{s2}/{h2})", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "(0.125*{W}*9.81*{s2}/{h2})", "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "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 vertical reaction force in A? (Give the answer in kN)

", "minValue": "-2+{h1}*(0.125*{W}*9.81*{s2}/{h2})/{s1}", "maxValue": "2+{h1}*(0.125*{W}*9.81*{s2}/{h2})/{s1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "{h1}*(0.125*{W}*9.81*{s2}/{h2})/{s1}", "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "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 horizontal reaction force in B? (Give the answer in kN)

", "minValue": "0", "maxValue": "0", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "0", "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "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 vertical reaction force in B? (Give the answer in kN)

", "minValue": "-2+({h1}*(0.125*{W}*9.81*{s2}/{h2})/{s1})+({W}*9.81/2)", "maxValue": "2+({h1}*(0.125*{W}*9.81*{s2}/{h2})/{s1})+({W}*9.81/2)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "({h1}*(0.125*{W}*9.81*{s2}/{h2})/{s1})+({W}*9.81/2)", "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "allowPrinting": true, "navigation": {"allowregen": false, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": true, "timeout": {"action": "warn", "message": "

Your time has expired.

"}, "timedwarning": {"action": "warn", "message": "

Your time will expire in 5 minutes.

"}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": true, "advicethreshold": 0, "intro": "

Please answer all questions. 80% must be correct in order to pass the exercise.

", "end_message": "", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": []}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "contributors": [{"name": "Jochen K\u00f6hler", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/19474/"}], "extensions": [], "custom_part_types": [], "resources": [["question-resources/Timberbeam.png", "/srv/numbas/media/question-resources/Timberbeam.png"], ["question-resources/rod1_Lokvs6t.png", "/srv/numbas/media/question-resources/rod1_Lokvs6t.png"], ["question-resources/Bridge_2x8ZikB.png", "/srv/numbas/media/question-resources/Bridge_2x8ZikB.png"]]}