21.8k views
4 votes
Directions: For #22 -27, evaluate each expression for n = -3 and m = 5

User Isagalaev
by
7.4k points

1 Answer

3 votes

Answer:

Explanation:

To evaluate each expression for n = -3 and m = 5, we substitute the given values into the corresponding expressions and perform the calculations. Let's go through each expression one by one:

Expression: n + m

Substituting n = -3 and m = 5:

-3 + 5 = 2

So, the value of the expression n + m, when n = -3 and m = 5, is 2.

Expression: n - m

Substituting n = -3 and m = 5:

-3 - 5 = -8

So, the value of the expression n - m, when n = -3 and m = 5, is -8.

Expression: n * m

Substituting n = -3 and m = 5:

-3 * 5 = -15

So, the value of the expression n * m, when n = -3 and m = 5, is -15.

Expression: n / m

Substituting n = -3 and m = 5:

-3 / 5 = -0.6

So, the value of the expression n / m, when n = -3 and m = 5, is -0.6.

Expression: n % m

Substituting n = -3 and m = 5:

-3 % 5 = -3

So, the value of the expression n % m, when n = -3 and m = 5, is -3.

Expression: n ** m (n raised to the power of m)

Substituting n = -3 and m = 5:

-3 ** 5 = -243

So, the value of the expression n ** m, when n = -3 and m = 5, is -243.

These are the values of the given expressions when n = -3 and m = 5.

User Carlos Eduardo
by
8.1k points