// Numbas version: exam_results_page_options {"name": "Work done by an ideal gas", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"licence": "None specified", "description": "

Calculating the work done by 1 mole of an ideal gas at constant temperature.


Q12 from Thermochemistry revision sheet

"}, "tags": [], "parts": [{"showFeedbackIcon": true, "minValue": "work", "correctAnswerStyle": "plain", "prompt": "

Calculate the work done by the ideal gas. Express your answer in J (1L.atm = 101 J)

", "showCorrectAnswer": true, "unitTests": [], "type": "numberentry", "customMarkingAlgorithm": "", "precisionPartialCredit": 0, "precisionType": "dp", "variableReplacements": [], "customName": "", "precision": 0, "correctAnswerFraction": false, "scripts": {}, "maxValue": "work", "variableReplacementStrategy": "originalfirst", "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "adaptiveMarkingPenalty": 0, "marks": 1, "mustBeReducedPC": 0, "mustBeReduced": false, "strictPrecision": true, "precisionMessage": "You have not given your answer to the correct precision.", "extendBaseMarkingAlgorithm": true, "allowFractions": false, "useCustomName": false}], "name": "Work done by an ideal gas", "variablesTest": {"condition": "", "maxRuns": 100}, "functions": {}, "advice": "

Use the formula W = -P (delta V)

", "variables": {"final_v": {"description": "

Final volume in L

", "templateType": "randrange", "group": "Ungrouped variables", "definition": "random(40 .. 100#10)", "name": "final_v"}, "initial_v": {"description": "

Initial volume in L

", "templateType": "randrange", "group": "Ungrouped variables", "definition": "random(10 .. 30#10)", "name": "initial_v"}, "pressure": {"description": "

Pressure in atm

", "templateType": "randrange", "group": "Ungrouped variables", "definition": "random(0.1 .. 0.4#0.1)", "name": "pressure"}, "work": {"description": "

Work done by the ideal gas

", "templateType": "anything", "group": "Ungrouped variables", "definition": "(pressure*101)*(final_v - initial_v)", "name": "work"}}, "ungrouped_variables": ["initial_v", "final_v", "pressure", "work"], "variable_groups": [], "statement": "

1 mole of an ideal gas expands from a volume of {initial_v} L to one of {final_v}L at a constant temperature of 25o C. The expansion is performed against a pressure of {pressure} atm.

", "rulesets": {}, "preamble": {"css": "", "js": ""}, "extensions": [], "contributors": [{"name": "Deirdre Casey", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/681/"}]}]}], "contributors": [{"name": "Deirdre Casey", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/681/"}]}