// Numbas version: exam_results_page_options {"name": "SageMath Cell", "extensions": ["sagemath-cell"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"advice": "", "functions": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "name": "SageMath Cell", "parts": [{"useCustomName": true, "customName": "Contour plot", "variableReplacements": [], "showFeedbackIcon": true, "marks": 0, "showCorrectAnswer": true, "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "variableReplacementStrategy": "originalfirst", "scripts": {}, "prompt": "
Let \\(f\\) be the function corresponding to the following contour plot:
\n{sagecell(plot_code, [\"autoeval\": true, \"hide\": [\"editor\", \"language\", \"evalButton\", \"permalink\"]])}
", "type": "information"}, {"useCustomName": true, "customName": "Sphere-plane intersection", "variableReplacements": [], "showFeedbackIcon": true, "marks": 0, "showCorrectAnswer": true, "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "variableReplacementStrategy": "originalfirst", "scripts": {}, "prompt": "Let \\(f(x,y,z)=2xy+z^2\\), let \\(S_1\\) and \\(S_2\\) be, respectively, the sphere \\(x^2 + y^2 + z^2=6\\) and the plane \\(x+y+z=0\\), let \\(C\\) be the intersection curve of \\(S_1\\) and \\(S_2\\), and let \\(Q\\) be the solid inside \\(S_1\\) and above \\(S_2\\).
\nConsider the following SageMath cell:
\n{sagecell(curve_code, [\"hide\": [\"permalink\"]])}
", "type": "information"}], "metadata": {"description": "Uses an extension to embed SageMath cells into content areas.