$\\var{no_people}$ track and field athletes were asked whether they perform static stretches before they competed. $\\var{stretch}$ athletes said that they performed static stretches.

\nWhat is the relative frequency of athletes who perform static stretches before competing?

\n", "minValue": "{stretch}/{no_people}", "precisionPartialCredit": 0, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "precisionType": "dp", "mustBeReduced": false, "mustBeReducedPC": 0, "correctAnswerFraction": false, "precisionMessage": "You must give your answer as a decimal to 2 decimal places.

", "type": "numberentry", "maxValue": "{stretch}/{no_people}", "unitTests": [], "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "showPrecisionHint": true, "allowFractions": false}, {"variableReplacements": [], "extendBaseMarkingAlgorithm": true, "marks": 1, "precision": 0, "strictPrecision": false, "scripts": {}, "prompt": "The force required to break a femur during a simulated lateral fall was measured on multiple samples. The relative frequency of a femur breaking when $4000N$ was applied was estimated to be $\\var{rel_freq}$.

\nEstimate the number of femurs that would break in a sample of $\\var{no_students}$ when a $4000N$ force is applied to them.

", "minValue": "{no_students}*{rel_freq}", "precisionPartialCredit": 0, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "precisionType": "dp", "mustBeReduced": false, "mustBeReducedPC": 0, "correctAnswerFraction": false, "precisionMessage": "Round your answer to the nearest integer.

", "type": "numberentry", "maxValue": "{no_students}*{rel_freq}", "unitTests": [], "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "showPrecisionHint": true, "allowFractions": false}, {"sortAnswers": false, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "marks": 0, "customMarkingAlgorithm": "", "scripts": {}, "type": "gapfill", "prompt": "A survey was conducted to find out what type of $3D$ motion analysis system is the most commonly used. The results are given in the table below.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nType of $3D$ motion anaylsis system | Frequency |

Vicon | $\\var{vicon}$ |

Qualysis | $\\var{qualysis}$ |

Optotrak | $\\var{optotrak}$ |

i)* *

What was the sample size for the survey?

\n[[0]]

\nii)

\nWhat is the relative frequency of using Vicon as a $3D$ motion analysis system?

\n[[1]]

", "unitTests": [], "gaps": [{"mustBeReduced": false, "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "marks": 1, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerFraction": false, "correctAnswerStyle": "plain", "type": "numberentry", "maxValue": "{Vicon} + {qualysis} + {Optotrak}", "unitTests": [], "showFeedbackIcon": true, "minValue": "{Vicon} + {qualysis} + {Optotrak}", "scripts": {}, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "allowFractions": false}, {"variableReplacements": [], "extendBaseMarkingAlgorithm": true, "marks": 1, "precision": "2", "strictPrecision": true, "precisionPartialCredit": 0, "minValue": "{Vicon}/({Vicon} + {qualysis} + {Optotrak})", "scripts": {}, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "precisionType": "dp", "mustBeReduced": false, "mustBeReducedPC": 0, "correctAnswerFraction": false, "precisionMessage": "Round your answer to 2 decimal places.

", "type": "numberentry", "maxValue": "{Vicon}/({Vicon} + {qualysis} + {Optotrak})", "unitTests": [], "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "showPrecisionHint": true, "allowFractions": false}], "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}], "variablesTest": {"condition": "", "maxRuns": 100}, "contributors": [{"name": "Vicky Hall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/659/"}, {"name": "Elliott Fletcher", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1591/"}, {"name": "Lauren Frances Desoysa", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2490/"}], "rulesets": {}, "name": "Relative Frequency", "variable_groups": [], "extensions": [], "type": "question", "functions": {}, "variables": {"Optotrak": {"description": "Frequency of hamster in part c

", "name": "Optotrak", "group": "Ungrouped variables", "definition": "random(1..10 except vicon except qualysis) ", "templateType": "anything"}, "stretch": {"description": "Number of people who prefer free-range eggs in part a)

", "name": "stretch", "group": "Ungrouped variables", "definition": "random(10..40)", "templateType": "anything"}, "qualysis": {"description": "Frequency of cat in part c.

", "name": "qualysis", "group": "Ungrouped variables", "definition": "random(5..15 except vicon)", "templateType": "anything"}, "Vicon": {"description": "", "name": "Vicon", "group": "Ungrouped variables", "definition": "random(20..40)", "templateType": "anything"}, "rel_freq": {"description": "Relative frequency for part b

", "name": "rel_freq", "group": "Ungrouped variables", "definition": "random(0.3..0.5 # 0.01)", "templateType": "anything"}, "no_students": {"description": "Number of students in the class for part b

", "name": "no_students", "group": "Ungrouped variables", "definition": "random(20..40 #10)", "templateType": "anything"}, "no_people": {"description": "Number of people asked in part a)

", "name": "no_people", "group": "Ungrouped variables", "definition": "random(50..150 #10)", "templateType": "anything"}, "n": {"description": "Sample size for part c

", "name": "n", "group": "Ungrouped variables", "definition": "Vicon + qualysis + Optotrak", "templateType": "anything"}}, "tags": [], "statement": "The relative frequency of an outcome is the frequency of the outcome divided by the number of trials.

", "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["no_people", "stretch", "no_students", "rel_freq", "Vicon", "qualysis", "Optotrak", "n"], "metadata": {"description": "Calculate relative frequencies in a variety of scenarios.

", "licence": "Creative Commons Attribution 4.0 International"}, "advice": "The relative frequency of an outcome is the frequency of the outcome divided by the number of trials.

\nTo calculate the relative frequency of people who performed static stretches we need the number of trials, which is $\\var{no_people}$, and the number of people who said that they they performed static stretches, which is $\\var{stretch}$.

\n\nTherefore, the relative frequency of people who perform static stretches is

\n\\[

\\frac{\\var{stretch}}{\\var{no_people}} = \\var{dpformat({stretch/no_people}, 2)} \\; (\\text{rounded to $2$ decimal places}).

\\]

We are told that the relative frequency of the number of femurs that break when $4000N$ is applied to them is $\\var{rel_freq}$, so we assume that the relative frequency is the same across all samples of femurs exposed to the same $4000N$ force. Therefore, in our sample of $\\var{no_students}$ femurs we expect that

\n\\[

\\begin{align}

\\var{rel_freq} \\times \\var{no_students} = \\var{{rel_freq}*{no_students}}

\\end{align}

\\]

femurs will break.

\nAs this result represents a number of femurs, if the answer is not an integer, we must round it to the nearest integer.

\n* *

i)

\nUsing the frequency table given in the question, we can calculate the sample size of the survey by adding together the frequencies of each of the different types of $3D$ motion analysis systems.

\nSo, the sample size of the survey is

\n\\[

\\var{Vicon}+\\var{qualysis}+\\var{Optotrak} = \\var{Vicon + qualysis + Optotrak}.

\\]

ii)

\nTo calculate the relative frequency of using Vicon as a type of $3D$ motion anaylsis system, we divide the frequency of Vicon by the sample size of the survey.

\nSo, the relative frequency is

\n\\[

\\frac{\\var{Vicon}}{\\var{n}} = \\var{dpformat({Vicon/n}, 2)} \\; (\\text{rounded to $2$ decimal places}).

\\]