// Numbas version: exam_results_page_options {"name": "Population", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Population", "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "

a) This question requires use of the equation that relates the relative populations of states to the temperature and the energy difference between them; 

\n

\\[\\frac{N_u}{N_l}=e^{\\frac{-{\\Delta}E}{kT}}\\]

\n

\\[\\frac{N_u}{N_l}=e^{\\frac{-{\\var{Energy_mantissa}\\times10^\\var{Energy_log}}}{1.38~\\times~10^{-23}~\\times~\\var{temp}}}=\\var{D}\\]

\n

\n

b) To convert the energy of a photon into a frequency;

\n

\\[E=h\\nu~\\]

\n

so

\n

\\[\\frac{E}{h}=\\nu=\\frac{\\var{Energy_mantissa}~\\times~10^\\var{Energy_log}~\\rm J}{6.626~\\times10^{-34}~\\rm~J~s}=\\var{Freq_mantissa}\\times10^{\\var{Freq_log}}~{\\rm Hz}\\]

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"temp": {"name": "temp", "group": "Ungrouped variables", "definition": "random(5..400)", "description": "", "templateType": "anything", "can_override": false}, "randomiser": {"name": "randomiser", "group": "Ungrouped variables", "definition": "random(150..300)/100", "description": "", "templateType": "anything", "can_override": false}, "Energy_mantissa": {"name": "Energy_mantissa", "group": "Ungrouped variables", "definition": "siground((random(1..100)/10),3)", "description": "", "templateType": "anything", "can_override": false}, "Energy_log": {"name": "Energy_log", "group": "Ungrouped variables", "definition": "random(-23..-22)", "description": "", "templateType": "anything", "can_override": false}, "int_step2": {"name": "int_step2", "group": "Ungrouped variables", "definition": "Energy_log+34", "description": "", "templateType": "anything", "can_override": false}, "int_step": {"name": "int_step", "group": "Ungrouped variables", "definition": "siground(Energy_mantissa/6.626,3)", "description": "", "templateType": "anything", "can_override": false}, "Freq_log": {"name": "Freq_log", "group": "Ungrouped variables", "definition": "floor(log(int_step*10^(int_step2)))", "description": "", "templateType": "anything", "can_override": false}, "Freq_mantissa": {"name": "Freq_mantissa", "group": "Ungrouped variables", "definition": "int_step*10^(int_step2)/10^(Freq_log)", "description": "", "templateType": "anything", "can_override": false}, "A1": {"name": "A1", "group": "Ungrouped variables", "definition": "siground((-energy_mantissa/(1.38*temp)),3)", "description": "", "templateType": "anything", "can_override": false}, "B1": {"name": "B1", "group": "Ungrouped variables", "definition": "10^(Energy_log+23)", "description": "", "templateType": "anything", "can_override": false}, "D": {"name": "D", "group": "Ungrouped variables", "definition": "siground(exp(A1*B1),3)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["temp", "randomiser", "Energy_mantissa", "Energy_log", "int_step2", "int_step", "Freq_log", "Freq_mantissa", "A1", "B1", "D"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Calculate the relative populations of an upper quantum state and a lower quantum state, (expressed as the ratio, ($N_u/N_l$)), given a temperature, T, of {temp} K and an energy difference between the states, ${\\Delta}E$, of {Energy_mantissa} $\\times$ 10{Energy_log} J;  

\n

$N_u/N_l$ = [[0]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{D}-{D}/50", "maxValue": "{D}+{D}/50", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "student_significand (The significand as the student entered it):\n parsenumber(studentanswer[0],\"en\")\n\nsignificand_size (If student's significand is written a*10^n, 1<=a<10, this is n):\n floor(log(abs(student_significand)))\n\nstudent_exponent (The exponent as the student wrote it):\n parsenumber(studentanswer[1],\"en\")\n\nadjusted_exponent (The exponent of the student's number, taking into account the size of their significand): \n student_exponent + significand_size\n\nadjusted_significand (The student's significand, scaled into the range 1..10):\n student_significand/(10^significand_size)\n\nsignificand_feedback (Feedback on the adjusted significand: mark gap 0):\n feedback(\"Significand:\");\n let(result,apply_marking_script(\"numberentry\",string(adjusted_significand), gaps[0][\"settings\"],gaps[0][\"marks\"]),\n concat_feedback(result[\"mark\"][\"feedback\"],0.5)\n )\n\nexponent_feedback (Feedback on the adjusted exponent: mark gap 1):\n feedback(\"Exponent:\");\n let(result,apply_marking_script(\"numberentry\",string(adjusted_exponent), gaps[1][\"settings\"],gaps[1][\"marks\"]),\n concat_feedback(result[\"mark\"][\"feedback\"],0.5)\n )\n\nmark:\n apply(significand_feedback);\n apply(exponent_feedback)\n\ninterpreted_answer: [adjusted_significand, adjusted_exponent]", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

A transition occurs between the upper state and the lower state such that a photon is emitted. What is the frequency, $\\nu$, of the photon (in Hz)? 

\n

[[0]] $\\times$ 10[[1]] Hz

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{Freq_mantissa}-{Freq_mantissa}/50", "maxValue": "{Freq_mantissa}+{Freq_mantissa}/50", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{Freq_log}-{Freq_log}", "maxValue": "{Freq_log}+{Freq_log}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Nick Walker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2416/"}]}]}], "contributors": [{"name": "Nick Walker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2416/"}]}