Fundamentals of complex analysis with applications to engineering and science