Selected mathematical investigations and technical projects completed during my studies at the University of Cape Town. These studies explore problems across applied mathematics, numerical methods, dynamical systems, statistics and machine learning, bringing together the underlying theory, computational methods and results.
Numerical Methods & Mathematical Physics
-
Problem
-
Investigate how initial separation changes the collision strength of localized waves in the nonlinear Klein-Gordon equation.
-
Method
-
MATLAB FFT spatial derivatives and centered finite-difference time stepping.
-
Result
-
Localized oscillatory waves collide, separate and can collide again through periodic re-entry.
MAM3042F Advanced Numerical Methods — Breather-collision report · 2026
Read the study →
Statistics & Machine Learning
-
Problem
-
Estimate deviations from a 500 ml target across seven machines with 153 observations and unequal sample sizes.
-
Method
-
Hierarchical normal model with known within- and between-machine variances and a Laplace prior.
-
Result
-
Population posterior mean deviation approximately 0.314 ml; 95% credible interval approximately -0.817 to 1.473 ml.
STA304XS Bayesian Analysis — Assignment 1 · 2026
Read the study →
Numerical Methods & Mathematical Physics
-
Problem
-
Determine how initial transition profiles affect the long-time speed of reaction-diffusion travelling fronts.
-
Method
-
MATLAB explicit finite differences with homogeneous Neumann boundaries.
-
Result
-
Step, piecewise-linear and steep sigmoid fronts approach speed 2.
MAM3043S Mathematical Physics — Project 2 · 2026
Read the study →
Numerical Methods & Mathematical Physics
-
Problem
-
Identify forcing conditions that produce exponentially growing instability near parametric resonance.
-
Method
-
Multiple time scales and slow amplitude equations.
-
Result
-
The leading-order near-resonance critical forcing is approximately 2|nu-1|.
MAM2040F — Parametric Resonance Project · 2025
Read the study →
Numerical Methods & Mathematical Physics
-
Problem
-
Derive critical rotation speeds and bending shapes for an idealized simply supported shaft.
-
Method
-
Analytical fourth-order eigenvalue boundary-value problem.
-
Result
-
Critical speeds scale inversely with shaft length squared when rigidity and linear density remain fixed.
MAM2043S — Task 1 · 2025
Read the study →
Dynamical Systems
-
Problem
-
Analyze competition between idealized baboon and dassie populations sharing a resource.
-
Method
-
Nullclines, fixed points, Jacobian eigenanalysis and MATLAB local/global phase portraits.
-
Result
-
Two stable single-species equilibria coexist with an unstable origin and a saddle coexistence state.
MAM2042S Non-Linear Dynamics — Task 1, problem 1.3 · 2025
Read the study →
Dynamical Systems
-
Problem
-
Classify equilibria and stability in a nonlinear orbital model written in inverse radius.
-
Method
-
Convert the second-order equation to a planar system.
-
Result
-
For the stated small-parameter, positive-discriminant regime, the lower equilibrium is a nonlinear center and energy minimum corresponding to a circular orbit.
MAM2042S Non-Linear Dynamics — Task 1, problem 1.4 · 2025
Read the study →
Dynamical Systems
-
Problem
-
Explore fixed-point stability, period doubling and periodic windows in a simple nonlinear discrete map.
-
Method
-
Analytical fixed points and multipliers.
-
Result
-
Stable zero state for 0<r<1 and nonzero fixed point for 1<r<3.
MAM2042S Non-Linear Dynamics — Task 2 · 2025
Read the study →
Numerical Methods & Mathematical Physics
-
Problem
-
Describe a rectangular fixed-edge membrane under distributed displacement and a central impulse.
-
Method
-
Separation of variables, double Fourier series and coefficient integration.
-
Result
-
Persistent undamped oscillations and standing/interference patterns follow the idealized model.
MAM2043S Boundary Value Problems — Task 2 · 2025
Read the study →
Numerical Methods & Mathematical Physics
-
Problem
-
Find decaying and one-node solutions of a radial nonlinear boundary-value problem and compare numerical solver behaviour.
-
Method
-
MATLAB shooting with ODE integration and bisection.
-
Result
-
At alpha=0, shooting takes 48 and 43 iterations versus 5 and 8 for Newton-Kantorovich.
MAM3042F Advanced Numerical Methods — Nonlinear BVP project · 2026
Read the study →
Numerical Methods & Mathematical Physics
-
Problem
-
Compare nonlinear evolution and small-perturbation asymptotics for localized disturbances around a constant ground state.
-
Method
-
MATLAB split-step/Fourier simulation with periodic boundaries and a parameter sweep.
-
Result
-
Localized disturbances propagate outward symmetrically and become dispersive; propagation slows as A increases.
MAM3043S Mathematical Physics — Project 1 · 2026
Read the study →
Statistics & Machine Learning
-
Problem
-
Compare model-specific relationships between injury count, changes in running distance and terrain.
-
Method
-
R exploratory plots and rpart regression-tree pruning.
-
Result
-
The pruned tree keeps a distance-change split near 0.054, predicting roughly 1.1 versus 3.4 injuries.
STA304XS Machine Learning — Assignment 2, Questions 1–3 · 2026
Read the study →
Statistics & Machine Learning
-
Problem
-
Identify interpretable performance groupings in a dataset of 131 athletes.
-
Method
-
Implement K-means and a simplified silhouette score in R.
-
Result
-
The report selects four clusters using an elbow in within-cluster sum of squares.
STA304XS Machine Learning — Assignment 2, Question 4 · 2026
Read the study →
Statistics & Machine Learning
-
Problem
-
Derive and implement Bernoulli logistic regression, then compare simulated sampling distributions with asymptotic approximations.
-
Method
-
R implementation of score, Fisher information, IRLS and Bernoulli simulation.
-
Result
-
Large-sample estimates of approximately -0.00638 and 1.06176 for true coefficients 0 and 1.
STA304XS Generalised Linear Models — Assignment 3 · 2026
Read the study →
Working through the ideas
Technical Notes
Reinforcement Learning · Dynamic Programming
From the Bellman equation to a working value-iteration algorithm.
Read the technical note →