Substitute given values: First, we need to substitute the given values into the expression. So we replace m with 8, n with 2, and p with 7 in the expression 8−nm+p2.Calculation: 8−28+72
Perform division: Next, we perform the division in the expression. We divide 8 by 2.Calculation: 8−4+72
Calculate square of p: Now, we calculate the square of p, which is 72.Calculation: 72=49
Add division and square: We then add the results of the division and the square to the remaining part of the expression.Calculation: 8−4+49
Perform addition and subtraction: Finally, we perform the addition and subtraction in the expression from left to right.Calculation: 8−4+49=4+49=53