1 decision problem

Sold 0
Refunds 0
Good feedbacks 0
Bad feedbacks 0

The pharmacy multivitamin sold five titles. Each multivitamin contains vitamins and substances, the most important for the patient who has had colds. It is necessary to determine which multivitamin and how much the patient should be taken to restore normal operation. The table shows the amount of vitamins and substances (in mg), which is to get the patient for the entire course of treatment, as well as data on the content of vitamins and substances in multivitamins (in mg per 1 g), and the prices in rubles for 1 gram of multivitamins.


Multivitamins mg is necessary in mg per 1 g

Vitamins January 2 3 4 5

A 1.1 1.2 1.8 1.1 1.3 250

B 0.9 1.1 1 0.7 1.1 128

C 50 60 40 30 60 7000

Iron 24 45 18 12 37 3700

Calcium 210 340 150 260 300 32000

Price for 1 year 3.4 4.3 2.4 2.2 3.7


Task: Create the function f max, f min; + Limit

solved problem