// Numbas version: finer_feedback_settings {"name": "FIS5047_S1_Numbas", "metadata": {"description": "", "licence": "None specified"}, "duration": 0, "percentPass": 0, "showQuestionGroupNames": false, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Group", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", ""], "variable_overrides": [[], [], []], "questions": [{"name": "Ivan's copy of Converting units of volume (cc/cm^3/litres/m^3)", "extensions": ["random_person"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}, {"name": "Ivan Munoz", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18334/"}], "tags": ["taxonomy"], "metadata": {"description": "

Convert figures for car engine sizes between cc (cm^3), litres, and m^3.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

{person['name']} quiere comprar un auto. {person['name']} encuentra una publicidad con un auto con un motor de $\\var{cc}$cc. 

\n

{person['name']} Reconoce que 'cc' es por céntimetros cúbicos (cm$^3$) y sabe las siguientes conversiones:

\n\n\n\n\n\n\n\n\n\n\n\n
$1$ m$100$ cm
$1$ litre$1000\\text{cm}^3$ 
", "advice": "

a)

\n

El tamaño del motor es $\\var{cc}$ centimetros cubicos. Para convertir centrimetos cubicos a litros, dividimos por$1000$. 

\n

\\[\\var{cc}\\div 1000= \\var{litres}\\text{ litres.}\\]

\n

b)

\n

Notemos que

\n

\\[ 1 \\text{cm} = 0.01 \\text{m.} \\]

\n

Un ejemplo de volumen $1\\text{cm}^3$ es un cubo de lado $1$cm. Convirtiendo cada cm,

\n

\\begin{align}
1\\text{cm}^3 &= 1\\text{cm}\\times1\\text{cm}\\times1\\text{cm} \\\\
&= 0.01\\text{m}\\times0.01\\text{m}\\times0.01\\text{m} \\\\
&= 0.000001\\text{m}^3 \\text{.}
\\end{align}

\n

Entonces$\\var{cc}\\text{cm}^3$ is 

\n

\\[ \\var{cc} \\times 0.000001 = \\var{metres_cubed}\\text{m}^3\\text{.} \\]

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"metres_cubed": {"name": "metres_cubed", "group": "Ungrouped variables", "definition": "cc*(10^-6)", "description": "", "templateType": "anything", "can_override": false}, "cc": {"name": "cc", "group": "Ungrouped variables", "definition": "random(1200..3000#200)", "description": "", "templateType": "anything", "can_override": false}, "s": {"name": "s", "group": "Ungrouped variables", "definition": "if(person['gender']='neutral','','s')", "description": "", "templateType": "anything", "can_override": false}, "person": {"name": "person", "group": "Ungrouped variables", "definition": "random_person()", "description": "", "templateType": "anything", "can_override": false}, "litres": {"name": "litres", "group": "Ungrouped variables", "definition": "cc/1000", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["person", "litres", "cc", "s", "metres_cubed"], "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": "

{person['name']} aplica para saber cuánto costaría el seguro del automóvil, pero se requiere que indique el tamaño del motor en litros.

\n

¿Cuál es el tamaño del motor en litros?

\n

 [[0]] litres. 

\n

", "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": "litres", "maxValue": "litres", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"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": "

La especificación de un segundo automóvil da el tamaño del motor en m$^3$. Para que {person['name']} haga una comparación convierte el tamaño del motor del primer automóvil a metros cúbicos.

\n

¿Cuál es el tamaño del motor del primer automóvil en unidades de m$^3$?

\n

[[0]]m$^3$      Give your answer to 4 decimal places

", "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": "metres_cubed", "maxValue": "metres_cubed", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Ivan's copy of Converting units: baby weight", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}, {"name": "Ivan Munoz", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18334/"}], "tags": ["taxonomy"], "metadata": {"description": "

Convert weights of babies between kg and lb and oz.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

En muchos países, todavía es tradicional anunciar el peso de un bebé en unidades imperiales (libras y onzas), en lugar de métricas (gramos o kilogramos).

\n

Una tabla de conversión es la siguiente:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$1$ libra(lb)$16$ onza (oz)
$1$ stone (st)$14$ libra(lb)
$1$ kg$\\var{oz_to_kg}$ onza(oz)
", "advice": "

a)

\n

We are told that the baby's weight is $\\var{weight_kg}$kg and we would like to convert this to pounds and ounces.

\n

To do this, we first obtain the weight in ounces using the conversion given:

\n

\\begin{align}
\\var{weight_kg} \\text{ kg}  &= \\var{weight_kg} \\times \\var{oz_to_kg} \\text{ oz} \\\\
&= \\var{weight_oz}\\text{ oz.}
\\end{align}

\n

We can now divide by $16$ to find out how many whole pounds we have:

\n

\\[ \\var{weight_oz}\\text{ oz} \\div 16 =  \\var{dpformat(weight_oz/16,1)}\\text{ lb.} \\]

\n

There are $\\var{weight_lb}$ whole pounds, which leaves a remainder

\n

\\[ \\var{weight_oz} - (16 \\times \\var{weight_lb}) =  \\var{weight_oz_rem} \\text{ oz.} \\]

\n

The baby weighs $\\var{weight_lb}$ pounds and $\\var{weight_oz_rem}$ ounces.

\n

b)

\n

We are given the weight of the baby in stones, pounds and ounces. To convert to kg we first convert the baby's weight to ounces.

\n

$1$ stone is $14$ pounds, so the baby weighs $\\var{news['lb']+14}$ pounds and $\\var{news['oz']}$ ounces, or

\n

\\[  (\\var{news['lb']+14} \\times 16) + \\var{news['oz']} = \\var{(news['lb']+14)*16+news['oz']} \\text{ oz.}\\]

\n

We can now convert to kg:

\n

\\begin{align}
\\var{(news['lb']+14)*16+news['oz']} \\text{ oz} &= \\var{(news['lb']+14)*16+news['oz']} \\div \\var{oz_to_kg}  \\\\
&= \\var{dpformat(newskg,1)}\\text{ kg.}
\\end{align}

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"weight_oz_rem": {"name": "weight_oz_rem", "group": "hospital baby", "definition": "mod(weight_oz,16)", "description": "

The remainder in ounces

", "templateType": "anything", "can_override": false}, "weight_lb": {"name": "weight_lb", "group": "hospital baby", "definition": "floor(weight_oz/16)", "description": "

Weight of the baby in lb

", "templateType": "anything", "can_override": false}, "news_reports": {"name": "news_reports", "group": "News baby", "definition": "json_decode(safe(\"[\\n {\\n \\\"year\\\": 2016,\\n \\\"text\\\": \\\"only the second baby to be born in the UK\\\",\\n \\\"lb\\\": 1,\\n \\\"oz\\\": 8\\n },\\n {\\n \\\"year\\\": 2014,\\n \\\"text\\\": \\\"a boy in California\\\",\\n \\\"lb\\\": 2,\\n \\\"oz\\\": 2\\n },\\n {\\n \\\"year\\\": 2014,\\n \\\"text\\\": \\\"a boy in Florida, the heaviest ever recorded in the state,\\\",\\n \\\"lb\\\": 0,\\n \\\"oz\\\": 2\\n }, \\n {\\n \\\"year\\\": 2012,\\n \\\"text\\\": \\\"a record-breaking baby in China,\\\",\\n \\\"lb\\\": 1,\\n \\\"oz\\\": 5\\n } \\n]\"))", "description": "

A list of news reports

", "templateType": "json", "can_override": false}, "newskg": {"name": "newskg", "group": "News baby", "definition": "((16*(14+news['lb']))+news['oz'])/oz_to_kg", "description": "

Weight in kg of the baby in the news

", "templateType": "anything", "can_override": false}, "news": {"name": "news", "group": "News baby", "definition": "random(news_reports)", "description": "

The news report we're using

", "templateType": "anything", "can_override": false}, "oz_to_kg": {"name": "oz_to_kg", "group": "hospital baby", "definition": "35.3", "description": "

conversion rate, ounces in a kg

", "templateType": "anything", "can_override": false}, "weight_kg": {"name": "weight_kg", "group": "hospital baby", "definition": "precround(\n min(max(normalsample(3.5,1/1.96),2.5),5)\n,1)", "description": "

Weight of the baby in kg, given to the student in the question.

\n

Wikipedia says that the average baby of European heritage weighs 3.5kg, with 90% between 2.5 and 5.

\n

The min and max are to avoid really odd-looking weights.

", "templateType": "anything", "can_override": false}, "weight_oz": {"name": "weight_oz", "group": "hospital baby", "definition": "precround(weight_kg*oz_to_kg,0)", "description": "

weight of the baby in oz, rounded to the nearest integer

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "hospital baby", "variables": ["oz_to_kg", "weight_kg", "weight_lb", "weight_oz", "weight_oz_rem"]}, {"name": "News baby", "variables": ["news_reports", "news", "newskg"]}], "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": "

Un hospital mide el peso de un bebé en $\\var{weight_kg}$kg, pero los padres del bebé les piden el peso en libras y onzas, a quienes les gustaría hacer un anuncio a sus amigos y familiares de la manera tradicional. 

\n

Usando la tabla de conversión anterior, ¿cuál es el peso en libras (lb) y onzas (oz)?

\n

[[0]]lb and [[1]]oz        Round your answer to the nearest ounce.

", "stepsPenalty": 0, "steps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Usando la tasa de conversión de kg a oz, ¿cuál es el peso del bebé en onzas?

\n

", "minValue": "weight_oz", "maxValue": "weight_oz", "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": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Ahora usa la tasa de conversión de lb a oz. Redondeando hacia abajo, ¿cuántas libras enteras pesa el bebé?

", "minValue": "weight_lb", "maxValue": "weight_lb", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

¿Cuál es el peso anterior en onzas?

", "minValue": "weight_lb*16", "maxValue": "weight_lb*16", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Reste el peso anterior del peso del bebé en onzas que se encuentra en el primer paso. ¿Cuál es el resto en onzas?

", "minValue": "weight_oz_rem", "maxValue": "weight_oz_rem", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "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": "weight_lb", "maxValue": "weight_lb", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "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": "weight_oz_rem", "maxValue": "weight_oz_rem", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"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": "

En 1995, los periódicos informaron del nacimiento de un bebe con un peso de más de $1$ piedra. El bebé se registró en $1$ stone, $\\var{news['lb']}$ libras y $\\var{news['oz']}$ onzas.

\n

¿Cuál fue el peso en kg?

\n

\n

[[0]] kg      round your answer to 1 decimal place.

", "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": "newskg", "maxValue": "newskg", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "1", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Unidades ", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Ivan Munoz", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18334/"}], "tags": ["taxonomy"], "metadata": {"description": "

Calcule una velocidad en m/s dada la distancia y el tiempo necesarios, luego conviértala a km/hora

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Un atleta corre $\\var{distancia}$ m en $\\var{segundos}$ segundos.

\n

Redondea cada una de tus respuestas a dos decimales.

", "advice": "

a)

\n

Para encontrar la velocidad promedio del corredor en metros por segundo (m/s), dividimos la distancia recorrida por el corredor (en metros) por el tiempo que le tomó al corredor recorrer esa distancia (en segundos).

\n

\\[
\\begin{align}
\\text{Average speed} &= \\displaystyle\\frac{\\var{distance}}{\\var{seconds}}\\\\
&= \\var{distance/seconds}\\\\
&= \\var{dpformat(distance/seconds,2)}\\; \\text{m/s} \\; (\\text{rounded to $2$ decimal places}).
\\end{align}
\\]

\n

b)

\n

Podemos convertir la velocidad media del corredor que calculamos en a) en metros por segundo a kilómetros por hora usando las dos equivalencias siguientes:

\n

\\[1\\text{m} = \\displaystyle\\frac{1}{1000}\\text{km},\\]

\n

\\[
1 \\; \\text{second} = \\displaystyle\\frac{1}{60} \\; \\text{minutes} = \\displaystyle\\frac{1}{3600} \\; \\text{hours}.
\\]

\n

Sabemos por a) que la velocidad promedio del corredor en m/s fue $\\var{dpformat(distancia/segundos,5)}$ m/s ($5$ d.p), así que para convertir esta velocidad a km/h tenemos primero hay que convertir metros a kilómetros,

\n

\\[\\var{dpformat(distance/seconds,5)} \\; \\text{m/s} = \\var{dpformat(distance/seconds/1000,5)} \\text{km/s} \\; (5 \\; \\text{d.p})\\]

\n

Luego convertimos los segundos a horas.,

\n

\\[1 \\; \\text{second} = \\displaystyle\\frac{1}{3600} \\; \\text{hours}.\\]

\n

Ahora tenemos

\n

\\[\\var{dpformat(distance/seconds,5)} \\; \\text{m/s} = \\var{sigformat(distance/seconds/1000,5)} \\; \\text{kilometres per $\\displaystyle\\frac{1}{3600}$ hours}.\\]

\n

Queremos una tarifa por hora, entonces multiplicamos por $3600$ para obtener una medida en km/h:

\n

\\[\\begin{align}\\var{sigformat(distance/seconds/1000,5)} \\; \\text{kilometres per $\\displaystyle\\frac{1}{3600}$ hours} &= \\var{siground(distance/seconds/1000,5)*3600} \\; \\text{km}/\\text{h}\\\\&=\\var{dpformat(distance/seconds*3.6, 2)} \\; \\text{km}/\\text{h} \\; (\\text{rounded to $2$ decimal places}).\\end{align}\\]

\n

\\[\\var{sigformat(distance/seconds/1000,5)} \\; \\text{kilometres per $\\displaystyle\\frac{1}{3600}$ hours} = \\var{distance/seconds*3.6} \\; \\text{km}/\\text{h}.\\]

\n

Tenga en cuenta que a lo largo de este cálculo hemos redondeado todas las cifras a $5$ decimales por conveniencia; cuando haga cálculos que involucren decimales largos, siempre debe ingresar la cifra completa en su calculadora para evitar obtener una respuesta incorrecta debido al redondeo.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"speed": {"name": "speed", "group": "Ungrouped variables", "definition": "random(4..8#0)", "description": "

Athlete's speed, in m/s.

\n

4m/s is about 9 mph, a bit faster than a jog. The current world record is 12m/s.

", "templateType": "anything", "can_override": false}, "distance": {"name": "distance", "group": "Ungrouped variables", "definition": "random(80,100,150,200)", "description": "

Distance that the runner ran.

", "templateType": "anything", "can_override": false}, "seconds": {"name": "seconds", "group": "Ungrouped variables", "definition": "floor(distance/speed)", "description": "

Time taken to cover the distance, in seconds.

", "templateType": "anything", "can_override": false}, "distancia": {"name": "distancia", "group": "Ungrouped variables", "definition": "distance", "description": "", "templateType": "anything", "can_override": false}, "segundos": {"name": "segundos", "group": "Ungrouped variables", "definition": "seconds", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": "100"}, "ungrouped_variables": ["distance", "seconds", "speed", "distancia", "segundos"], "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": "

¿Cuál fue la velocidad promedio del corredor, en metros por segundo?

\n

[[0]] m/s

\n

", "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": "distance/seconds", "maxValue": "distance/seconds", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "

Round your answer to $2$ decimal places.

", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"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": "

¿Qué tan rápido es esto en kilómetros por hora?

\n

[[0]] km/h

", "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": "distance/seconds*3.6", "maxValue": "distance/seconds*3.6", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "

Round your answer to $2$ decimal places.

", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}]}], "allowPrinting": true, "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": true, "advicethreshold": 0, "intro": "", "end_message": "", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": [], "enterreviewmodeimmediately": true, "showexpectedanswerswhen": "inreview", "showpartfeedbackmessageswhen": "always", "showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showadvicewhen": "inreview"}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "type": "exam", "contributors": [{"name": "Ivan Munoz", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18334/"}], "extensions": ["random_person", "stats"], "custom_part_types": [], "resources": []}