1,917 views
30 votes
30 votes
H(n)=n+2

g(n) = 2n + 1

Find h(n) − g(n)

User Rikonator
by
2.4k points

2 Answers

16 votes
16 votes

Answer:

-n + 1

Explanation:

(n + 2) - (2n + 1)

n + 2 - 2n - 1

-n + 1

User Alireza Sobhani
by
2.4k points
16 votes
16 votes

Answer:


\sf \: -n + 1

Explanation:

Given information,

→ h(n) = n + 2

→ g(n) = 2n + 1

Now we have to,

→ find the value of h(n) - g(n).

Then required value will be,

→ h(n) - g(n)

→ (n + 2) - (2n + 1)

→ n + 2 - 2n - 1

→ (n - 2n) + (2 - 1)

→ (-n) + (1)

→ -n + 1

Hence, the value is -n + 1.

User Wiktor
by
2.8k points