Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.

In this lesson, we will learn how to use linear programming to find the optimum solution for a given real-life situation.

Q1:

A seafood restaurant sells two types of cooked fish; cod and eel. The restaurant sells NO LESS than 40 fish every day but it does not use more than 30 cod and no more than 45 eels. The price of one cod is 6 LE and that of an eel is 8 LE. Let π₯ represent the amount of cod purchased each day, and π¦ represent the amount of eel. Given that the manager wants to minimise the total price, π , of fish, state the objective function and the inequalities that will help the restaurant manager decide how many of each fish to buy.

Q2:

A candy store sells bags of marshmallows for 5 LE each and bags of cola candy for 6 LE each. A child wants to buy both types of candy and has restrictions on how many they can buy that are described by the figure shown, where π₯ represents the number of bags of marshmallows they buy and π¦ represents the number of bags of cola candy. What is the lowest price possible in this situation?

Q3:

A candy store sells bags of marshmallows for 7 LE each and bags of cola candy for 8 LE each. A child wants to buy both types of candy and has restrictions on how many they can buy that are described by the figure shown, where π₯ represents the number of bags of marshmallows they buy and π¦ represents the number of bags of cola candy. What is the lowest price possible in this situation?

Q4:

A candy store sells bags of marshmallows for 6 LE each and bags of cola candy for 4 LE each. A child wants to buy both types of candy and has restrictions on how many they can buy that are described by the figure shown, where π₯ represents the number of bags of marshmallows they buy and π¦ represents the number of bags of cola candy. What is the lowest price possible in this situation?

Q5:

Given that β 3 β€ π₯ β€ 1 0 and β 2 β€ π¦ β€ 1 0 , find the greatest possible value of π¦ β π₯ .

Q6:

A small factory produces two types of metal furniture, π΄ and π΅ . They can produce at most 25 pieces of metal furniture in total. The profit from type π΄ is 60 LE and the profit from type π΅ is 40 LE. The factory sells at least 2 times more of type π΄ than type π΅ . State the objective function and inequalities that will help to find the maximum profit for the factory.

Q7:

A baby food factory produces two types of baby food with different nutritional values. The first type, denoted by π₯ , costs 3 LE for one jar which contains 3 units of vitamin A and 2 of vitamin B. The second type, denoted by π¦ , costs 4 LE for one jar which contains 4 units of vitamin A and 3 of vitamin B. A child needs at least 120 units of vitamin A and 100 units of vitamin B to satisfy his nutrition needs. State the objective function and the inequality constraints needed to determine how many jars of each type to purchase to satisfy the nutrition requirements at the lowest possible cost.

Q8:

A baby food factory produces two types of baby food with different nutritional values. One jar of the first type has 2 units of vitamin A and 4 units of vitamin B, while a jar of the second type has 4 units of vitamin A and 2 units of vitamin B. Every child requires at least 100 units of vitamin A and 140 units of vitamin B each month. The first type costs 6 LE per jar while the second costs 4 LE per jar. Using the graph below, determine the objective function and then find the lowest possible cost required to supply a child with their required monthly nutrients.

Q9:

A baby food factory produces two types of baby food with different nutritional values. One jar of the first type has 2 units of vitamin A and 4 units of vitamin B, while a jar of the second type has 4 units of vitamin A and 2 units of vitamin B. Every child requires at least 140 units of vitamin A and 100 units of vitamin B each month. The first type costs 6 LE per jar while the second costs 4 LE per jar. Using the graph below, determine the objective function and then find the lowest possible cost required to supply a child with their required monthly nutrients.

Q10:

A baby food factory produces two types of baby food with different nutritional values. One jar of the first type has 4 units of vitamin A and 2 units of vitamin B, while a jar of the second type has 2 units of vitamin A and 3 units of vitamin B. Every child requires at least 120 units of vitamin A and 100 units of vitamin B each month. The first type costs 6 LE per jar while the second costs 4 LE per jar. Using the graph below, determine how many of each type of jar should be bought to meet the childβs monthly needs at the lowest possible cost.

Q11:

A baby food factory produces two types of baby food with different nutritional values. One jar of the first type has 2 units of vitamin A and 3 units of vitamin B, while a jar of the second type has 4 units of vitamin A and 2 units of vitamin B. Every child requires at least 140 units of vitamin A and 120 units of vitamin B each month. The first type costs 6 LE per jar while the second costs 3 LE per jar. Using the graph below, determine how many of each type of jar should be bought to meet the childβs monthly needs at the lowest possible cost.

Q12:

In a workshop, two workers produce two types of iron desks: type A and type B. One worker builds the desks and the other sprays them. It takes the first worker 4 hours to build one desk of type A and 3 hours to build one desk of type B. It takes the second worker 3 hours to spray one desk of type A and 4 hours to spray one desk of type B. The first person works at least 5 hours a day, and the other works a maximum of 7 hours a day. If the workshop earns a profit of 60 LE from each desk (of either type), determine the objective function and inequalities required for calculating the number of desks of each type to be produced every day to maximize the profit π .

Q13:

A factory produces two types of iron desks: Type A and Type B. One worker builds the desks and another sprays them. It takes the first worker 3.5 hours to build one desk of type A and 2 hours to build one desk of type B. It takes the second worker 4 hours to spray one desk of type A and 2 hours to spray one desk of type B. The first person works at least 5 hours a day, and the other works a maximum of 8 hours a day. If the factory earns a profit of 50 LE from each desk (of either type), determine how many desks of each type to produce each day to maximize the profit.

Q14:

A factory produces two types of iron desks: Type A and Type B. One worker builds the desks and another sprays them. It takes the first worker 4 hours to build one desk of type A and 3 hours to build one desk of type B. It takes the second worker 2 hours to spray one desk of type A and 4 hours to spray one desk of type B. The first person works at least 5 hours a day, and the other works a maximum of 8 hours a day. If the factory earns a profit of 40 LE from each desk (of either type), determine how many desks of each type to produce each day to maximize the profit.

Q15:

Two packages of food supplies are available; the first gives 4 calories and has 6 units of vitamin C, and the second gives 3 calories and has 4 units of vitamin C. We need at least 37 calories and 22 units of vitamin C. The first costs 6 LE per package, and the second costs 8 LE per package. Using π₯ to represent the amount of packages of the first type and π¦ to represent the number of packages of the second type, state the objective function used to determine the minimum cost of buying packages to fulfil the nutrient needs.

Q16:

Given that β 6 β€ π₯ β€ 1 4 and 8 β€ π¦ β€ 1 4 , find the smallest possible value of π₯ π¦ .

Q17:

A farmer can improve the quality of his produce if he uses at least 18 units of nitrogen-based compounds and at least 6 units of phosphate compounds. He can use two types of fertilizers: A and B. The cost and contents of each fertilizer are shown in the table.

Given that the graph represents the constraints in this situation, find the lowest cost the farmer can pay for fertilizer while providing sufficient amounts of both compounds.

Q18:

A farmer can improve the quality of his produce if he uses at least 18 units of nitrogen-based compounds and at least 12 units of phosphate compounds. He can use two types of fertilizers: A and B. The cost and contents of each fertilizer are shown in the table.

Q19:

While on a trip you decide to buy cashews and pistachios. Given that you want to spend less than 204 LE, the figure below illustrates the relation between the number of kilograms of cashews and pistachios you can buy. Determine the price of a kilogram of cashews and a kilogram of pistachios.

Q20:

While on a trip you decide to buy cashews and pistachios. Given that you want to spend NOT more than 210 LE, the figure below illustrates the relation between the number of kilograms of cashews and pistachios you can buy. Determine the price of a kilogram of cashews and a kilogram of pistachios.

Q21:

Given that β 5 β€ π₯ β€ 1 0 and β 7 β€ π¦ β€ 4 , find the greatest possible value of π₯ + π¦ .

Donβt have an account? Sign Up