Thinking Like an Engineer
Thinking Like an Engineer
4th Edition
ISBN: 9781269910989
Author: Elizabeth A. Stephan, David R. Bowman, William J. Park, Benjamin L. Sill, Matthew W. Ohland
Publisher: Pearson Learning Solutions
bartleby

Videos

Textbook Question
Book Icon
Chapter 16, Problem 1RQ

Assume four row vectors named Prod10, Prod11, Prod12 and Prod13' contain data on production of various electronic devices at your company during the four years 2010, 2011, 2012, and 2013, respectively. The corresponding elements in each represent the number of a specific part manufactured during that year. For example, the first element might contain the number of 2N3904 transistors produced during each year, whereas the fifth element might contain the number of IC555 timer chips produced. You may assume all four vectors contain the same number of elements, corresponding to the same produced items.

Write a single line of code to answer each of the following questions. You may use the results of any question to answer subsequent questions if desired. Note that your solutions should work regardless of the number of elements in the four vectors.

  1. a. Create a new vector AvgProd that contains the total number of each item produced during the four-year period. Note that TotalProd will have the same number of elements as the original four vectors.
  2. b. Create a new vector AvgProd that contains the average number produced per year of each item during the four-year period. Note that AvgProd will have the same number of elements as the original four vectors.
  3. c. Create a four-element column vector YearProd that contains the total number of all units produced during each year, 2010 production should be in the first (top) element.
  4. d. Determine the maximum number of any type of device produced during each year and place the results in a four-element column vector MaxProd.
  5. e. Determine the maximum number of any device produced during any year and place the result in the scalar OverallMax.
  6. f. If your company makes a profit of one-fifth of one cent on each device produced, regardless of type, determine the total profit made during this four-year period and place the result in Profit. Your result should be in dollars.
Blurred answer
Students have asked these similar questions
Determine the normal stresses σn and σt and the shear stress τnt at this point if they act on the rotated stress element shown
Using method of joints, determine the force in each member of the truss and state if the members are in tension or compression. A E 6 m D 600 N 4 m B 4 m 900 N
Question 5. The diagram below shows a mass suspended from a tie supported by two horizontal braces of equal length. The tie forms an angle "a" of 60° to the horizontal plane, the braces form an angle 0 of 50° to the vertical plane. If the mass suspended is 10 tonnes, and the braces are 10m long, find: a) the force in the tie; & b) the force in the braces Horizontal Braces, Tie Mass
Knowledge Booster
Background pattern image
Mechanical Engineering
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, mechanical-engineering and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press
Text book image
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON
Text book image
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education
Text book image
Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY
Text book image
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning
Text book image
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
Heat Transfer – Conduction, Convection and Radiation; Author: NG Science;https://www.youtube.com/watch?v=Me60Ti0E_rY;License: Standard youtube license