Академический Документы
Профессиональный Документы
Культура Документы
Faculty of Economy
Department of Statistics and Applied Informatics
Mathematics 1
Course Work
This work is made by using the Windows version of the program, version 3.6.2
(2019-12-12) -- "Dark and Stormy Night".
The Problem
A Chocolate Company has received its daily supply of cocoa powder, cocoa butter,
sugar, milk powder and vanilla from its suppliers and is going to produce some Dark
chocolate, Praline chocolate, Cocoa Mousse chocolate, Milk chocolate and White
chocolate.
2
Cocoa Mousse chocolate requires:
65g of sugar,
10g of vanilla.
There are 15.45kg available of cocoa powder, 25.1kg of cocoa butter, 20kg of sugar,
22.85kg of milk powder and 2.6kg of vanilla. How many chocolate of each type
should the company produce to use all its supplies? [1] [2]
Problem formulation:
3
Let x1 be the number of Dark chocolates,
x2 be the number of Praline chocolates,
x3 the number of Cocoa mousse chocolates,
x4 the number of milk chocolates,
x5 the number of White chocolates.
The left side of each of the equations contains the coefficients multiplying the
respective variables, which show the amount of each primary product used for one
chocolate of each type. Whereas, the right side shows the total amount of primary
products used for all types of chocolates.
4
What the computation looks like in R:
After doing the computations using the program R, we get the resulting values:
5
Interpretation of the solution:
30 Dark chocolates,
50 Praline chocolates,
40 Milk Chocolates,
80 White chocolates.
Literature:
[1] Solution of system of linear equation, Chapter 2. Page 70-71. December 14, 2019.
https://www.tes.com/lessons/sh6Y3QcKVhM4ug/solution-of-system-of-linear-
equation
[2] LeafTV Contributor. What are the ingredients in chocolate? December 14, 2019
https://www.leaf.tv/articles/what-are-the-ingredients-in-chocolate/