LSE · LSEMT105b · Online coursework
Mathematics 1 Part 2: Integral calculus, algebra, and applications
Integral calculus and algebra, with applications to quantitative problems.
LSE course informationTechnical portfolio · Worked studies · November 2026
This portfolio contains worked models of robot control, option pricing and portfolio optimisation. Each study includes the equations and code so you can inspect the calculations.
These are computational studies with illustrative inputs. Each includes a model, derivation, assumptions and reproducible code. They are separate from my competition results and employer work.
Engineering / Robotics
Feedback control · differential equations · kinematics
A fast turn is useful only if the robot arrives at the intended heading. This model explores the trade-off between response speed, overshoot and settling, with a limited actuator and a simple angular-velocity lag.
The derivative term acts on measured angular velocity, avoiding a derivative kick when the target changes. Conditional integration stops the integral from accumulating while the command is saturated in the same direction as the error.
The actuator time constant is 0.25 seconds; command limits are ±2 radians per second. Each 5 ms step uses the exact constant-input update for velocity and trapezoidal integration for heading. The controller is then recomputed. A smaller time-step comparison checks numerical sensitivity.
The target and initial state are fixed. There is no sensor noise, wheel slip, delay or battery model. Settling means staying within the band for the remainder of the displayed window. This simulation cannot establish how a physical robot would behave.
For constant wheel speeds and a start at the origin, integration gives x = (v/ω) sin(ωt) and y = (v/ω)(1 − cos(ωt)). Equal wheel speeds give the straight-line limit, x = vt and y = 0.
Worked example: left wheel 0.30 m/s, right wheel 0.60 m/s, track width 0.32 m. After one second, x = 0.387 m, y = 0.196 m and heading = 53.71°. This assumes ideal rolling without slip.

Competition experience
I have represented the UK three times at the VEX Robotics World Championship. In 2026, I competed in Week 1, when my team won the Judges Award, then judged a full VEX IQ division in Week 2.
My robotics storyQuantitative finance / Valuation
Probability · integration · Monte Carlo · sensitivities
A European call can be valued with a closed-form expression or by averaging discounted payoffs under a risk-neutral model. Comparing the two exposes both the model assumptions and the sampling error.
Monte Carlo estimate 10.4707; approximate 95% sampling interval [10.2427, 10.6986].
Φ is the standard normal cumulative distribution. Delta measures the local sensitivity to the underlying price; gamma measures how delta changes. The model assumes constant volatility and interest rates, continuous trading, no dividends and a lognormal underlying.
The call price is an integral of the positive payoff against the normal density. Risk-neutral pricing uses r in the drift; it is not a forecast of the asset’s actual expected return.
The simulation uses 4,096 independent normal draws, each paired with its negative: 8,192 terminal prices in total. Antithetic pairing can reduce sampling variation. The standard error is calculated from the 4,096 pair averages, rather than treating all payoffs as independent.
A fixed seed makes results reproducible. The interval describes sampling uncertainty under this model. It does not cover model error or imply a range of market prices.
Checks include put–call parity, finite-difference delta and gamma, a known at-the-money benchmark and reproducible simulation results. Closed-form values use a numerical approximation to the normal CDF. There are no live prices, calibrated parameters or trading returns.
Mathematics / Optimisation
Linear algebra · quadratic forms · differentiation · convexity
For two assets, minimising portfolio variance becomes a quadratic problem. Writing the covariance matrix makes the role of correlation explicit. Enforcing non-negative weights can move the solution to a boundary.
The optimum is inside the permitted weight interval.
Differentiating V and setting its first derivative to zero gives w*. The second derivative is twice the denominator. It is positive for the permitted inputs, so the stationary point is the unique unconstrained minimum. Clipping w* to [0,1] enforces the long-only constraint.
This equality-constrained solution assumes an invertible covariance matrix and permits negative weights. The two-asset long-only solution above adds the boundary constraint. The determinant σA²σB²(1 − ρ²) is positive here, so Σ is positive definite.
The inputs are illustrative assumptions; no return data has been fitted. Minimising variance alone ignores expected returns, trading costs, estimation error and changing correlations. The exercise demonstrates constrained optimisation rather than an investment recommendation.
Education & further study
BSc Applied Finance, University of Exeter — expected 2027; on track for a First.
LSE · LSEMT105b · Online coursework
Integral calculus and algebra, with applications to quantitative problems.
LSE course informationHarvardX · PH525.1x · Certificate earned
Probability distributions, statistical inference, confidence intervals, Monte Carlo simulation, permutation tests and data analysis in R.
HarvardX course informationIMFx · MDSx · Certificate earned
Course coverage: output gaps, macrofinancial linkages, fiscal and monetary policy, debt sustainability and external vulnerabilities.
IMF course informationCISI Level 4 qualifications (three), Securities & Derivatives qualifications (two), and Risk in Financial Services.
These studies were prepared with AI coding assistance in November 2026. The downloadable implementations and tests make the assumptions and calculations inspectable. They do not represent employer systems, hardware measurements or completed participant research.