// Numbas version: finer_feedback_settings {"name": "Gladesville Bridge 2", "extensions": [], "custom_part_types": [{"source": {"pk": 1, "author": {"name": "Christian Lawson-Perfect", "pk": 7}, "edit_page": "/part_type/1/edit"}, "name": "Yes/no", "short_name": "yes-no", "description": "
The student is shown two radio choices: \"Yes\" and \"No\". One of them is correct.
", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["Yes", "No"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"Yes\"?", "help_url": "", "hint": "An expression which evaluates totrue
or false
.", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}], "resources": [["question-resources/GladesvilleBridge_qi0B7u7.jpg", "/srv/numbas/media/question-resources/GladesvilleBridge_qi0B7u7.jpg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Gladesville Bridge 2", "tags": [], "metadata": {"description": "This question is a variation on another version which asks the student to find the height of a bridge arch and width of the river given a formula for the arch of the bridge (also available in the Numbas database)
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "\nThe following question was proposed to Chat GPT (the above image is for reference and was not provided to ChatGPT):
\nThe Gladesville Bridge is an arch bridge which spans the Parramatta River near Sydney. The bottom of the arch of the bridge can be modeled by the equation \\[y=\\frac{180}{305}x(1-\\frac{1}{305}x)\\]where \\(y\\) is the height of the arch above the water line in metres and \\(x\\) is the horizontal distance from the left bank of the river in metres. What is the width of the river?
\nThe response was:
", "advice": "No, the distance stated by ChatGPT is not an accurate representation of the river. From the photo in the question we can see that the lower arch of the bridge just touches each side of the river. Given that the formul for the arch is \\[y=\\frac{180}{305}x(1-\\frac{1}{305}x)\\]where \\(y\\) is the height of the arch above the water line in metres we can see that the arch will touch the water line \\(y=0\\) when \\(x=0\\) metres (the left side of the bridge in the photo), or \\(x=305\\) metres. hence the width of the river is \\(305\\) metres.
", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "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, "exploreObjective": null, "prompt": "To find the width of the river, we need to find the distance between the left bank and the right bank of the river. Since the bridge spans the river, the distance between the left and right banks is equal to the length of the arch.
The equation given for the arch of the bridge is:
\\[y=\\frac{180}{305}x(1-\\frac{1}{305}x)\\] that makes sense in the context of the problem. Looking at a map of the area, we can see that the Gladesville Bridge is the only bridge that spans the Parramatta River at Gladesville, so the length of the arch must be less than the distance between the two nearest points on the riverbanks where the bridge can be anchored.
From the map, we can estimate that the distance between these two points is approximately 260 meters.
Is the value obtained by ChatGPT correct for the information supplied to it?
\n[[0]]
\nSupport your conclusion mathematically in your handwritten notes using the equation of the arch.
", "gaps": [{"type": "yes-no", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "settings": {"correct_answer_expr": "false"}}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}]}]}], "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}]}