Lite / Independent Engineering Research / Term 2 worksheet
Worksheet: Independent Engineering Research, term 2
Name: Date:
Week 10: Random variables, expectation and variance
1. What is the variance of 3X + 5, where X is one roll of a fair die (Var(X) = 35/12)?
Answer:
2. A drone's number of failed sensor checks per flight, X, takes values 0, 1, 2, 3 with probabilities 0.4, 0.3, 0.2, 0.1. What is E[X]?
Answer:
3. Two independent sensors each have error σ = 3 mm. What is the σ of the sum of their errors?
- 6 mm
- √18 ≈ 4.24 mm
- 3 mm
- 9 mm
4. One reading has σ = 6 cm. What is the σ of the mean of 9 independent readings, in cm?
Answer: cm
5. Which statement is true for ANY two random variables X and Y?
- E[X + Y] = E[X] + E[Y]
- Var(X + Y) = Var(X) + Var(Y)
- E[XY] = E[X]E[Y]
- σ(X + Y) = σ(X) + σ(Y)
Week 10: Binomial, Poisson and normal
1. Which count is best modelled as Poisson?
- Heads in 20 coin flips
- Cosmic-ray memory upsets in one hour
- Correct answers in a 10-question quiz
- The height of a rover's mast
2. A rover's camera spots its landmark on each attempt with probability p = 0.2, independently. In n = 5 attempts, what is the probability of exactly k = 4 sightings? Give a decimal between 0 and 1.
Answer:
3. Cosmic-ray hits flip bits in a spacecraft memory at an average of λ = 1.5 per day (a Poisson process). What is the probability of exactly k = 3 hits tomorrow? Give a decimal.
Answer:
4. A range sensor's readings are normal with mean μ = 50 m and σ = 5 m. What is the probability that one reading is below x = 57.5 m? Give a decimal.
Answer:
5. A camera succeeds with p = 0.25 on each of n = 40 independent attempts. What is the variance of the number of successes?
Answer:
Week 10: The central limit theorem by simulation
1. Readings have σ = 4 mm. How many must be averaged to get a standard error of 0.5 mm?
Answer:
2. A star tracker's single attitude measurement has σ = 1 arcseconds. You average n = 64 independent measurements. What is the standard error of the average, in arcseconds?
Answer: arcsec
3. Every reading from a range sensor is 3 cm too long because of a mounting offset, plus random noise σ = 2 cm. After averaging 400 readings, the error of the mean is about…
- 3 cm (the bias stays) ± 0.1 cm
- 0.1 cm
- 0 cm
- 3 cm ± 2 cm
4. Which condition is essential for the CLT as stated in this lesson?
- The readings are normally distributed
- The readings have finite variance and are independent
- n is at least 1000
- The population is symmetric
Week 11: Estimators: bias, variance and error
1. An estimator has bias 1.2 cm and standard deviation 0.5 cm. What is its RMSE, in cm?
Answer: cm
2. 'Use only the first of n readings' is an estimator that is…
- Unbiased, but its variance does not shrink with n
- Biased
- Unbiased with variance σ²/n
- Better than the mean when n is large
3. Estimator A: bias 0, σ = 2. Estimator B: bias 0.5, σ = 1. Which has lower MSE?
- A
- B
- They are equal
- Cannot tell without more data
4. A star tracker's single attitude measurement has σ = 2 arcseconds. You average n = 49 independent measurements. What is the standard error of the average, in arcseconds?
Answer: arcsec
5. For normal data and large n, the median's variance is about (π/2)·σ²/n. How many readings must the median use to match the mean of 100 readings?
Answer:
Week 11: Maximum likelihood
1. A gripper succeeds 18 times in 24 attempts. What is the maximum-likelihood estimate of its success probability?
Answer:
2. A micrometeoroid detector on a probe records k = 12 impacts in T = 12 hours. Assuming a Poisson process with rate λ, what is the maximum-likelihood estimate of λ, in impacts per hour?
Answer: per hour
3. Least squares is the maximum-likelihood fit when the measurement noise is…
- Independent Gaussian with equal variance
- Uniform
- Poisson
- Any distribution with mean zero
4. Which is true of the likelihood L(θ)?
- It is a probability distribution over θ
- It is the probability of the data, viewed as a function of θ
- It always integrates to 1 over θ
- It includes a prior on θ
5. A detector records 50 events in 200 s. Using SE ≈ √(λ̂/T), what is the standard error of the rate, in events per second?
Answer: per s
Week 11: Least squares as an estimator
1. A line is fitted at x = 0, 1, 2, 3, 4 with noise σ = 0.5. What is the standard error of the slope?
Answer:
2. A rover logs its odometer distance y (m) at times x = 0, 1, 2, 3, 4 s: y = 4.9, 5.8, 7.2, 8.2, 8.8. What is the least-squares slope (speed estimate) in m/s?
Answer: m/s
3. To estimate a drift rate as precisely as possible with 10 measurements over a fixed hour, you should take them…
- 5 at the start and 5 at the end
- All in the middle
- Evenly spaced
- All at the end
4. Why divide the residual sum of squares by n − 2 to estimate σ² in a straight-line fit?
- Two parameters were fitted from the data, using up two degrees of freedom
- It is a convention with no reason
- To make the estimate smaller
- Because the first and last points are excluded
Week 12: Random and systematic error, and confidence intervals
1. n = 16 readings of a wheel's radius have standard deviation s = 2 mm. Using z = 1.96 (large n), what is the half-width of the 95% confidence interval for the mean radius, in mm?
Answer: mm
2. Which of these is a systematic error?
- A thermometer that reads 0.5 °C high every time
- Electrical noise on an ADC reading
- Vibration shaking a camera
- Quantisation of a reading to the nearest step
3. A mean has random standard uncertainty 0.4 mm and an independent calibration standard uncertainty 0.3 mm. What is the combined standard uncertainty, in mm?
Answer: mm
4. Two teams report 9.81 ± 0.02 and 9.75 ± 0.02 m/s² (95%) for the same quantity. What is the most likely explanation?
- At least one has an unaccounted systematic error
- Both are right; the intervals just differ
- The second team used fewer readings
- Random error explains it
Week 12: Propagating uncertainty: linearisation and Monte Carlo
1. Distance driven = wheel circumference × number of turns. The circumference has a 1% relative uncertainty and the turn count a 3% relative uncertainty (independent). The rover drove about 400 m. What is the relative uncertainty of the distance, in %?
Answer: %
2. A position is the sum of two independent legs: 40.0 ± 0.3 m and 25.0 ± 0.4 m. What is the standard uncertainty of the total, in m?
Answer: m
3. Kinetic energy ½mv² with mass known exactly and v uncertain by 3%. What is the relative uncertainty of the energy, in %?
Answer: %
4. When is Monte Carlo propagation clearly better than linearisation?
- When the function is strongly nonlinear over the input uncertainty
- When the function is linear
- When the inputs are known exactly
- Never: they always agree
Week 12: Error budgets: where does the uncertainty come from?
1. A landing-position error budget has four independent 1σ contributions: entry navigation 2 km, atmosphere 2 km, aerodynamics 5 km and timing 2.5 km. What is the combined 1σ error (root-sum-square), in km?
Answer: km
2. Terms of 3, 4 and 12 m (1σ). What percentage of total variance comes from the 12 m term?
Answer: %
3. A requirement allows a total of 5 m (1σ). Two terms are already 3 m and 2 m. What is the largest allowed third term, in m?
Answer: m
4. A budget has terms 1, 2 and 8 m. You can halve any one term. Which gives the biggest improvement?
- Halve the 8 m term
- Halve the 1 m term
- Halve the 2 m term
- All give the same improvement
Week 13: Bayes' rule for sensor readings
1. Prior P(H) = 0.2. P(E | H) = 0.8, P(E | not H) = 0.1. What is P(H | E)?
Answer:
2. Before looking, a rover believes there is a 0.02 probability that a rock ahead is a hazard. Its hazard detector fires with probability 0.99 when there is a hazard and 0.02 when there is not. The detector fires. What is the posterior probability of a hazard?
Answer:
3. A dust-storm alarm is 99% sensitive and has a 1% false-alarm rate, but storms occur on only 1% of sols. After an alarm, P(storm) is about…
- 99%
- 50%
- 1%
- 90%
4. The same camera takes two photos of a rock one second apart; both look like a hazard. Why should you NOT simply apply the update twice?
- The two readings share the same lighting and viewpoint, so they are not independent evidence
- Bayes' rule only works once
- The prior becomes negative
- Two photos always cancel
Week 13: Updating a belief on a grid
1. Hypotheses p = 0.2, 0.5, 0.8 with equal prior. You observe one FAILURE. What is the posterior probability of p = 0.2?
Answer:
2. Same three hypotheses, equal prior. You observe success then failure. What is the posterior of p = 0.5?
Answer:
3. With a flat prior, where is the posterior's peak?
- At the maximum-likelihood estimate
- At 0.5 always
- At the posterior mean
- Nowhere: a flat prior gives a flat posterior
4. Why do robots rarely use plain grids to estimate 6-D pose (3 position + 3 orientation)?
- The number of cells grows exponentially with dimension
- Bayes' rule fails in 6-D
- Grids cannot represent uncertainty
- Priors cannot be defined in 6-D
Week 13: The conjugate normal update
1. Prior σ₀ = 4 m, measurement σ = 3 m. What is the posterior σ, in m?
Answer: m
2. Prior belief about a crater's distance: normal, mean 10 m, σ₀ = 6 m. A lidar measurement reads z = 6 m with σ = 1 m. What is the posterior mean, in metres?
Answer: m
3. If the measurement is far noisier than the prior (σ ≫ σ₀), the update…
- Barely moves the estimate
- Jumps to the measurement
- Doubles the variance
- Is undefined
4. Prior variance 6 m², measurement variance 2 m². What is K?
Answer:
Week 14: State-space form: x[k+1] = A·x[k] + B·u[k] + w[k]
1. A lander's state is x = [position; velocity] with x_{k+1} = A·x_k + B·u_k, A = [[1, Δt], [0, 1]], B = [Δt²/2; Δt], Δt = 0.5 s. Now position = 0 m, velocity = 1 m/s and thrust acceleration u = 1 m/s². What is the next position, in m?
Answer: m
2. Which discrete-time matrix is stable?
- [[0.9, 0.2], [0, 0.95]]
- [[1, 0.1], [0, 1]]
- [[1.05, 0], [0, 0.3]]
- [[0.5, 2], [0, 1.2]]
3. With A = [[1, Δt], [0, 1]], B = [Δt²/2; Δt], Δt = 0.2 s, v = 3 m/s and u = −5 m/s², what is the next velocity, in m/s?
Answer: m/s
4. In x[k+1] = A·x[k] + B·u[k] + w[k], what does w represent for a rover?
- Random disturbances the model does not capture, such as wheel slip
- Sensor noise in the camera
- The commanded wheel speed
- A known constant bias
Week 14: Second-order systems as two-state models
1. A = [[1, 0.1], [−0.4, 0.9]] has complex eigenvalues. What is |λ| (to 3 decimal places)?
Answer:
2. For m = 0.5 kg, k = 2 N/m, c = 0.5 N·s/m and Δt = 0.1 s, what is the bottom-right entry of the Euler A matrix, 1 − cΔt/m?
Answer:
3. A lander's state is x = [position; velocity] with x_{k+1} = A·x_k + B·u_k, A = [[1, Δt], [0, 1]], B = [Δt²/2; Δt], Δt = 0.5 s. Now position = 5 m, velocity = 1 m/s and thrust acceleration u = 0.5 m/s². What is the next velocity, in m/s?
Answer: m/s
4. Why does a Kalman filter for a suspension need the velocity state even if only position is measured?
- Position alone cannot predict the next position; velocity carries the motion between samples
- Velocity is always measured too
- Two states make the filter run faster
- It does not need it
Week 14: Orbits from gravity: speed, period and Kepler's third law
1. A satellite is in a circular orbit 300 km above Earth (radius 6371 km, GM = 3.986e+14 m³/s²). What is its orbital speed, in km/s?
Answer: km/s
2. What is the period of a circular orbit 400 km above Earth (radius 6371 km, GM = 3.986e14 m³/s²), in minutes?
Answer: min
3. A probe orbits a moon with period 100 minutes. A second probe orbits the same moon with an orbit radius 3 times larger. Using T² ∝ a³, what is its period, in minutes?
Answer: min
4. A 1 kg cubesat and a 400 t station share a circular orbit. Which moves faster?
- Neither: same speed
- The cubesat
- The station
- It depends on their shapes
5. A student computes the ISS speed using r = 400 km. Their answer will be…
- About 4× too large
- Correct
- About 4× too small
- About 30% too small
Week 15: Dead reckoning and why it drifts
1. Odometry over-reads distance by 4% because of slip. After 250 m, what is the along-track error, in metres?
Answer: m
2. Wheel odometry over-reads distance by 8% because of slip. The rover drives 100 m. What is the along-track position error, in metres?
Answer: m
3. With a constant gyro DRIFT RATE (heading error growing steadily), doubling the drive time at constant speed makes the cross-track error…
- About 4× larger
- 2× larger
- √2× larger
- Unchanged
4. Each of 100 steps has an independent random length error with σ = 2 cm and no bias. What is the σ of the total along-track error, in cm?
Answer: cm
Week 15: Aerospace sensing: IMUs, star trackers, sun sensors and radio
1. Which pair is (relative sensor, absolute sensor)?
- Gyroscope, star tracker
- Star tracker, gyroscope
- Sun sensor, star tracker
- Accelerometer, gyroscope
2. A timing error of 4 ns in two-way radio ranging gives what range error, in metres? (c = 3 × 10⁸ m/s)
Answer: m
3. Why can't a spacecraft's IMU alone track its position over a months-long cruise?
- Accelerometer bias integrates twice, growing like t², and gravity is not sensed at all
- IMUs only work on Earth
- Gyros measure position directly
- Accelerometers saturate in space
4. An accelerometer has an uncorrected bias of 10⁻⁴ m/s². After 1,000 s, how large is the resulting position error, in metres?
Answer: m
5. Radio ranging gives a spacecraft's distance with σ₁ = 4 km and an optical navigation fix gives it with σ₂ = 2 km (independent). What is the σ of the optimally fused distance, in km?
Answer: km
Week 15: The predict–update cycle
1. A rover's estimate is x = 10 m with variance P = 1 m². It drives u = 1 m (process noise Q = 2 m²), then a landmark fix reads z = 10 m with R = 3 m². After predict and update, what is the new estimate x, in m?
Answer: m
2. A filter has P = 0.4 m² after an update. Q = 0.3 m² per step. With no fixes for 6 steps, what is P, in m²?
Answer: m²
3. In simulation, the true position leaves the filter's ±2σ band on 40% of steps. The most likely problem is…
- Q and/or R are set too small: the filter is overconfident
- Q and R are too large
- The filter is working perfectly
- The truth is wrong
4. After predicting, a 1-D Kalman filter's variance is P = 1 m². The camera measurement variance is R = 2 m². What is the Kalman gain K?
Answer:
Week 16: Inverse-variance weighting
1. Sensor σ's are 2 m and 4 m. What weight does the 2 m sensor get?
Answer:
2. A sun sensor puts the rover's heading at z₁ = 10° with σ₁ = 1°, and a gyro-integrated heading reads z₂ = 13° with σ₂ = 1° (independent). What is the inverse-variance fused heading, in degrees?
Answer: °
3. Radio ranging gives a spacecraft's distance with σ₁ = 2 km and an optical navigation fix gives it with σ₂ = 3 km (independent). What is the σ of the optimally fused distance, in km?
Answer: km
4. Sensor B has a hidden +5 m bias but claims σ = 0.5 m; sensor A is unbiased with σ = 2 m. The fused estimate will be…
- Close to B, and wrong by nearly 5 m, with a small reported σ
- Close to the truth
- Exactly halfway
- Rejected automatically
5. Three independent sensors each have σ = 3 cm. What is the σ of their optimal fusion, in cm?
Answer: cm
Week 16: The complementary filter
1. A complementary filter estimates tilt: θ = α(θ_prev + ω·Δt) + (1 − α)·θ_acc. With θ_prev = 5°, gyro rate ω = -4°/s, Δt = 0.05 s, accelerometer tilt θ_acc = 6.5° and α = 0.98, what is the new θ, in degrees?
Answer: °
2. A complementary filter runs at Δt = 0.005 s with α = 0.99. What is its time constant τ, in seconds?
Answer: s
3. What happens if α = 1?
- Pure gyro integration: drift is never corrected
- Pure accelerometer: very noisy
- Perfect fusion
- The filter stops updating
4. With τ = 2 s and an uncorrected gyro bias of 0.3 °/s, what is the approximate steady-state tilt error, in degrees?
Answer: °
Week 16: Escape speed and Hohmann transfers
1. What is the escape speed from the surface of Mars (radius 3390 km, GM = 4.283e+13 m³/s²), in km/s?
Answer: km/s
2. Plan a Hohmann transfer from a circular orbit 200 km above Earth to one 35786 km above Earth (radius 6371 km, GM = 3.986e14 m³/s²). What is the total Δv of the two burns, in km/s?
Answer: km/s
3. A Hohmann transfer goes from r₁ = 7,000 km to r₂ = 21,000 km. What is the transfer ellipse's semi-major axis, in km?
Answer: km
4. Why is a second burn needed at the top of the transfer?
- At apoapsis the spacecraft is slower than circular speed there, so it would fall back
- To slow down for landing
- To change orbital plane
- It is optional
Week 17: The Kalman gain as the variance-minimising weight
1. After predicting, a 1-D Kalman filter's variance is P = 2 m². The camera measurement variance is R = 0.25 m². What is the Kalman gain K?
Answer:
2. A random-walk filter has Q = 1 and R = 1. What is the steady-state gain K∞ (3 decimal places)?
Answer:
3. A filter is told R = 0 (a perfect sensor). What does it do at each update?
- Sets x = z exactly and P = 0
- Ignores the measurement
- Averages x⁻ and z
- Crashes
4. A rover's estimate is x = 5 m with variance P = 2 m². It drives u = 3 m (process noise Q = 2 m²), then a landmark fix reads z = 10 m with R = 1 m². After predict and update, what is the new estimate x, in m?
Answer: m
5. P⁻ = 4 m², R = 1 m². What is the posterior variance P, in m²?
Answer: m²
Week 17: Tuning a two-state filter: position and bias
1. Which measurement makes BOTH position and odometry bias observable in this model?
- Occasional absolute position fixes
- Odometry alone
- No measurements, just a good model
- Measuring the bias directly only once
2. A filter's position estimate lags behind sudden real slips and the truth often leaves its ±2σ band. The fix is to…
- Increase Q
- Decrease Q
- Decrease R to zero
- Remove the bias state
3. The filter learns a bias of 1.5 cm/s. During a 40 s camera blackout, how much position drift does subtracting it remove, in cm?
Answer: cm
4. A rover's estimate is x = 5 m with variance P = 2 m². It drives u = 3 m (process noise Q = 2 m²), then a landmark fix reads z = 10 m with R = 1 m². After predict and update, what is the new estimate x, in m?
Answer: m
Week 17: Mission planning: Δv budgets and margins
1. An engine has vₑ = 3,000 m/s. The mass ratio m₀/m_f is 1.5. What Δv does it deliver, in m/s?
Answer: m/s
2. Manoeuvres total 3.2 km/s and the team carries a 10% margin. What total Δv must the propulsion system provide, in km/s?
Answer: km/s
3. Plan a Hohmann transfer from a circular orbit 300 km above Earth to one 5000 km above Earth (radius 6371 km, GM = 3.986e14 m³/s²). What is the total Δv of the two burns, in km/s?
Answer: km/s
4. Why does better navigation reduce the Δv budget?
- Smaller delivery errors need smaller correction burns
- Navigation sensors produce thrust
- Better navigation shortens the Hohmann transfer
- It does not affect Δv
Week 18: Navigation uncertainty ellipses and budgets
1. What scale factor k gives a 2-D ellipse containing 99% probability (3 decimal places)?
Answer:
2. σₓ = σ_y = 3 km with correlation ρ = 0.5. What is the 1σ semi-major axis, in km?
Answer: km
3. A landing-position error budget has four independent 1σ contributions: entry navigation 2 km, atmosphere 4 km, aerodynamics 5 km and timing 1.5 km. What is the combined 1σ error (root-sum-square), in km?
Answer: km
4. A report says 'the rover is within the 1σ ellipse'. How confident should you be that the true position is inside it?
- About 39%
- About 68%
- About 95%
- Certain
Week 18: Light-time delay and why rovers must decide alone
1. Jupiter is 630 million km from Earth. Using c = 3.0 × 10⁸ m/s, what is the round-trip (command and reply) light-time delay, in minutes?
Answer: min
2. Earth is 15 light-minutes from the rover and the team needs 30 minutes to decide. How long does one 'ask Earth' stop cost, in minutes?
Answer: min
3. Which onboard rule makes best use of a Kalman filter's output during a long delay?
- Stop and re-image when the position σ exceeds a threshold
- Always drive to the end of the plan
- Stop every 10 m regardless
- Ask Earth before every turn
4. The Moon is about 384,400 km away. What is the round-trip delay, in seconds (c = 3.0 × 10⁸ m/s)?
Answer: s
Week 18: Investigation: where is the rover?
1. Which belongs in a pre-registration?
- The decision rule you will use to judge the hypothesis
- The results
- The conclusion
- The best-looking graph
2. Final errors over 4 seeds have standard deviation s = 0.2 m. What is the standard error of their mean, in m?
Answer: m
3. n = 64 readings of a wheel's radius have standard deviation s = 1.2 mm. Using z = 1.96 (large n), what is the half-width of the 95% confidence interval for the mean radius, in mm?
Answer: mm
4. You tuned the Kalman filter's Q on seeds 1–5 and report results on seeds 1–5. What is the problem?
- The reported error is optimistically biased: tuning and testing used the same data
- Nothing
- Too many seeds
- The baseline is unfair to Kalman
5. Your simulation shows the Kalman filter halves final error at 50% dust. Which conclusion is justified?
- In this simplified simulation, under these conditions, the Kalman filter halved final error (mean ± SE over n seeds)
- Kalman filters halve rover errors on Mars
- Kalman filters are always better
- Dead reckoning should never be used