// Numbas version: finer_feedback_settings {"name": "Line Graphs: Interesting Graphs - DNA Melting Temperature", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Line Graphs: Interesting Graphs - DNA Melting Temperature", "tags": [], "metadata": {"description": "

Interpreting line graphs depicting the melting temperature of DNA depending on the percentage of GC content. Estimating the melting temperature given a GC percentage and vice versa.

", "licence": "None specified"}, "statement": "

The melting temperature of DNA, $T$ $^\\circ$C, depends on the percentage of GC content of the DNA, $G~ \\text{%}$. The following graph depicts the relation between $T$ and $G$, for $0\\leq G \\leq \\var{G_max}$:

\n

{geogebra_applet('https://www.geogebra.org/m/rcx6wdzu', defs)}

", "advice": "

a) We need to find the point on the $T$-axis where $G=\\var{g_1}$ . So, we first need to find the point on the $G$-axis where $G=\\var{g_1}$. From that point, we draw a line vertically to find a point on the graph. From the point on the graph, we need to draw a horizontal line, and then estimate the value on $T$. 

\n

Here, a good estimate could be $\\var{roundedA} ^\\circ C$.

\n

{geogebra_applet('https://www.geogebra.org/m/z8gwsgjk', defsadvice1)}

\n

b) We need to find the point on the $G$-axis where $T=\\var{t_1}$. So, we first need to estimate the point on the $T$-axis where $T=\\var{t_1}$. From here, we draw horizontally to find a point on the graph. From the point on the graph, we draw a vertical line, and then estimate the value on $G$. 

\n

Here, a good estimate could be $\\var{roundedB}$%.

\n

{geogebra_applet('https://www.geogebra.org/m/z8gwsgjk', defsadvice2)}

", "rulesets": {}, "extensions": ["geogebra"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..5)/random(3..9)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(10..15)", "description": "", "templateType": "anything", "can_override": false}, "G_max": {"name": "G_max", "group": "Ungrouped variables", "definition": "random(35..50 #5)", "description": "", "templateType": "anything", "can_override": false}, "G_1": {"name": "G_1", "group": "Ungrouped variables", "definition": "random(10..36 #5)", "description": "", "templateType": "anything", "can_override": false}, "T_1": {"name": "T_1", "group": "Ungrouped variables", "definition": "random(b..a*g_max+b #5)", "description": "", "templateType": "anything", "can_override": false}, "ans_a": {"name": "ans_a", "group": "Ungrouped variables", "definition": "a*g_1+b", "description": "", "templateType": "anything", "can_override": true}, "ans_b": {"name": "ans_b", "group": "Ungrouped variables", "definition": "(t_1-b)*(1/a) ", "description": "", "templateType": "anything", "can_override": false}, "GeoPointA1": {"name": "GeoPointA1", "group": "Unnamed group", "definition": "Vector(0,b)", "description": "", "templateType": "anything", "can_override": false}, "GeoPointB1": {"name": "GeoPointB1", "group": "Unnamed group", "definition": "vector({g_max},{a}*{g_max}+{b})", "description": "", "templateType": "anything", "can_override": false}, "defs": {"name": "defs", "group": "Unnamed group", "definition": "[\n ['A',geopointa1],\n ['B',geopointb1]\n ]", "description": "", "templateType": "anything", "can_override": false}, "GeopointC1": {"name": "GeopointC1", "group": "Unnamed group", "definition": "vector({g_1},{a}*{g_1}+{b})", "description": "", "templateType": "anything", "can_override": false}, "DefsAdvice1": {"name": "DefsAdvice1", "group": "Unnamed group", "definition": "[\n ['A',geopointa1],\n ['B',geopointb1],\n ['C',geopointc1]\n ]", "description": "", "templateType": "anything", "can_override": false}, "RoundedA": {"name": "RoundedA", "group": "Ungrouped variables", "definition": "round({ans_a})", "description": "", "templateType": "anything", "can_override": false}, "RoundedB": {"name": "RoundedB", "group": "Ungrouped variables", "definition": "round({ans_b})", "description": "", "templateType": "anything", "can_override": false}, "GeopointC2": {"name": "GeopointC2", "group": "Unnamed group", "definition": "vector((t_1-b)*(1/a),t_1)", "description": "", "templateType": "anything", "can_override": false}, "Defsadvice2": {"name": "Defsadvice2", "group": "Unnamed group", "definition": "[\n ['A',geopointa1],\n ['B',geopointb1],\n ['C',geopointc2]\n ]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "(a<=0.5)and(g_1<=g_max)and(t_1>b)", "maxRuns": 100}, "ungrouped_variables": ["b", "a", "G_1", "G_max", "ans_b", "T_1", "RoundedA", "ans_a", "RoundedB"], "variable_groups": [{"name": "Unnamed group", "variables": ["GeoPointA1", "GeoPointB1", "defs", "GeopointC1", "DefsAdvice1", "GeopointC2", "Defsadvice2"]}], "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": "

Estimate the melting temperature of DNA with $\\var{G_1}$% GC content.

\n

The melting temperature in this case is [[0]] $ ^\\circ C$.

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{ans_a}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": "1", "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}, {"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": "

Estimate the percentage GC content of DNA with a melting temperature of $\\var{T_1}^\\circ C$.

\n

The percentage GC content of DNA is [[0]] %.

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{ans_b}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": "1", "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Evi Papadaki", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18113/"}]}]}], "contributors": [{"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Evi Papadaki", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18113/"}]}