Consider the complex number z defined as:
$$ z = 3 + 4i $$
Where i is the imaginary unit satisfying $$ i^2 = -1 $$.
What is the modulus of the complex number z? The modulus of a complex number $$ a + bi $$ is given by the formula:
$$ |z| = ext{sqrt}(a^2 + b^2) $$
where $$ a $$ is the real part and $$ b $$ is the imaginary part of the complex number.