// Numbas version: exam_results_page_options {"name": "Weir equation lab", "extensions": [], "custom_part_types": [], "resources": [["question-resources/weir1.PNG", "/srv/numbas/media/question-resources/weir1.PNG"], ["question-resources/weir1_MKuZ09J.PNG", "/srv/numbas/media/question-resources/weir1_MKuZ09J.PNG"], ["question-resources/weir2.PNG", "/srv/numbas/media/question-resources/weir2.PNG"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Weir equation lab", "tags": [], "metadata": {"description": "Fourth fluid mechanics lab. ", "licence": "All rights reserved"}, "statement": "

Answer this question using your laboratory measurements and the Excel calculations and analysis template corresponding to the rectangular and V-notch Weir lab. You're expected to have completed all calculations and plots before attempting this question. 

", "advice": "

For a rectangular weir we know that for a given notch width b (m), a water height above the notch H (m), and discharge Q (m3s-1), the discharge coefficient is given by: 

\n

 

\n

Therefore, cd = (3*{Q})/(2*0.03*((2*9.81)^0.5)*{H}^1.5) = {Cd}

\n

\n

For a triangular weir we know that for a given notch angle theta (radians), a water height above the notch H (m), and discharge Q (m3s-1), the discharge coefficient is given by: 

\n

\n

Therefore, cd = (15*{Qt)/(8*TAN(90*((3.14/180/2))*SQRT(2*9.81)*Ht^2.5)) = {Cdt}

\n

\n

", "rulesets": {}, "extensions": [], "variables": {"H": {"name": "H", "group": "Rectangular weir", "definition": "0.084", "description": "

Height above notch (m)

", "templateType": "anything"}, "Q": {"name": "Q", "group": "Rectangular weir", "definition": "0.0013 ", "description": "

Discharge (cumecs)

", "templateType": "anything"}, "Cd": {"name": "Cd", "group": "Rectangular weir", "definition": "(3*Q)/(2*0.03*((2*9.81)^0.5)*H^1.5)", "description": "

Rectangular coefficient of discharge

", "templateType": "anything"}, "Ht": {"name": "Ht", "group": "Triangular weir", "definition": "0.083", "description": "

Water height above notch (m)

", "templateType": "anything"}, "Qt": {"name": "Qt", "group": "Triangular weir", "definition": "0.0015", "description": "

Discharge (cumecs)

", "templateType": "anything"}, "Cdt": {"name": "Cdt", "group": "Triangular weir", "definition": "(15*Qt)/(8*TAN(90*((3.14/180/2))*SQRT(2*9.81)*Ht^2.5))", "description": "

Triangular weir coefficient of discharge

", "templateType": "anything"}, "flow": {"name": "flow", "group": "Rectangular weir", "definition": "random(1,2,3,4,5,6,7,8)", "description": "", "templateType": "anything"}, "flowv": {"name": "flowv", "group": "Triangular weir", "definition": "random(1,2,3,4,5,6,7,8)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Rectangular weir", "variables": ["H", "Q", "Cd", "flow"]}, {"name": "Triangular weir", "variables": ["Ht", "Qt", "Cdt", "flowv"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

For the rectangular weir, under flow condition {flow}:

\n

Enter the water height above the notch base, H (m): [[0]]

\n

Enter the discharge flowing over the weir, Q (m3s-1): [[1]]

\n

Enter the corresponding discharge coefficient Cd: [[2]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "0", "maxValue": "0.12", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "0", "maxValue": "0.1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "4", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [{"variable": "H", "part": "p0g0", "must_go_first": true}, {"variable": "Q", "part": "p0g1", "must_go_first": true}], "variableReplacementStrategy": "alwaysreplace", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "Cd", "maxValue": "Cd", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "3", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

For the triangular weir, under flow condition {flowv}:

\n

Enter the water height above the notch base, H (m): [[0]]

\n

Enter the discharge flowing over the weir, Q (m3s-1): [[1]]

\n

Enter the corresponding discharge coefficient Cd: [[2]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "0", "maxValue": "0.12", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "0", "maxValue": "0.1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "4", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [{"variable": "Ht", "part": "p1g0", "must_go_first": true}, {"variable": "Qt", "part": "p1g1", "must_go_first": true}], "variableReplacementStrategy": "alwaysreplace", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "Cdt", "maxValue": "Cdt", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "3", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "m_n_x", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Match the following choices with the corresponding answers. Each row has a single associated correct statement. 

", "minMarks": 0, "maxMarks": 0, "minAnswers": 0, "maxAnswers": 0, "shuffleChoices": false, "shuffleAnswers": false, "displayType": "radiogroup", "warningType": "none", "showCellAnswerState": true, "choices": ["Rectangular weir", "Triangular weir", "The coefficient of discharge for v-notch weirs", "The coefficient of discharge for rectangular weirs"], "matrix": [["2", 0, 0, 0], ["2", 0, 0, 0], [0, "0", "2", 0], [0, 0, "0", "2"]], "layout": {"type": "all", "expression": ""}, "answers": ["Has a linear relationship between log10(H) and log10(Q)", "Has a non-linear relationship between log10(H) and log10(Q)", "2.5", "1.5"]}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

The gradient of each log-log plot corresponds to which part of the discharge equation?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$\\sqrt{2g}$", "The exponent of H", "The constant multiplying Q"], "matrix": [0, "4", 0], "distractors": ["", "", ""]}], "contributors": [{"name": "Roberto Villalobos Herrera", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4586/"}]}]}], "contributors": [{"name": "Roberto Villalobos Herrera", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4586/"}]}