// Numbas version: exam_results_page_options {"name": "Limites seno exacto UNO", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {"trigo": {"definition": "var a = Numbas.jme.unwrapValue(scope.variables.a);\nvar angulo = (Math.PI)*a;\nvar sol = 17;\nif (Math.abs(Math.sin(angulo) - Math.sin(0))<0.001) {\n sol = 0; \n} else if (Math.abs(Math.sin(angulo) - Math.sin(Math.PI*1/6))<0.001 || Math.abs(Math.sin(angulo) - Math.sin(Math.PI*5/6))<0.001) {\nsol = 1/2;\n} else if (Math.abs(Math.sin(angulo) - Math.sin(Math.PI*1/4))<0.001 || Math.abs(Math.sin(angulo) - Math.sin(Math.PI*3/4))<0.001) {\nsol = Math.sqrt(2)/2;\n} else if (Math.abs(Math.sin(angulo) - Math.sin(Math.PI*1/3))<0.001 || Math.abs(Math.sin(angulo) - Math.sin(Math.PI*2/3))<0.001) {\nsol = Math.sqrt(3)/2;\n} else if (Math.abs(Math.sin(angulo) - Math.sin(Math.PI*1/2))<0.001) {\nsol = 1;\n} else if (Math.abs(Math.sin(angulo) - Math.sin(Math.PI*7/6))<0.001 || Math.abs(Math.sin(angulo) - Math.sin(Math.PI*11/6))<0.001){\nsol = -1*1/2;\n} else if (Math.abs(Math.sin(angulo) - Math.sin(Math.PI*5/4))<0.001 || Math.abs(Math.sin(angulo) - Math.sin(Math.PI*7/4))<0.001) {\nsol = -1*Math.sqrt(2)/2;\n} else if (Math.abs(Math.sin(angulo) - Math.sin(Math.PI*4/3))<0.001 || Math.abs(Math.sin(angulo) - Math.sin(Math.PI*5/3))<0.001) {\nsol = -Math.sqrt(3)/2;\n} else if (Math.abs(Math.sin(angulo) - Math.sin(Math.PI*3/2))<0.001) {\nsol = -1;\n} else {\nsol = 999;\n}\nreturn sol;", "type": "list", "language": "javascript", "parameters": [["w", "number"]]}}, "ungrouped_variables": ["a", "seno"], "name": "Limites seno exacto UNO", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "

Calcular el valor de $\\displaystyle{\\lim_{x \\to \\simplify[all, fractionNumbers]{{a}}\\pi} \\sin(x)}=$ [[0]]

\n

Ejemplo de respuesta, para escribir $\\dfrac{\\sqrt 2}{2}$, digite sqrt(2)/2 en la barra de respuesta.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": "0.01", "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "fractionNumbers", "scripts": {}, "answer": "{seno}", "marks": "50", "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

Calcular el valor “exacto” del límite de la función.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": "seno<>999"}, "variables": {"a": {"definition": "random(2*random(-1000..1000),3*random(-1000..1000))/12", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "seno": {"definition": "trigo(a)", "templateType": "anything", "group": "Ungrouped variables", "name": "seno", "description": ""}}, "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "contributors": [{"name": "Marlon Arcila", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/321/"}]}]}], "contributors": [{"name": "Marlon Arcila", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/321/"}]}