To solve the expression \(5 + 2(7 - 4)^2\), follow these steps:
1. Solve the expression inside the parentheses:
[tex]\[
7 - 4 = 3
\][/tex]
2. Raise the result to the power of 2:
[tex]\[
3^2 = 9
\][/tex]
3. Multiply by 2:
[tex]\[
2 \times 9 = 18
\][/tex]
4. Add 5:
[tex]\[
5 + 18 = 23
\][/tex]
So, the final result of the expression [tex]\(5 + 2(7 - 4)^2\)[/tex] is [tex]\(\boxed{23}\)[/tex].