A soft drink manufacturer requires services of your software house to automate the process of can designing. The available material for the bottom and top of the can cost 20�ђ�ѡ��њ2, and for the sides the material cost is 10�ђ�ѡ��њ2. The company is considering two design options; one design does not include the lid and is an open top design, and the other design includes the lid and thus is a closed top design. The company wants to take desired volume, and design (open top or closed top) as input and give dimensions and surface area of the can that will result in the minimum cost as output for the specified volume and design. To test your code the company has asked you to use 275�њ3 as volume for both designs. Furthermore, if the budget of the company is $2 million, how many cans of the required design will the company be able to make?
Comments
Leave a comment