Page 1 of 1

You are a contractor working for a company Y that builds computer chips. This company needs silicon, which is the main m

Posted: Fri Jul 08, 2022 6:39 am
by answerhappygod
You Are A Contractor Working For A Company Y That Builds Computer Chips This Company Needs Silicon Which Is The Main M 1
You Are A Contractor Working For A Company Y That Builds Computer Chips This Company Needs Silicon Which Is The Main M 1 (92.76 KiB) Viewed 22 times
You are a contractor working for a company Y that builds computer chips. This company needs silicon, which is the main material used to fabricate these chips, and your work is to find the am- mount of silicon needed (in kg), and once found, sell it to company X to get the maximum profit (in dollars). Since the pandemic started, the price of the silicon has been very volatile. So, your task is to determine the max profit you can get from selling X kg of silicon considering that several companies are selling it at a different price per kg. Problem Statement For example: Given a list of companies that are silicon subcontractors C = [a, b, c, d], and a list of prices (in dollars) P = [$2,89, $5, $3] per k kilograms of silicon offered from different companies, where k = (i+1). Your goal is to find the maximum profit for selling 3 kg of silicon to company X considering the prices given above. From the above data, we know that: • Subcontractor company a offers 1kg of silicon at a price of $2 • Subcontractor company b offers 2kg of silicon at a price of $9 • Subcontractor company c offers 3kg of silicon at a price of $5 Subcontractor company d offers 4kg of silicon at a price of $3 So, using the above offers from all the subcontractors, the only way the contractor have to compute the maximum profit of selling 3kg of silicon to company Y are: .3kg from company "c" -1kg from company ""2leg-from-company b $2+$9 $11 = $5 • From company "a": 1kg + 1kg + 1kg = $2 + $2 + $2 = $8 • Take 3kg of 4kg from company "d", then(83) = $2.25 Therefore if the contractor sells Tkg of silicon-from.companya and 2kg of silicon from company b, then this contractor will get a max profit of $11 for selling 3kg of silicon that was sold to company Y