Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. You are an engineer in a manufacturing company that manufactures consumer electronic devices and your boss asked you to estimate the cost of producing
2. You are an engineer in a manufacturing company that manufactures consumer electronic devices and your boss asked you to estimate the cost of producing a new product. The product consists of four parts (Parts A, B, C, and D) that are bought from electronic parts suppliers and assembled in the factory. You have obtained cost information from the suppliers for each of the parts and the cost of a part depends on the number of parts you order from the supplier. The unit cost of each type of part (Parts A, B, C, and D) are given in Tables 2.1 2.4. The assembly cost for each unit includes the cost of labor and the assembly plant, which is estimated to be cost_E = RM 45 per unit. The unit cost is cost_U = cost_A+ cost_B + cost_C+ cost_D+ cost_E. The unit cost to build one unit (n = 1) is cost_U = RM (16 + 24.64 + 17.98 +12.50 +45) = RM 116.12 The unit cost to build 20 units (n = 20) is cost_U = RM (14 + 24.32 + 17.98 + 10.42 +45) = RM 111.72 As expected, the unit cost for 20 units is lower than the unit cost for one unit. Table 2.1: Unit Cost of Part A Number (n) Cost (RM) 1-4 16.00 5-24 14.00 25-99 12.70 100 or more 11.00 Table 2.2: Unit Cost of Part B Number (n) Cost (RM) 1 -9 24.64 10-49 24.32 50-99 24.07 100 or more 23.33 Table 2.3: Unit Cost of Part C Number (n) Cost (RM) 1-24 17.98 25-49 16.78 50 or more 15.78 Table 2.4: Unit Cost of Part D Number (n) Cost (RM) 1-9 12.50 10-99 10.42 100 or morc 9.62 Create a script file and write a program that will a) calculate the total unit cost (cost_U) for 1 n 150; and b) plot the total unit cost (cost_U) as a function of n for 1 n 150. i) label the x-axis as "n (units)" ii) label the y-axis as "cost (RM)" iii) label the title of the plot as "Cost per Unit as a Function of Number of Units" 2. You are an engineer in a manufacturing company that manufactures consumer electronic devices and your boss asked you to estimate the cost of producing a new product. The product consists of four parts (Parts A, B, C, and D) that are bought from electronic parts suppliers and assembled in the factory. You have obtained cost information from the suppliers for each of the parts and the cost of a part depends on the number of parts you order from the supplier. The unit cost of each type of part (Parts A, B, C, and D) are given in Tables 2.1 2.4. The assembly cost for each unit includes the cost of labor and the assembly plant, which is estimated to be cost_E = RM 45 per unit. The unit cost is cost_U = cost_A+ cost_B + cost_C+ cost_D+ cost_E. The unit cost to build one unit (n = 1) is cost_U = RM (16 + 24.64 + 17.98 +12.50 +45) = RM 116.12 The unit cost to build 20 units (n = 20) is cost_U = RM (14 + 24.32 + 17.98 + 10.42 +45) = RM 111.72 As expected, the unit cost for 20 units is lower than the unit cost for one unit. Table 2.1: Unit Cost of Part A Number (n) Cost (RM) 1-4 16.00 5-24 14.00 25-99 12.70 100 or more 11.00 Table 2.2: Unit Cost of Part B Number (n) Cost (RM) 1 -9 24.64 10-49 24.32 50-99 24.07 100 or more 23.33 Table 2.3: Unit Cost of Part C Number (n) Cost (RM) 1-24 17.98 25-49 16.78 50 or more 15.78 Table 2.4: Unit Cost of Part D Number (n) Cost (RM) 1-9 12.50 10-99 10.42 100 or morc 9.62 Create a script file and write a program that will a) calculate the total unit cost (cost_U) for 1 n 150; and b) plot the total unit cost (cost_U) as a function of n for 1 n 150. i) label the x-axis as "n (units)" ii) label the y-axis as "cost (RM)" iii) label the title of the plot as "Cost per Unit as a Function of Number of Units
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started