Step 1: Identify the matrix for which we need to calculate the determinant: \( A = \begin{pmatrix} 1 & 2 & 3 \\ 0 & 1 & 4 \\ 5 & 6 & 0 \end{pmatrix} \).
Step 2: Use the formula for the determinant of a 3x3 matrix: \( \text{det}(A) = a(ei - fh) - b(di - fg) + c(dh - eg) \), where the matrix is \( \begin{pmatrix} a & b & c \\ d & e & f \\ g & h & i \end{pmatrix} \).
Step 3: Assign values from the matrix: \( a = 1, b = 2, c = 3, d = 0, e = 1, f = 4, g = 5, h = 6, i = 0 \).