Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. The following table shows the hourly wages, hours worked, and number of products assembled for 6 workers in 1 week at a final product

image text in transcribed
2. The following table shows the hourly wages, hours worked, and number of products assembled for 6 workers in 1 week at a final product assembly line at Southeastern HiTechBuilder Center Worker Hourly pay 15 13.5 16 15.5 14.75 13.5 Hours worked 42 36 40 48 42 50 # Products assembled 322 265 310 375 320 376 Use array indexing and relevant MATLAB features to perform the following a. Define the last three columns above as A b. Extract the hourly pay column from array A c. Extract the hours worked column from array A d. Extract the # Products assembled from array A. e. Find how much each worker earned in the given week? f. Find the total salary amount paid put? Save it as hr_pay Save it as hrs Save it as no_prd Save to the variable wk_pay Use sum command to get the summation of a column Find how many products were assembled? Find the average cost to assemble one product? (Total cost/Total product assembled) Find the average time, in minutes, it take to assemble one product? Total hours/Total products) *60 See the posted sample script Sales Array Exercise.m for similar operations Save to the variable salary Save to the variable prds g. h. Save to the variable avg cost i. Save to the variable avg_time

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Decide on best content

Answered: 1 week ago

Question

Discuss the various types of policies ?

Answered: 1 week ago

Question

Briefly explain the various types of leadership ?

Answered: 1 week ago

Question

Explain the need for and importance of co-ordination?

Answered: 1 week ago

Question

Explain the contribution of Peter F. Drucker to Management .

Answered: 1 week ago