Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 5J Solution Created 2026-09-23 Updated 2026-09-25
Writing , , and , the fitted normal linear model isThe R formula
lstat * age includes both main effects and their interaction term.Three notable features are:
- The fitted model is highly significant overall: its statistic is on degrees of freedom with . Its , however, means that about of the observed response variation remains unexplained, and the residual standard deviation is about house-value units.
- At fixed age, the fitted slope with respect to lstat isThe large negative main coefficient is strongly significant. The positive interaction is significant at the level (), indicating that this negative association becomes slightly weaker for older housing tracts.
- The age main-effect estimate is essentially zero with , but it is the age effect specifically at and should not be interpreted separately from the significant interaction. The diagnostic plots also show curved residual structure, increasing spread, a heavy upper tail with observations 215, 372, and 373, and substantial influence from observation 215. These features cast doubt on linearity, constant variance, and Gaussian residual assumptions.
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 4I Solution Created 2026-09-23 Updated 2026-09-25
A context-free grammar is in Chomsky normal form when every production has one of the formswhere are nonterminals and is a terminal. One may additionally allow when the empty word belongs to the language, usually with the restriction that the start symbol does not occur on a right-hand side.
In , the productions for giveConsequentlyIn , and generate and , while again givesSince , the two start productions generate exactlyThusEvery production of has the required binary-nonterminal or single-terminal form, so is the Chomsky-normal-form grammar for the nonempty part of .
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 40C b Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 40C a Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 3K Solution Created 2026-09-23 Updated 2026-09-25
A general binary feedback shift register of length has stateand a feedback function . One update outputs the oldest bit, shifts the state, and insertsThe initial fill is . It is a linear-feedback shift register whenfor fixed .
The Berlekamp-Massey algorithm reads an intercepted sequence from left to right while maintaining the shortest connection polynomial that reproduces the prefix. At each new symbol it computes the discrepancy between the observed bit and that predicted by the current recurrence. A zero discrepancy leaves the polynomial unchanged; a nonzero discrepancy adds a suitably shifted copy of the connection polynomial saved at the previous increase in linear complexity. After at least twice the unknown register length, it recovers the shortest recurrence, after which the entire keystream can be predicted.
Applying those discrepancy updates toreturns the connection polynomialEquivalently, the sequence obeysIndeed this predicts successively . No recurrence of length one or two fits the prefix, so its linear complexity is three.
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 39C b Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 39C a Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 38C e Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 38C d Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 38C c Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 38C b Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 38C a Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 37D b Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 37D a Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 36B c Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 36B b Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 36B a Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 35A e Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 35A d Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 4 35A c Created 2026-09-23 Updated 2026-09-24
There are unlisted articles, also show them or only show them.