<meta http-equiv="refresh" content="1; url=/nojavascript/"> An Engineering Cost Analysis Example | CK-12 Foundation
You are reading an older version of this FlexBook® textbook: Engineering: An Introduction to Solving Engineering Problems with Matlab Go to the latest version.

# 7.2: An Engineering Cost Analysis Example

Created by: CK-12

Suppose you are a design engineer for a company that manufactures consumer electronic devices and you are estimating the cost of producing a new product. The product has four components that are purchased from electronic parts suppliers and assembled in your factory. You have received cost information from your suppliers for each of the parts; as is typical in the electronics industry, the cost of a part depends on the number of parts you order from the supplier.

Your assembly cost for each unit include the cost of labor and your assembly plant. You have estimated that these costs are

C0=$45.00/unit.  The cost of each part depends on the number of parts purchased; we will use the variable $n$ to represent the number of parts, and the variables CA  , CB  , CC  , and CD  to represent the unit cost of each type of part. These cost are given in Tables 3-6. Unit cost of Part A n  CA  $1-4$$$16.00$
$5-24$ $$14.00$ $25-99$$$12.70$
$100 \;\mathrm{or\ more}$ $$11.00$ Unit cost of Part B n  CB  $1-9$$$24.64$
$10-49$ $24.32$
$50-99$ $$24.07$ $100 \;\mathrm{or\ more}$$$23.33$
Unit cost of Part C
n

CC

$1-24$ $$17.98$ $25-49$$$16.78$
$50 \;\mathrm{or\ more}$ $$15.78$ Unit cost of Part D n  CD  $1-9$$$12.50$
$10-99$ $$10.42$ $100 \;\mathrm{or\ more}$$$9.62$

The unit cost is

Cunit = C0 + CA + CB + CC + CD


.

To find the unit cost to build one unit, we look in the above tables with a value of

n


= 1; the unit cost is

$$45.00 +$$$16.00 +$ $$24.64 +$$$17.98 +$ $$12.50 =$$$116.12$

To find the unit cost to build $20$ units, we look in the above tables with a value of

n


= 20 and get

$$45.00 +$$$14.00 +$ $$24.32 +$$$17.98 +$ $$10.42 =$$$109.72$

As expected, the unit cost for $20$ units is lower than the unit cost for one unit.

Exercise 13

Create an if statement that will assign the proper cost to the variable

CA


based on the value of the variable

n


.

Exercise 14

Create a script that will compute the total unit cost

Cunit


for a given value of the variable

n


.

Exercise 15

Create a m-file script that will compute and plot the total unit cost as a function of

n


for values of

n


from $1$ to $150$.

Exercise 16

Suppose that you decide to fire your workers, close down your plant, and have the assembly done offshore; in this arrangement,

C0 = Cx + Cs


,

where

Cx


is the cost of offshore assembly and

Cs


is the cost of shipping assembled units from the assembler to your warehouse. After some investigation, you find an offshore assembler that gives you the assembly costs as a function of the number of units to assemble shown in Table 7.

Unit cost of Assembly
n

Cx

$1-29$ $$40.00$ $30-59$$$30.00$
$60 \;\mathrm{or\ more}$ $$22.00$ You also find a shipping company that will ship the units from the assembler to your warehouse and whose freight charges are a function of the number of units shipped as shown in Table 8. Unit cost of Shipping n  Cs  $1-9$$$20.00$
$10-24$ $$18.00$ $25-74$$$16.00$
$75 \;\mathrm{or\ more}$ \$$15.00$

Update the m-file script in Exercise 15 to account for the changes in cost due to offshoring.

Feb 23, 2012

Sep 15, 2014