// Numbas version: finer_feedback_settings {"name": "GeoGebra test - motion on a slope", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": [], "name": "GeoGebra test - motion on a slope", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
Either construct the intersection of two circles centred at $\\mathbf{a}$ and $\\mathbf{b}$, or use the Regular Polygon tool.
\n(I could embed another GeoGebra applet here)
", "rulesets": {}, "parts": [{"stepsPenalty": 0, "precisionType": "dp", "prompt": "What is the total force acting on the mass, along the slope? Enter your answer in $\\mathrm{N}$, to 2 decimal places.
", "precisionMessage": "You have not given your answer to the correct precision.
", "allowFractions": false, "variableReplacements": [], "maxValue": "mass*acceleration", "strictPrecision": false, "minValue": "mass*acceleration", "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "There are two forces acting on the mass: gravity and friction.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}, {"precisionType": "dp", "prompt": "What is the force due to gravity, in the direction of the slope? Enter your answer in $\\mathrm{N}$, to 2 decimal places.
", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "mass*a_gravity", "strictPrecision": false, "minValue": "mass*a_gravity", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "prompt": "What is the force due to friction, in the direction of the slope? Enter your answer in $\\mathrm{N}$, to 2 decimal places.
", "precisionMessage": "You have not given your answer to the correct precision.
", "allowFractions": false, "variableReplacements": [], "maxValue": "mass*a_friction", "strictPrecision": false, "minValue": "mass*a_friction", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": "3", "type": "numberentry", "showPrecisionHint": false}, {"displayColumns": 0, "prompt": "What happens to the mass next?
", "matrix": "if(acceleration=0,[0,1,0],[1,0,0])", "shuffleChoices": false, "variableReplacements": [], "choices": ["It moves down the slope.
", "It moves up the slope.
", "It remains stationary.
"], "variableReplacementStrategy": "originalfirst", "maxMarks": 0, "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "1_n_2", "displayType": "radiogroup", "minMarks": 0}, {"precisionType": "dp", "prompt": "At what time does the mass reach the ground? Enter your answer in seconds to 2 decimal places, or $0$ if the mass never reaches the ground.
", "precisionMessage": "You have not given your answer to the correct precision.
", "allowFractions": false, "variableReplacements": [], "maxValue": "t_ground", "strictPrecision": false, "minValue": "t_ground", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "extensions": ["geogebra"], "statement": "A mass of $\\var{mass}\\,\\mathrm{kg}$ is resting on a plane inclined at $\\var{incline}^{\\circ}$ to the horizontal. The distance along the plane from the ground to the mass is $\\var{distance}\\mathrm{m}$.
\nA gravitational force of $9.8\\,\\mathrm{N/kg}$ is acting on the mass, and the coefficient of friction between the plane and the mass is $\\mu = \\var{c_friction}$.
\n{geogebra_applet('xn3p5x73',[[\"height\",height],[\"c_\\{friction\\}\",c_friction],[\"mass\",mass]],[])}
", "variable_groups": [{"variables": ["height", "c_friction", "mass", "incline", "distance"], "name": "Setup"}, {"variables": ["slope", "gravity", "a_gravity", "a_friction", "acceleration_naive", "acceleration"], "name": "Acceleration"}, {"variables": ["t_ground"], "name": "Answer"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"slope": {"definition": "vector(cos(radians(incline)),sin(radians(incline)))", "templateType": "anything", "group": "Acceleration", "name": "slope", "description": ""}, "acceleration": {"definition": "if(acceleration_naive<0,acceleration_naive,0)", "templateType": "anything", "group": "Acceleration", "name": "acceleration", "description": ""}, "incline": {"definition": "precround(degrees(arctan(height/50)),1)", "templateType": "anything", "group": "Setup", "name": "incline", "description": ""}, "t_ground": {"definition": "if(acceleration=0,0,sqrt(-2*distance/acceleration))", "templateType": "anything", "group": "Answer", "name": "t_ground", "description": ""}, "distance": {"definition": "45", "templateType": "anything", "group": "Setup", "name": "distance", "description": ""}, "a_friction": {"definition": "let(f,dot(matrix([[0,1],[-1,0]])*slope,gravity)*c_friction,\n min(f,-a_gravity)\n)", "templateType": "anything", "group": "Acceleration", "name": "a_friction", "description": ""}, "c_friction": {"definition": "random(0.01..0.5#0.01)", "templateType": "anything", "group": "Setup", "name": "c_friction", "description": ""}, "gravity": {"definition": "vector(0,-9.8)", "templateType": "anything", "group": "Acceleration", "name": "gravity", "description": ""}, "a_gravity": {"definition": "dot(gravity,slope)", "templateType": "anything", "group": "Acceleration", "name": "a_gravity", "description": ""}, "mass": {"definition": "random(5..35#5)", "templateType": "anything", "group": "Setup", "name": "mass", "description": ""}, "acceleration_naive": {"definition": "a_gravity+a_friction", "templateType": "anything", "group": "Acceleration", "name": "acceleration_naive", "description": ""}, "height": {"definition": "random(10..40)", "templateType": "anything", "group": "Setup", "name": "height", "description": ""}}, "metadata": {"description": "Given the gradient of a slope and the coefficient of friction for a mass resting on it, use the equations of motion to calculate how it moves.
\nIncludes a GeoGebra rendering of the model.
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}