Final answer:
To calculate the total cost of different types of contacts in different cities, we can multiply the cost per contact by the number of contacts.
Step-by-step explanation:
To calculate the total cost of telephone calls in city A, we need to multiply the cost per contact for telephone calls by the number of contacts made in city A for telephone calls. Let's denote matrix m as the cost per contact and matrix n as the number of contacts. To calculate the total cost of telephone calls in city A, we can use the formula:
Total cost of telephone calls in city A = m[1][1] imes n[1][1]
We can follow a similar approach to calculate the total cost of house calls in city B, the total cost of letters in city A, and the total cost of telephone calls in city B by using the corresponding values from the matrices m and n.
Learn more about Calculating the total cost of different types of contacts in different cities