How many of each package should be made to minimize cost

Assignment Help Python Programming
Reference no: EM131143866

1. March sales at Speedy auto parts stores in Chicago were 200 wiper blades, 150 bottles of cleaning fluid, and 28 sets of floor mats. March sales for the same store in Evanston were 155 wiper blades, 102 bottles of cleaning fluid, and 14 sets of floor mats. The regular selling prices for these items at both stores are $8 for wiper blades, $2 for cleaning fluid, and $15 for floor mats. The discount price for Speedy members is $6.50 for wiper blades, $1.50 for cleaning fluid, and $12 for floor mats. Using Python, find the combined revenue at each store, both at the regular selling price and at the discount price given that 2/3 of all products were sold at the regular price and 1/3 of all products were sold at a discount.

2. A coffee company sells two types of breakfast blends. They have on hand 132 kg of dark roast and 84 kg of hazelnut. One breakfast blend will contain half dark roast and half hazelnut and will sell for $7 per kg. The other breakfast blend will contain 3/4 dark roast and 1/4 hazelnut and will sell for $9.50 per kg. Use Python to determine graphically how many kilograms of each breakfast blend should be prepared in order to maximize revenue, as well as what the maximum revenue will be.

3. A cell phone accessory company sells three types of phone accessory kits. The Essential kit consists of 2 screen protectors and 1 phone case. The Standard kit contains 2 screen protectors, 1 phone case, and 1 car charger. The Deluxe kit contains 3 screen protectors, 1 phone case, and 1 car charger. The profit is $30 on the Essential kit, $40 on the Standard kit, and $60 on the Deluxe kit. The company has 1200 screen protectors, 600 phone cases, and 300 car chargers in stock. Use Python to determine the number of each set that should be sold to maximize profits and the maximum profit.

4. Glen makes three products for his pottery shop; large bowls, small bowls, and pots for plants. Each large bowl uses 3 pounds of clay and 6 fluid ounces of glaze. Each small bowl uses 2 pounds of clay and 6 fluid ounces of glaze. Each pot requires 4 pounds of clay and 2 fluid ounces of glaze. He must use up 72 pounds of old clay and 108 fluid ounces of old glaze and can order more if necessary. If Glen can make a large bowl in 5 hours, a small bowl in 6 hours, and a pot in 4 hours, uses Python to determine how many of each he should make to minimize his time and what the minimum time will be.

5. The local NPR station in Chicago (WBEZ) puts together complimentary gift packages for its donors during their pledge drives. The radios station's costs for each package are $4 for the Bronze level package, $7 for the Silver level package, and $9 for the Gold level package. They have to use at least 45 coffee mugs in the packages they produce. Each Bronze package contains 2 coffee mugs, each Silver package contains 3 coffee mugs, and each Gold package contains 4 coffee mugs. In addition, they have to use at least 40 pens. Each Bronze package has 1 pen, each Silver package has 5 pens, and each Gold package has 2 pens. How many of each package should be made to minimize their cost? What is the minimum cost?

Reference no: EM131143866

Questions Cloud

Prepare the journal entry to record this payment : Assume that Steffens Co. paid the balance due to Bryant Company on May 4 instead of April 15. Prepare the journal entry to record this payment.
Write a modularized body mass index program : Write a modularized Body Mass Index (BMI) Program which will calculate the BMI of a team player. The formula to calculate the BMI is as follows: BMI = Weight *703 / Height^2.
Measuring net income for a merchandiser is conceptually : Identify each statement as true or false. If false, indicate how to correct the statement.
Define the systematic process of scientific inquiry : Define the systematic process of scientific inquiry and social research - describe different types of research terms and methodologies and their purposes.
How many of each package should be made to minimize cost : Each Bronze package has 1 pen, each Silver package has 5 pens, and each Gold package has 2 pens. How many of each package should be made to minimize their cost? What is the minimum cost?
Smith company preparing its multiple step income statement : Smith Company is preparing its multiple-step income statement, statement of owner's equity, and classified balance sheet.
Determine the required dimension b for each bar : A torque of magnitude T = 2 kip.in. is applied to each of the steel bars shown. Knowing that all = 6 ksi, determine the required dimension b for each bar.
Describe three steps in achieving single-minute-setup : Describe three steps in achieving single-minute-setup (SMED).  Can these same rules apply to situations in an office environment? What are the three primary differences between the factory environment and the office environment?  Illustrate with exa..
What is the company where themis system going to be : What is the company where this MIS system going to be? What is the industry this company participates in? Who does this company compete with? Does this new system fit with the company's mission statement?

Reviews

Write a Review

Python Programming Questions & Answers

  Write a recursive function that takes in a list

For this part of the homework, you will write a recursive function that takes in a list of positive integers as a parameter, and prints out the maximum value in that list. Your recursive function should be called maxInt().

  Improve the code for the haunted house game

Improve the readability of the code by improving the function names, variables, and loops, as well as whitespace. Document these changes in your journal and define a win condition for the game, for example, collecting all items and returning to the..

  Make a python program that uses the getcwd

Make a Python program that uses the getcwd() function to provide a string of the current working directory. Save the string in the variable current folder and display the value.

  The managing director of aussie best car abc has invited

the managing director of aussie best car abc has invited you to build a new computer system for them in python. the abc

  Write a function that will take two arguments

Write a function that will take two arguments: a word to be searched for and a list of strings containing the grid and write code to read, in turn, each line of the file, remove the newline character and append the resulting string to a list of stri..

  Evaluate a user''s expression

Write a function that will evaluate a user's expression. It should call the getExpression function that you previously wrote to get the expression to evaluate from the user. You should evaluate the expression step-by-step.

  Write the code to allow user to input three integer numbers

Write the code to allow a user to input three integer numbers. The program will then produce the average of thosethree numbers

  Write a python program

Write a Python program

  Write a program to convert an input value from base

Write a program to convert an input value from base 10 to a user selectable base between 2 and 16.

  Ida to reverse engineer a piece of shellcode

You are a Malware Investigator at 0xC0ff33, Inc and an incident responder came across injected shellcode during an investigation. He has done all he can in IDA and has passed on the .idb file to you. Figure out what the purpose of the malware was ..

  Segment that prompts the user for an arithmetic operator

The variables x and y refer to numbers. Write a code segment that prompts the user for an arithmetic operator and prints the value abtained by appying that operator to x and y.

  The initial number for generating the sequences

Then, after the functions, read in the initial number for generating the sequences. Here, check that it is a positive integer. If it is not, give an error message and exit the program.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd