5,800 views
9 votes
9 votes
4. Taking a pill of Medicine A gives you 5 mg of an undesired substance, and a pill of Medicine B gives you 7 mg of the undesired substance. Let x be the number of A pills you take and y be the number of B pills you take. Define an objective function that could be used to minimize the amount of the undesired substance.z=

User Vlmercado
by
3.1k points

1 Answer

22 votes
22 votes

Answer:

z = 5x + 7y

Step-by-step explanation:

If x is the number of A pills, the amount of undesired substance is 5 mg times x or

5x

In the same way, if y is the number of B pills, the amount of undesired substance is 7 mg per pill, so the total will be 7 mg times y or

7y

Then, the function that represents the amount of undesired substance will be

z = 5x + 7y

User Siddhartha Reddy
by
2.7k points