// Numbas version: exam_results_page_options {"name": "Capillary action + pressure difference", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Max_height_ns.jpg", "/srv/numbas/media/question-resources/Max_height_ns.jpg"], ["question-resources/Max_height_v2.jpg", "/srv/numbas/media/question-resources/Max_height_v2.jpg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Capillary action + pressure difference", "tags": [], "metadata": {"description": "", "licence": "All rights reserved"}, "statement": "

Tree sap rises in the trees, in part, due to capillary action. However water also evaporates from the leaves creating a pressure differential along the capillary which also helps water move upwards.   

", "advice": "", "rulesets": {}, "extensions": [], "variables": {"max_h": {"name": "max_h", "group": "Ungrouped variables", "definition": "101325/(1000*9.8)", "description": "", "templateType": "anything"}, "r": {"name": "r", "group": "Ungrouped variables", "definition": "random(1 .. 3#0.1)", "description": "

Radius of the capillary tube (times 10^-6 meter)

", "templateType": "randrange"}, "new_max_h": {"name": "new_max_h", "group": "Ungrouped variables", "definition": "(2*0.0728+(r*10^(-6))*101325)/(1000*(r*10^(-6))*9.8)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["max_h", "r", "new_max_h"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Consider the following simple model for the rising of tree sap. Let us say that we have an open beaker with water. The atmosphere above the water has a pressure $P_{out}$. A capillary tube is inserted in the beaker. The pressure inside the capilary tube is $P_{in}$. Let us say that $P_{in}$ is smaller than  $P_{out}$. The water will rise in the capillary due to the difference in pressures.

\n

\n

"}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

What is the height the water rises due to this pressure difference (i.e. not taking into account capillary action)? Write the formula for $h$ with respect to $P_{out}$  (write this in numbas as P1), $P_{in}$ as (write this in numbas as P2), the density of water (write as d) and the gravitational accelaration (write as g).
Hint: You might want to consider equating the different forces at the thick dashed line inside the capilary.

\n

$h$ = [[0]]

", "gaps": [{"type": "jme", "useCustomName": true, "customName": "height", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": " (P1-P2)/(d*g)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": [{"name": "d", "value": ""}, {"name": "g", "value": ""}, {"name": "p1", "value": ""}, {"name": "p2", "value": ""}]}], "sortAnswers": false}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Notice that the height the water raises, $h$, is not dependent of the size of the capillary. What is the maximum height the water could rise at 1 atm (i.e $P1=1$ atm)? The density of water, $d$, is 1 g/cm3 and $g=9.8$ m/s2. Write your answer in metres and rounded to the nearest integer.

\n

Notice that this is the same as asking what is the maximum length of straw you can drink through.

", "minValue": "max_h", "maxValue": "max_h", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en", "scientific"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "4", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

We now consider capillary motion together with the rise due to the difference in pressure, and assume maximum wettability. What is the maximum height that the water (density 1 g/cm3) can rise if the capilary tube has a circular cross section with a radius of $\\var{r}\\times10^{-6}$ m and a surface tension $\\sigma=0.0728$ N/m.

\n

Again, provide your answer to the nearest metre.

", "minValue": "new_max_h", "maxValue": "new_max_h", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en", "scientific"], "correctAnswerStyle": "plain"}], "contributors": [{"name": "Jon Goss", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3925/"}, {"name": "Tiago Marinheiro", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4619/"}]}]}], "contributors": [{"name": "Jon Goss", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3925/"}, {"name": "Tiago Marinheiro", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4619/"}]}