MATH1013 – Computational Mathematics and Modelling
University of Leeds | School of Mathematics
🎯 Course Overview
This module introduces computational methods for solving mathematical problems, with a focus on financial mathematics and modelling. Students will learn to implement numerical algorithms, analyze cash flows, and evaluate investment projects using concepts like Net Present Value (NPV) and Internal Rate of Return (IRR). The course combines theoretical foundations with practical Python programming exercises.
📅 Weekly Topics & Content Focus
- Week 1: Introduction to Computational Methods
- Numerical vs analytical solutions
- Iterative methods overview
- Week 2: Root-Finding Algorithms
- Newton-Raphson method theory
- Implementation in Python
- Convergence criteria
- Week 3: Financial Mathematics Fundamentals
- Time value of money
- Simple vs compound interest
- Discount factors
- Week 4: Cash Flow Analysis
- Net Present Value (NPV) calculations
- Python implementation of NPV
- Week 5: Investment Appraisal
- Internal Rate of Return (IRR)
- Project evaluation criteria
- Week 6: Annuities and Bonds
- Present value calculations
- Bond pricing
📚 Key Readings
- Core Material: Course workshop sheets (Finance Version)
- Supplementary: Finance Supplement notes by Daniel Read and Grant Lythe
📝 Assessment
The module is assessed through coursework assignments involving:
- Implementation of numerical algorithms in Python
- Financial calculations (NPV, IRR)
- Analysis of investment projects
🔍 Assignment Preparation Guide
Key Concepts to Master
- Newton-Raphson Method: Implementation and convergence testing
- Financial Functions: NPV and IRR calculations
- Project Evaluation: Comparing investment alternatives
Python Implementation Tips
- Use while loops with convergence criteria
- Test functions with known solutions
- Validate financial calculations against manual computations
📝 Mock Assignment Questions
Question 1: Newton-Raphson Implementation
Write a Python function newtonsolve that implements the Newton-Raphson method to find roots of a function. Your function should:
- Accept function, derivative, initial guess, tolerance and max iterations
- Return the root and number of iterations
- Include convergence checks
Assessment Criteria:
- Correct implementation (50%)
- Proper convergence handling (30%)
- Code readability (20%)
Question 2: Financial Calculations
Given the cashflow:
paylist = [[0,-20000], [0.5,-10000], [1.25,-25000], [2.0,62000]]
Calculate:
- The NPV at 4% interest rate
- The IRR for this cashflow
Assessment Criteria:
- Correct NPV calculation (40%)
- Correct IRR calculation (40%)
- Interpretation of results (20%)
Question 3: Investment Analysis
Compare the following two projects based on their cashflows (assume 4% interest rate):
Project A: [[0,-15000], [0.5,-10000], [1.5,-25000], [5.0,70000]] Project B: [[0,-10000], [0.75,-20000], [1,-25000], [2.5,65000]]
Which project would you recommend investing in and why?
Assessment Criteria:
- NPV/IRR calculations (50%)
- Comparative analysis (30%)
- Clear recommendation (20%)