Survey

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Survey

Document related concepts

no text concepts found

Transcript

ENGR 1181 | MATLAB 5: Array Operations MAT_05D_Assignment Follow the format that you’ve been doing for previous problems. Do the entire problem in one script file. Your script file should include comment statements to help organize your script file. Make sure the Command Window displays your name, the assignment name, and your group number. Submit based on your instructor’s guidelines. Background Quality control is an issue that industrial systems engineers work to improve. Parts must be made so that their measurements are within a specific range, called a tolerance. Define – Problem Statement You are an industrial systems engineer working on a quality control problem at your plant. You want to see if the new bike manufacturing measures that you put in place have improved the consistency and quality of the parts being made. The production line you are working with manufactures bike seat tubes, which is the piece on a bicycle that holds the bike seat. The seat tube length for the size bike you are building is listed at 19 in. Last month there were parts being produced that measured between 18.75 in and 19.25 in. This lack of precision in the manufacturing process was found to be unacceptable and prompted a re-design of how the seat tubes were produced. For these new parts the minimum acceptable length is 18.95 in and the maximum is 19.05 in. You need to find out if the new parts meet the new specifications. Additionally, you need to send 5 packages of parts to a testing facility for additional quality control testing. You are given a matrix where the first column is the box weights (lbs) and the second column is the number of packages inside each box. Since the number of packages impacts the shape of the box, the shipping cost is not completely based on weight. The company has a complicated shipping formula shown below to estimate the costs. You need to determine the cost of shipping for each box included in the matrix, as well as the total cost of all the boxes. 𝑊𝑒𝑖𝑔ℎ𝑡 𝑊𝑒𝑖𝑔ℎ𝑡 𝐶𝑜𝑠𝑡 = ∗ $15.00 + ∗ $2.50 10 𝑁𝑢𝑚𝑏𝑒𝑟𝑃𝑎𝑐𝑘𝑎𝑔𝑒𝑠 Instructions Represent Consider (not required but recommended) creating an algorithm to represent your solution process and the steps you need to take for this assignment. Plan Download and open the provided script file from the course website. Outline the steps your program will take by adding comment statements to your script file based on your algorithm. Implement In the script file, perform the following tasks: Part 1 Find the maximum seat tube length using max(). Find the minimum seat tube length using min(). Find the mean seat tube length NOT using the mean() function. You may use other functions (sum(), length(), etc.) Display all results to the command window. Use a display command to indicate whether the result used the built-in function or not. Print the script file and command window to a pdf. Combine pdfs and submit to the Carmen Dropbox. Then, continue on to Part 2. Part 2 Find the mean seat tube length using mean(). Find the standard deviation of the seat tube length NOT using the std() function. You may use other functions (sum(), mean(), length(), etc.) ∑𝑁 (𝑥𝑖 − 𝑥̅ )2 𝑠 = ±√ 𝑖=1 𝑁−1 Evaluate Find the standard deviation of the seat tube length using std(). Display all results to the command window. Use a display command to indicate whether the result used the built-in function or not. By hand, verify that the maximum and minimum are or are not within the acceptable part limits of the problem statement. Add this as a statement displaying to the screen to the end of your program. Create a new vector that has as its elements the costs of shipping for each box. Then, compute the total cost of shipping everything. Display these to the command window. Using the Excel file from the course website, verify the min, max, and mean, and standard deviation. Also on the second sheet of the Excel, determine the cost for each of the boxes that need to be shipped and the total cost. Modify the cells that are highlighted blue. You may use built-in functions in Excel. Document Print (paper or pdf depending on instructor preference) the final version of your script file. Print (paper or pdf depending on instructor preference) the command window output. Print (paper or pdf depending on instructor preference) the Excel table for the evaluate step. If paper: Staple the planning documentation, script file, output, and verification together and turn it in. If pdf: Combine pdf files together and submit to Carmen Dropbox.