Pātuhitia tēnei: Introduction to complex variables and applications