// Numbas version: exam_results_page_options {"name": "PreCal Write the equation of the hyperbola from graph with Foci", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["h", "k", "a", "b", "c", "orient", "choice", "vertex1", "vertex2", "transverse", "focus1", "focus2", "mAsymptoteNeg", "mAsymptotePos", "eccentricity", "orientTransverse"], "variablesTest": {"maxRuns": 100, "condition": ""}, "tags": [], "parts": [{"sortAnswers": false, "customName": "", "useCustomName": false, "variableReplacementStrategy": "originalfirst", "scripts": {}, "type": "gapfill", "gaps": [{"checkVariableNames": false, "customName": "", "variableReplacementStrategy": "originalfirst", "scripts": {}, "type": "jme", "showCorrectAnswer": true, "showFeedbackIcon": true, "answer": "{orient}*(x-{h})^2/{a}^2-{orient}*(y-{k})^2/{b}^2", "unitTests": [], "valuegenerators": [{"name": "x", "value": ""}, {"name": "y", "value": ""}], "checkingType": "dp", "checkingAccuracy": "2", "marks": 1, "showPreview": true, "useCustomName": false, "variableReplacements": [], "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "vsetRange": [0, 1], "failureRate": 1, "vsetRangePoints": 5}], "variableReplacements": [], "adaptiveMarkingPenalty": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "prompt": "

Write the standard form equation of the parabola. You will need to round your value of $a^2$ or $b^2$ due to rounding of the foci locations.  It should be an whole number.

\n

[[0]] $=1$

", "unitTests": [], "customMarkingAlgorithm": "", "marks": 0}], "rulesets": {}, "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International"}, "name": "PreCal Write the equation of the hyperbola from graph with Foci", "statement": "

GIVEN:

\n

The hyperbola graphed below:

\n

{geogebra_applet('https://www.geogebra.org/m/wvqauwgw',[ ['a',a], ['b',b], ['c',orient], ['F1',focus1[choice]], ['F2',focus2[choice]], ['h',h], ['k',k], ['A',vertex1[choice]], ['B',vertex2[choice]] ])}

", "extensions": ["geogebra"], "variable_groups": [], "preamble": {"css": "", "js": ""}, "advice": "", "variables": {"transverse": {"templateType": "anything", "definition": "[2*b,2*a]", "name": "transverse", "description": "", "group": "Ungrouped variables"}, "eccentricity": {"templateType": "anything", "definition": "c/a", "name": "eccentricity", "description": "", "group": "Ungrouped variables"}, "b": {"templateType": "anything", "definition": "random(2..9 except a)", "name": "b", "description": "", "group": "Ungrouped variables"}, "k": {"templateType": "anything", "definition": "random(-5..5)", "name": "k", "description": "", "group": "Ungrouped variables"}, "choice": {"templateType": "anything", "definition": "(orient+1)/2", "name": "choice", "description": "", "group": "Ungrouped variables"}, "vertex1": {"templateType": "anything", "definition": "[vector(h,k-b),vector(h-a,k)]", "name": "vertex1", "description": "", "group": "Ungrouped variables"}, "a": {"templateType": "anything", "definition": "random(2..9)", "name": "a", "description": "", "group": "Ungrouped variables"}, "mAsymptoteNeg": {"templateType": "anything", "definition": "-b/a", "name": "mAsymptoteNeg", "description": "", "group": "Ungrouped variables"}, "h": {"templateType": "anything", "definition": "random(-5..5)", "name": "h", "description": "", "group": "Ungrouped variables"}, "focus2": {"templateType": "anything", "definition": "[vector(h,k+c),vector(h+c,k)]", "name": "focus2", "description": "", "group": "Ungrouped variables"}, "orientTransverse": {"templateType": "anything", "definition": "[\"vertical\",\"horizontal\"]", "name": "orientTransverse", "description": "", "group": "Ungrouped variables"}, "mAsymptotePos": {"templateType": "anything", "definition": "b/a", "name": "mAsymptotePos", "description": "", "group": "Ungrouped variables"}, "orient": {"templateType": "anything", "definition": "random([-1,1])", "name": "orient", "description": "", "group": "Ungrouped variables"}, "vertex2": {"templateType": "anything", "definition": "[vector(h,k+b),vector(h+a,k)]", "name": "vertex2", "description": "", "group": "Ungrouped variables"}, "focus1": {"templateType": "anything", "definition": "[vector(h,k-c),vector(h-c,k)]", "name": "focus1", "description": "", "group": "Ungrouped variables"}, "c": {"templateType": "anything", "definition": "sqrt(a^2+b^2)", "name": "c", "description": "", "group": "Ungrouped variables"}}, "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}]}]}], "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}]}