Calculate relative frequencies in a variety of scenarios.

"}, "statement": "The relative frequency of an outcome is the frequency of the outcome divided by the number of trials.

", "rulesets": {}, "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}).

\\]

$\\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", "correctAnswerStyle": "plain", "precisionMessage": "You must give your answer as a decimal to 2 decimal places.

", "unitTests": [], "maxValue": "{stretch}/{no_people}", "type": "numberentry", "allowFractions": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "marks": 1, "showPrecisionHint": true, "mustBeReduced": false, "precisionType": "dp", "scripts": {}, "extendBaseMarkingAlgorithm": true, "minValue": "{stretch}/{no_people}", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "precision": "2", "customMarkingAlgorithm": ""}, {"showCorrectAnswer": true, "precisionPartialCredit": 0, "strictPrecision": false, "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.

", "correctAnswerStyle": "plain", "precisionMessage": "Round your answer to the nearest integer.

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

", "unitTests": [], "maxValue": "{Vicon}/({Vicon} + {qualysis} + {Optotrak})", "type": "numberentry", "allowFractions": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "marks": 1, "showPrecisionHint": true, "mustBeReduced": false, "precisionType": "dp", "scripts": {}, "extendBaseMarkingAlgorithm": true, "minValue": "{Vicon}/({Vicon} + {qualysis} + {Optotrak})", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "precision": "2", "customMarkingAlgorithm": ""}], "sortAnswers": false, "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]]

", "scripts": {}, "extendBaseMarkingAlgorithm": true, "unitTests": [], "type": "gapfill", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "customMarkingAlgorithm": "", "variableReplacements": []}], "variables": {"qualysis": {"group": "Ungrouped variables", "name": "qualysis", "description": "Frequency of cat in part c.

", "definition": "random(5..15 except vicon)", "templateType": "anything"}, "Optotrak": {"group": "Ungrouped variables", "name": "Optotrak", "description": "Frequency of hamster in part c

", "definition": "random(1..10 except vicon except qualysis) ", "templateType": "anything"}, "no_people": {"group": "Ungrouped variables", "name": "no_people", "description": "Number of people asked in part a)

", "definition": "random(50..150 #10)", "templateType": "anything"}, "stretch": {"group": "Ungrouped variables", "name": "stretch", "description": "Number of people who prefer free-range eggs in part a)

", "definition": "random(10..40)", "templateType": "anything"}, "Vicon": {"group": "Ungrouped variables", "name": "Vicon", "description": "", "definition": "random(20..40)", "templateType": "anything"}, "n": {"group": "Ungrouped variables", "name": "n", "description": "Sample size for part c

", "definition": "Vicon + qualysis + Optotrak", "templateType": "anything"}, "rel_freq": {"group": "Ungrouped variables", "name": "rel_freq", "description": "Relative frequency for part b

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

", "definition": "random(20..40 #10)", "templateType": "anything"}}, "variablesTest": {"maxRuns": 100, "condition": ""}, "tags": [], "type": "question", "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/"}]}]}], "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/"}]}