// Numbas version: finer_feedback_settings {"name": "Kinetic energy in SI units", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Kinetic energy in SI units", "tags": [], "metadata": {"description": "

Used to asses ability to do basic kinetic energy calculations using SI units.  Student must convert given data into appropriate units then find specific energy, total energy and power in specified units.  Question randomizes mass, final speed and time to accelerate to final speed.  

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

A car with a mass of {car_mass} kg accelerates to {car_speed} kph in {accel_time} seconds.  Calculate the following values:

", "advice": "

Specific energy is found using e = v^2/2 where v has been converted to units of m/s

\n

Total energy is found by multiplying specific energy, e, by the cars mass in kg

\n

Car power is found by dividing Total energy by acceleration time

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"car_mass": {"name": "car_mass", "group": "Ungrouped variables", "definition": "random(1000..2000)", "description": "

mass of car in kilograms

", "templateType": "anything", "can_override": false}, "car_speed": {"name": "car_speed", "group": "Ungrouped variables", "definition": "random(30..120)", "description": "

Final speed of car in kilometers per hour

", "templateType": "anything", "can_override": false}, "accel_time": {"name": "accel_time", "group": "Ungrouped variables", "definition": "random (3..15)", "description": "

Time car takes to accelerate from rest to final speed

", "templateType": "anything", "can_override": false}, "specific_energy": {"name": "specific_energy", "group": "Ungrouped variables", "definition": "siground((car_speed*1000/3600)^2/2,5)", "description": "

specific energy of car in J/kg

", "templateType": "anything", "can_override": false}, "total_energy": {"name": "total_energy", "group": "Ungrouped variables", "definition": "specific_energy*car_mass/1000", "description": "

total energy of car in kJ/kg

", "templateType": "anything", "can_override": false}, "car_power": {"name": "car_power", "group": "Ungrouped variables", "definition": "siground(total_energy/accel_time,5)\n", "description": "

Power car needs to accelerate to {car_speed} in {accel_time}

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["car_mass", "car_speed", "accel_time", "specific_energy", "total_energy", "car_power"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Specific Energy", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

Find the cars specific energy in units of J/kg and report answer to 4 significant figures.

", "minValue": "{specific_energy}*0.999", "maxValue": "{specific_energy}*1.001", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "sigfig", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Total Energy", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

Find the cars total energy in units of kJ and report answer to 4 significant figures.

", "minValue": "{total_energy}*0.999", "maxValue": "{total_energy}*1.001", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "sigfig", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Power", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "adaptiveMarkingUseCondition": "", "adaptiveMarkingNotUsedMessage": "", "exploreObjective": null, "prompt": "

Find the power the car needs, in kW, to reach {car_speed} in {accel_time} seconds and report answer to 4 significant figures.

", "minValue": "{car_power}*0.999", "maxValue": "{car_power}*1.001", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "sigfig", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "showAllParts": false, "contributors": [{"name": "Max Lupton", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/38923/"}], "resources": []}]}], "contributors": [{"name": "Max Lupton", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/38923/"}]}