// Numbas version: exam_results_page_options {"name": "Tutorial 2", "extensions": [], "custom_part_types": [], "resources": [["question-resources/image_drS3E1c.png", "/srv/numbas/media/question-resources/image_drS3E1c.png"], ["question-resources/image_JuCWFUl.png", "/srv/numbas/media/question-resources/image_JuCWFUl.png"], ["question-resources/office.png", "/srv/numbas/media/question-resources/office.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Tutorial 2", "tags": [], "metadata": {"description": "

Calculate the heat losses from a model building based on the U values, dimensions and other parameters specified. In addition calculate the annual running costs and payback period for improvements to the building Fabric.

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

", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"l": {"name": "l", "group": "Ungrouped variables", "definition": "random(16..20)", "description": "

length of building

", "templateType": "anything", "can_override": false}, "w": {"name": "w", "group": "Ungrouped variables", "definition": "random(8..12)", "description": "

width of building

", "templateType": "anything", "can_override": false}, "uwa": {"name": "uwa", "group": "Ungrouped variables", "definition": "random(4..6)/10.0", "description": "

U value of wall

", "templateType": "anything", "can_override": false}, "uwi": {"name": "uwi", "group": "Ungrouped variables", "definition": "random(35..45)/10.0", "description": "

u value of windows

", "templateType": "anything", "can_override": false}, "uro": {"name": "uro", "group": "Ungrouped variables", "definition": "0.65+random(1..3)*0.05", "description": "

u value of the roof

", "templateType": "anything", "can_override": false}, "ufl": {"name": "ufl", "group": "Ungrouped variables", "definition": "random(4..6)/10.0", "description": "

 U value of the roof

", "templateType": "anything", "can_override": false}, "ti": {"name": "ti", "group": "Ungrouped variables", "definition": "random(20..24)", "description": "

internal temperature

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

External Design Temperature

", "templateType": "anything", "can_override": false}, "udo": {"name": "udo", "group": "Ungrouped variables", "definition": "2+random(1..3)*0.5", "description": "

U value of the door

", "templateType": "anything", "can_override": false}, "awin": {"name": "awin", "group": "Ungrouped variables", "definition": "10", "description": "

area of windows

", "templateType": "anything", "can_override": false}, "adoor": {"name": "adoor", "group": "Ungrouped variables", "definition": "4", "description": "

area of doors

", "templateType": "anything", "can_override": false}, "awalls": {"name": "awalls", "group": "Ungrouped variables", "definition": "2*(l+w)*3-awin-adoor", "description": "

area of walls

", "templateType": "anything", "can_override": false}, "aroof": {"name": "aroof", "group": "Ungrouped variables", "definition": "l*w", "description": "

area of roof

", "templateType": "anything", "can_override": false}, "dt": {"name": "dt", "group": "Ungrouped variables", "definition": "ti-to", "description": "

delat T

", "templateType": "anything", "can_override": false}, "qwin": {"name": "qwin", "group": "Ungrouped variables", "definition": "uwi*awin*dt", "description": "

heat loss through windows

", "templateType": "anything", "can_override": false}, "qdoor": {"name": "qdoor", "group": "Ungrouped variables", "definition": "udo*adoor*dt", "description": "

heat loss through door

", "templateType": "anything", "can_override": false}, "qwalls": {"name": "qwalls", "group": "Ungrouped variables", "definition": "awalls*uwa*dt", "description": "

heat loss through walls

", "templateType": "anything", "can_override": false}, "qroof": {"name": "qroof", "group": "Ungrouped variables", "definition": "aroof*uro*dt", "description": "

heat loss through roof

", "templateType": "anything", "can_override": false}, "qfloor": {"name": "qfloor", "group": "Ungrouped variables", "definition": "aroof*ufl*dt", "description": "

heat loss through floor

", "templateType": "anything", "can_override": false}, "hours": {"name": "hours", "group": "Ungrouped variables", "definition": "random(8..11)", "description": "

hours a day heat is on

", "templateType": "anything", "can_override": false}, "eff": {"name": "eff", "group": "Ungrouped variables", "definition": "random(87..93)", "description": "

boiler efficiency

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

cost per kwh of gas

", "templateType": "anything", "can_override": false}, "uwalls2": {"name": "uwalls2", "group": "Ungrouped variables", "definition": "precround(1/(1+(1/uwa)),3)", "description": "", "templateType": "anything", "can_override": false}, "uroof2": {"name": "uroof2", "group": "Ungrouped variables", "definition": "precround(1/(1+(1/uro)),3)", "description": "", "templateType": "anything", "can_override": false}, "costins": {"name": "costins", "group": "Ungrouped variables", "definition": "(dt2/dt)*(qwall2)*(cost)*hours*140/(eff*1000)\n", "description": "

new cost of heating office after fitting insulation

", "templateType": "anything", "can_override": false}, "heacost": {"name": "heacost", "group": "Ungrouped variables", "definition": "140*(qtotw2)*hours*cost/(1000*(eff))", "description": "

cost of heating the building

", "templateType": "anything", "can_override": false}, "qwin2": {"name": "qwin2", "group": "Ungrouped variables", "definition": "2*awin*dt+qdoor+qwalls+qfloor+qroof", "description": "

heat loss from building with new windows

", "templateType": "anything", "can_override": false}, "costwins": {"name": "costwins", "group": "Ungrouped variables", "definition": "(dt2/dt)*(qwin2)*(cost)*hours*140/(eff*1000.0)", "description": "

cost of heating office with new windows

", "templateType": "anything", "can_override": false}, "fuelin": {"name": "fuelin", "group": "Ungrouped variables", "definition": "140*hours*(qtotw2)/(10*(eff))", "description": "

fuel required by boiler

", "templateType": "anything", "can_override": false}, "heatload": {"name": "heatload", "group": "Ungrouped variables", "definition": "(qwin+qdoor+qwalls+qfloor+qdoor)/1000\n", "description": "

heat load for office

", "templateType": "anything", "can_override": false}, "qtotw": {"name": "qtotw", "group": "Unnamed group", "definition": "(qwin+qdoor+qwalls+qfloor+qroof)", "description": "", "templateType": "anything", "can_override": false}, "savingins": {"name": "savingins", "group": "Ungrouped variables", "definition": "heacost-costins", "description": "", "templateType": "anything", "can_override": false}, "savingwins": {"name": "savingwins", "group": "Ungrouped variables", "definition": "heacost-costwins", "description": "", "templateType": "anything", "can_override": false}, "qtotw2": {"name": "qtotw2", "group": "Unnamed group", "definition": "qtotw*(ti-7)/(ti-to)", "description": "", "templateType": "anything", "can_override": false}, "dt2": {"name": "dt2", "group": "Ungrouped variables", "definition": "ti-7", "description": "", "templateType": "anything", "can_override": false}, "Savingwall": {"name": "Savingwall", "group": "Ungrouped variables", "definition": "heacost - costins", "description": "", "templateType": "anything", "can_override": false}, "qwall2": {"name": "qwall2", "group": "Ungrouped variables", "definition": "qwin+qdoor+qfloor+uwalls2*awalls*dt+uroof2*aroof*dt", "description": "", "templateType": "anything", "can_override": false}, "PaybackIns": {"name": "PaybackIns", "group": "Ungrouped variables", "definition": "5000/savingins", "description": "", "templateType": "anything", "can_override": false}, "PayBackwins": {"name": "PayBackwins", "group": "Ungrouped variables", "definition": "800/savingwins", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["l", "w", "uwa", "uwi", "uro", "ufl", "ti", "to", "udo", "awin", "adoor", "awalls", "aroof", "dt", "qwin", "qdoor", "qwalls", "qroof", "qfloor", "hours", "eff", "cost", "uwalls2", "uroof2", "costins", "heacost", "qwin2", "costwins", "fuelin", "heatload", "savingins", "savingwins", "dt2", "Savingwall", "qwall2", "PaybackIns", "PayBackwins"], "variable_groups": [{"name": "Unnamed group", "variables": ["qtotw", "qtotw2"]}], "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": "

a)

\n

An office is $\\var{l}$m long by $\\var{w}$m wide by 3m high. In the external walls there are 5 windows and 2 doors. Each window measures 2m by 1m and each door measures 1m by 2m. Calculate the heat loss from the office when, the internal temperature is $\\var{ti}$oC and the external temperature is $\\var{to}$oC.

\n

Fill in the answers in the table below.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ElementU Value (W/m2K)Area(m2)\n

$\\Delta$T oC (Ti-To)

\n
\n

Heat Loss (W)

\n

Q= UA$\\Delta$T

\n
Windows$\\var{uwi}$[[0]][[5]][[6]]
Doors$\\var{udo}$[[1]][[5]][[7]]
External Walls$\\var{uwa}$[[2]][[5]][[8]]
Roof$\\var{uro}$[[3]][[5]][[9]]
Floor$\\var{ufl}$[[4]][[5]][[10]]
Total[[11]] W
\n

\n

b)

\n

\n

The office above is heated by a condensing gas boiler, which is connected to a low surface temperature radiator system. The heating system operates during the winter period for {hours} hours per day, 5 days per week, 4 weeks per month and 7 months per year. The average external temperature during the Winter is 7oC. If the boiler has an operating efficiency of {eff}% and the cost of gas is {cost}c/kWh, calculate the following:

\n

\n

The ratio of Operating  ΔT to Design ΔT   [[29]]

\n

The annual heat output required from the heating system in kWh (Assume 4 weeks in a month) [[12]]

\n

The annual fuel input required by the heating system in kWh. [[13]]

\n

Annual cost of running the heating system in €. [[14]]

\n

\n

c)

\n

To reduce the running costs of the heating system the office manager has proposed the following two options: 

\n

i)  Fit 50mm insulation with a thermal conductivity of 0.05W/m.K to the walls and roof

\n

ii) Replace all windows with double glazing having a U-value of 2W/m2K

\n
    \n

    Using both tables below calculate the annual saving for both options.

    \n

    \n

    Option i) - fit 50mm insulation with a thermal conductivity of 0.05W/m.K to the walls and roof 

    \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    \n

    Element 

    \n
    \n

    U value 

    \n

    (W/m2k) 

    \n
    \n

    Area 

    \n

    (m2) 

    \n
    \n

    ΔT (oC) 

    \n

    (Ti –To) 

    \n
    \n

    Heat Loss (W) 

    \n

    Q= U A ΔT 

    \n
    \n

    Window 

    \n
    \n

    As before 

    \n
    \n

    [[6]]

    \n
    \n

    Door 

    \n
    \n

    As before 

    \n
    \n

    [[7]]

    \n
    \n

    Wall 

    \n
    \n

    [[15]]

    \n
    \n

    [[2]]

    \n
    \n

    [[5]]

    \n
    \n

    [[17]]

    \n
    \n

    Roof 

    \n
    [[16]]\n

    [[3]]

    \n
    \n

    [[5]]

    \n
    [[18]]
    \n

    Floor 

    \n
    \n

    As before 

    \n
    \n

    [[10]]

    \n
    \n

    Total Fabric Heat Loss (Qf) 

    \n
    \n

    [[19]] W

    \n
    \n

    \n

    Option ii) - Replace all windows with double glazing having a U-value of 2W/m2K 

    \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    \n

    Element 

    \n
    \n

    U value 

    \n

    (W/m2k) 

    \n
    \n

    Area 

    \n

    (m2) 

    \n
    \n

    ΔT (oC) 

    \n

    (Ti –To) 

    \n
    \n

    Heat Loss (W) 

    \n

    Q= U A ΔT 

    \n
    \n

    Window 

    \n
    \n

    [[20]]

    \n
    \n

    [[0]]

    \n
    \n

    [[5]]

    \n
    \n

    [[21]]

    \n
    \n

    Door 

    \n
    \n

    As before 

    \n
    \n

    [[7]]

    \n
    \n

    Wall 

    \n
    \n

    As before 

    \n
    \n

    [[8]]

    \n
    \n

    Roof 

    \n
    \n

    As before 

    \n
    \n

    [[9]]

    \n
    \n

    Floor 

    \n
    \n

    As before 

    \n
    \n

    [[10]]

    \n
    \n

    Total Fabric Heat Loss (Qf) 

    \n
    \n

    [[22]] W

    \n
    \n

    \n

    Annual saving with new Insulation (€)= [[23]]

    \n

    Annual saving with new Windows (€)= [[24]]

    \n

    \n

    d)

    \n

    The office manager has asked you to calculate the simple payback period for both proposed options and advise which is the best option to choose and why.  

    \n

    The capital costs of each option are as follows: 

    \n\n

    Payback Period for new Insulation (Years) = [[25]]

    \n

    Payback period for new Windows (Years) = [[26]]

    \n

    Which Option should the building manager choose?

    \n

    [[27]]

    \n

    Why? [[28]]

    \n

    ", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "awin", "maxValue": "awin", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "alternatives": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "", "useAlternativeFeedback": false, "minValue": "adoor", "maxValue": "adoor", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "minValue": "adoor", "maxValue": "adoor", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "awalls", "maxValue": "awalls", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "aroof", "maxValue": "aroof", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "l*w", "maxValue": "l*w", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "3", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "alternatives": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "", "useAlternativeFeedback": false, "minValue": "dt", "maxValue": "dt", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "minValue": "dt", "maxValue": "dt", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*qwin", "maxValue": "1.02qwin", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "6", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*qdoor", "maxValue": "1.02qdoor", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "6", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*qwalls", "maxValue": "1.02qwalls", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "6", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*qroof", "maxValue": "1.02qroof", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "6", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*qfloor", "maxValue": "1.02qfloor", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "6", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*(qwin+qdoor+qwalls+qroof+qfloor)", "maxValue": "1.02*(qwin+qdoor+qwalls+qroof+qfloor)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "3", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [{"variable": "qtotw", "part": "p0g11", "must_go_first": false}], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*(140*hours*qtotw2)/1000", "maxValue": "1.02*(140*hours*qtotw2)/1000", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "3", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [{"variable": "qtotw", "part": "p0g11", "must_go_first": false}], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "alternatives": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "3", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "", "useAlternativeFeedback": false, "minValue": "0.98*fuelin", "maxValue": "1.02*fuelin", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "minValue": "0.98*fuelin", "maxValue": "1.02*fuelin", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "3", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [{"variable": "qtotw", "part": "p0g11", "must_go_first": false}], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "alternatives": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "", "useAlternativeFeedback": false, "minValue": "0.98*heacost", "maxValue": "1.02*heacost", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "minValue": "0.98*heacost", "maxValue": "1.02*heacost", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*uwalls2", "maxValue": "1.02*uwalls2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*uroof2", "maxValue": "1.02*uroof2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [{"variable": "awalls", "part": "p0g2", "must_go_first": false}, {"variable": "dt", "part": "p0g5", "must_go_first": false}], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*(uwalls2*awalls*dt)", "maxValue": "1.02*(uwalls2*awalls*dt)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [{"variable": "aroof", "part": "p0g3", "must_go_first": false}, {"variable": "dt", "part": "p0g5", "must_go_first": false}], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*(uroof2*aroof*dt)", "maxValue": "1.02*(uroof2*aroof*dt)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [{"variable": "qwin", "part": "p0g6", "must_go_first": false}, {"variable": "qdoor", "part": "p0g7", "must_go_first": false}, {"variable": "qfloor", "part": "p0g10", "must_go_first": false}, {"variable": "awalls", "part": "p0g2", "must_go_first": false}, {"variable": "aroof", "part": "p0g2", "must_go_first": false}, {"variable": "dt", "part": "p0g5", "must_go_first": false}], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*(qwin+qdoor+qfloor+uroof2*aroof*dt+uwalls2*awalls*dt)", "maxValue": "1.02*(qwin+qdoor+qfloor+uroof2*aroof*dt+uwalls2*awalls*dt)", "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": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "2", "maxValue": "2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "3", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [{"variable": "awin", "part": "p0g0", "must_go_first": false}, {"variable": "dt", "part": "p0g5", "must_go_first": false}], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "alternatives": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "", "useAlternativeFeedback": false, "minValue": "0.98*qwin2", "maxValue": "1.02*qwin2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "minValue": "0.98*2*awin*dt", "maxValue": "1.02*2*awin*dt", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [{"variable": "qdoor", "part": "p0g7", "must_go_first": false}, {"variable": "qfloor", "part": "p0g10", "must_go_first": false}, {"variable": "qwalls", "part": "p0g8", "must_go_first": false}, {"variable": "qroof", "part": "p0g9", "must_go_first": false}, {"variable": "awin", "part": "p0g0", "must_go_first": false}, {"variable": "dt", "part": "p0g5", "must_go_first": false}], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*qwin2", "maxValue": "1.02*qwin2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [{"variable": "qwin", "part": "p0g6", "must_go_first": false}, {"variable": "qdoor", "part": "p0g7", "must_go_first": false}, {"variable": "qfloor", "part": "p0g10", "must_go_first": false}, {"variable": "heacost", "part": "p0g15", "must_go_first": false}, {"variable": "awalls", "part": "p0g2", "must_go_first": false}, {"variable": "aroof", "part": "p0g3", "must_go_first": false}, {"variable": "dt", "part": "p0g5", "must_go_first": false}], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*abs(heacost-costins)", "maxValue": "1.02*abs(heacost-costins)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "4", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [{"variable": "qwalls", "part": "p0g8", "must_go_first": false}, {"variable": "qdoor", "part": "p0g7", "must_go_first": false}, {"variable": "qfloor", "part": "p0g10", "must_go_first": false}, {"variable": "qroof", "part": "p0g9", "must_go_first": false}, {"variable": "heacost", "part": "p0g15", "must_go_first": false}, {"variable": "awin", "part": "p0g0", "must_go_first": false}, {"variable": "dt", "part": "p0g5", "must_go_first": false}], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*abs(heacost-costwins)", "maxValue": "1.02*abs(heacost-costwins)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "3", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [{"variable": "qwin", "part": "p0g6", "must_go_first": false}, {"variable": "qdoor", "part": "p0g7", "must_go_first": false}, {"variable": "qfloor", "part": "p0g10", "must_go_first": false}, {"variable": "heacost", "part": "p0g15", "must_go_first": false}, {"variable": "savingins", "part": "p0g24", "must_go_first": false}, {"variable": "awalls", "part": "p0g2", "must_go_first": false}, {"variable": "aroof", "part": "p0g3", "must_go_first": false}, {"variable": "dt", "part": "p0g5", "must_go_first": false}], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*5000.0/(savingins)", "maxValue": "1.02*5000.0/(savingins)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "3", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [{"variable": "qdoor", "part": "p0g7", "must_go_first": false}, {"variable": "qfloor", "part": "p0g10", "must_go_first": false}, {"variable": "qwalls", "part": "p0g8", "must_go_first": false}, {"variable": "qroof", "part": "p0g9", "must_go_first": false}, {"variable": "heacost", "part": "p0g15", "must_go_first": false}, {"variable": "savingwins", "part": "p0g25", "must_go_first": false}, {"variable": "awin", "part": "p0g0", "must_go_first": false}, {"variable": "dt", "part": "p0g5", "must_go_first": false}], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "0.98*800.0/(savingwins)", "maxValue": "1.02*800.0/(savingwins)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [{"variable": "PaybackIns", "part": "p0g25", "must_go_first": false}, {"variable": "PayBackwins", "part": "p0g26", "must_go_first": false}], "variableReplacementStrategy": "alwaysreplace", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["New Insulation", "New Windows"], "matrix": "if (PayBackins0,\n warn(translate(\"part.marking.nothing entered\"));\n fail(translate(\"part.marking.nothing entered\"))\n );\n if(\"pay\" in lower(studentAnswer) or \"paid\" in lower(studentAnswer) or \"return\" in lower(studentAnswer) or \"recoup\" in lower(studentAnswer),\n if(\"short\" in lower(studentAnswer) or \"quicker\" in lower(studentAnswer) or \"better\" in lower(studentAnswer) or \"less\" in lower(studentAnswer) or \"faster\" in lower(studentAnswer) or \"rather\" in lower(studentAnswer) or \"compar\" in lower(studentAnswer) or \"whereas\" in lower(studentAnswer) or \"long\" in lower(studentAnswer) or \"soon\" in lower(studentAnswer), \n correct(),incorrect()),incorrect()) \n \n\ninterpreted_answer (The student's answer, to be reused by other parts):\n studentAnswer", "extendBaseMarkingAlgorithm": false, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "", "displayAnswer": "", "matchMode": "exact"}, {"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": "0.98*(ti-7)/(ti-to)", "maxValue": "1.02*(ti-7)/(ti-to)", "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": "Micheal O'Flaherty", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/16815/"}, {"name": "Ronan Oliver", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18086/"}]}]}], "contributors": [{"name": "Micheal O'Flaherty", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/16815/"}, {"name": "Ronan Oliver", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18086/"}]}