![Thinking Like an Engineer](https://www.bartleby.com/isbn_cover_images/9781269910989/9781269910989_largeCoverImage.gif)
Assume a matrix named Prod contains data on production of various electronic devices at your company during several years. Each row of the matrix contains production data for a single year. The first element in each row contains the year, e.g., 2007 or 2012. The remaining elements in each represent the number of a specific part manufactured during that year. For example, the second element might contain the number of 2N3904 transistors produced during each year, whereas the fifth column might contain the number of IC555 timer chips produced. You may assume that corresponding elements in each row contain production numbers for the same type of device.
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. A sample Prod matrix is provided online. Note that your solution must work for any properly formatted matrix Prod.
a. Create a row vector TotalProd that contains the total number of years in the first element and the total number of each item produced during all listed years in the remaining elements. Note that TotalProd will have the same number of elements as the number of columns in the Prod matrix.
b. Create a row vector AvgProd that contains the total number of years in the first element and the average number of each item produced during all listed years in the remaining elements. Note that TotalProd will have the same number of elements as the number of columns in the Prod matrix.
c. Create a two-column matrix YearProd. The first column should contain the same years as those in the first column of Prod, and the second column should contain the total number of all units produced during each year.
d. Create a two-column matrix MaxProd. Determine the maximum number of any type of device produced during each year and place the results in the second column of the corresponding row in MaxProd. The first column should contain the years.
e. Determine the maximum number of any device produced during any year and place the result in the scalar OverallMax
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 all listed years and place the result in Profit. Your result should be in dollars.
g. The solution to this problem is considerably more complicated than the corresponding problem using
![Check Mark](/static/check-mark.png)
Want to see the full answer?
Check out a sample textbook solution![Blurred answer](/static/blurred-answer.jpg)
Chapter 16 Solutions
Thinking Like an Engineer
- 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 Narrow_forwardQuestion 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 Massarrow_forward= MMB 241 Tutorial 2.pdf 1 / 3 75% + + Tutorial z Topic: Kinematics of Particles:-. QUESTIONS 1. Use the chain-rule and find y and ŷ in terms of x, x and x if a) y=4x² b) y=3e c) y = 6 sin x 2. The particle travels from A to B. Identify the three unknowns, and write the three equations needed to solve for them. 8 m 10 m/s 30° B x 3. The particle travels from A to B. Identify the three unknowns, and write the three equations needed to solve for them. A 40 m/s 20 m B 1arrow_forward
- 3 m³/s- 1 md 45° V 1.8 mr 2mrarrow_forward= MMB 241 Tutorial 2.pdf 3/3 75% + + 6. A particle is traveling along the parabolic path y = 0.25 x². If x = 8 m, vx=8 m/s, and ax= 4 m/s² when t = 2 s, determine the magnitude of the particle's velocity and acceleration at this instant. y = 0.25x² -x 7. Determine the speed at which the basketball at A must be thrown at the angle of 30° so that it makes it to the basket at B. 30° -x 1.5 m B 3 m -10 m- 8. The basketball passed through the hoop even though it barely cleared the hands of the player B who attempted to block it. Neglecting the size of the ball, determine the 2arrow_forwardAdhesives distribute loads across the interface, whereas fasteners create areas of localized stresses. True or Falsearrow_forward
- A continuous column flash system is separating 100 kmol/h of a saturated liquid feed that is 45 mol% methanol and 55 mol% water at 1.0 atm. Operate with L/V = 1.5 and the outlet bottoms at xN = 0.28. Find the values of FL, FV, y1, and the number of equilibrium stages required. Find the value of Q used to vaporize FV. For a normal flash with the same feed and the same V/F, find the values of x and y.arrow_forwardA beer still is being used to separate ethanol from water at 1.0 atm. The saturated liquid feed flow rate is F = 840.0 kmol/h. The feed is 44.0 mol% ethanol. The saturated vapor steam is pure water with ratio of steam flow rate S to feed rate, S/F = 2/3. We desire a bottoms product that is 4.0 mol% ethanol. CMO is valid. Find the mole fraction of ethanol in the distillate vapor, yD,E. Find the number of equilibrium stages required. If the feed is unchanged and the S/F ratio is unchanged, but the number of stages is increased to a very large number, what is the lowest bottoms mole fraction of ethanol that can be obtained?arrow_forward3.1 Convert the following base-2 numbers to base-10: (a) 1011001, (b) 110.0101, and (c) 0.01011.arrow_forward
- Consider the forces acting on the handle of the wrench in (Figure 1). a) Determine the moment of force F1={−F1={−2i+i+ 4 jj −−8k}lbk}lb about the zz axis. Express your answer in pound-inches to three significant figures. b) Determine the moment of force F2={F2={3i+i+ 7 jj −−6k}lbk}lb about the zz axis. Express your answer in pound-inches to three significant figures.arrow_forwardI need you to explain each and every step (Use paper)arrow_forwardCalculate the Moment About the Point A -20"- 5 lb 40 N D 1.5 m 40 N 4.5 m A 15 lb. 150 mm 52 N 5 12 100 mm 15 lb. 26 lb. 12 5 34 lb. 13 8 15 77777 36 lb.arrow_forward
- Elements Of ElectromagneticsMechanical EngineeringISBN:9780190698614Author:Sadiku, Matthew N. O.Publisher:Oxford University PressMechanics of Materials (10th Edition)Mechanical EngineeringISBN:9780134319650Author:Russell C. HibbelerPublisher:PEARSONThermodynamics: An Engineering ApproachMechanical EngineeringISBN:9781259822674Author:Yunus A. Cengel Dr., Michael A. BolesPublisher:McGraw-Hill Education
- Control Systems EngineeringMechanical EngineeringISBN:9781118170519Author:Norman S. NisePublisher:WILEYMechanics of Materials (MindTap Course List)Mechanical EngineeringISBN:9781337093347Author:Barry J. Goodno, James M. GerePublisher:Cengage LearningEngineering Mechanics: StaticsMechanical EngineeringISBN:9781118807330Author:James L. Meriam, L. G. Kraige, J. N. BoltonPublisher:WILEY
![Text book image](https://www.bartleby.com/isbn_cover_images/9780190698614/9780190698614_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9780134319650/9780134319650_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781259822674/9781259822674_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781118170519/9781118170519_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781337093347/9781337093347_smallCoverImage.gif)
![Text book image](https://www.bartleby.com/isbn_cover_images/9781118807330/9781118807330_smallCoverImage.gif)