https://medium.com/@jw1809131/electronic-engineering-and-computer-science-meng-assignment-homework-help-aston-university-c42a7069908f