Maths coursework 2020 Report link to edit : https://www.overleaf.com/8139195934djkkczvvdqff
- Hussain Kurabadwala
- Adrian Koch
- Jo Merrick
- Marcus Neo
- Maelle Guerre
- Omar Sharif
There are two files RK2.m and RK2_script.m. The first contains the ODE solver function wheras the latter calls this function with a range of different inputs. TransferfunctionPlot.m was used to plot the RC circuit's transfer function for the report
The error analysis for exercise 1 can be found in error_script.m
There are two files RK4.m and RLC_script.m, the first containing the solver for two coupled first order ODEs, the latter containg a script that callins this function with varying test inputs.
Both the relaxation function and the test inputs are contained in relaxation.m.
Both the SOR function and the testing for varying relaxation parameters is contained in SOR.m The computation_time.m file was used to plot the computation time for varying grid sizes. It relies on an older version of the SOR function and, hence, is included for completeness only.