Solution
The cost function of producing x coffee machines is

(A). Find the exact cost of producing the 21st machine
First, The cost of producing the first 21 coffee machines is given by

Secondly, the cost of producing the first 20 coffee machines is given by

Thus, the exact cost of producing the 21st machine is

Therefore, the cost of producing the 21st machine is $45.9