![EBK THINKING LIKE AN ENGINEER](https://www.bartleby.com/isbn_cover_images/8220103633512/8220103633512_largeCoverImage.jpg)
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 15 Solutions
EBK THINKING LIKE AN ENGINEER
- w1 Three distributed loads act on a beam as shown. The load between A and B increases linearly from 0 to a maximum intensity of w₁ = 12.8 lb/ft at point B. The load then varies linearly with a different slope to an intensity of w₂ = 17.1 lb/ft at C. The load intensity in section CD of the beam is constant at w3 10.2 lb/ft. For each load region, determine the resultant force and the location of its line of action (distance to the right of A for all cases). cc 10 BY NC SA 2016 Eric Davishahl = WI W2 W3 -b- C Values for dimensions on the figure are given in the following table. Note the figure may not be to scale. Variable Value a 4.50 ft b 5.85 ft с 4.28 ft The resultant load in region AB is FR₁ = lb and acts ft to the right of A. The resultant load in region BC is FR2 lb and acts = ft to the right of A. The resultant load in region CD is FR3 = lb and acts ft to the right of A.arrow_forwardThe T-shaped structure is embedded in a concrete wall at A and subjected to the force F₁ and the force-couple system F2 1650 N and M = 1,800 N-m at the locations shown. Neglect the weight of the structure in your calculations for this problem. = a.) Compute the allowable range of magnitudes for F₁ in the direction shown if the connection at A will fail when subjected to a resultant moment with a magnitude of 920 N- m or higher. b.) Focusing on the forces and igonoring given M for now. Using the value for F1, min that you calculated in (a), replace the two forces F₁ and F2 with a single force that has equivalent effect on the structure. Specify the equivalent →> force Feq in Cartesian components and indicate the horizontal distance from point A to its line of action (note this line of action may not intersect the structure). c.) Now, model the entire force system (F1,min, F2, and M) as a single force and couple acting at the junction of the horizontal and vertical sections of the…arrow_forwardThe heated rod from Problem 3 is subject to a volumetric heating h(x) = h0 x L in units of [Wm−3], as shown in the figure below. Under the heat supply the temperature of the rod changes along x with the temperature function T (x). The temperature T (x) is governed by the d following equations: − dx (q(x)) + h(x) = 0 PDE q(x) =−k dT dx Fourier’s law of heat conduction (4) where q(x) is the heat flux through the rod and k is the (constant) thermal conductivity. Both ends of the bar are in contact with a heat reservoir at zero temperature. Determine: 1. Appropriate BCs for this physical problem. 2. The temperature function T (x). 3. The heat flux function q(x). Side Note: Please see that both ends of bar are in contact with a heat reservoir at zero temperature so the boundary condition at the right cannot be du/dx=0 because its not thermally insulated. Thank youarrow_forward
- The elastic bar from Problem 1 spins with angular velocity ω about an axis, as shown in the figure below. The radial acceleration at a generic point x along the bar is a(x) = ω2x. Under this radial acceleration, the bar stretches along x with displacement function u(x). The displacement d u(x) is governed by the following equations: dx (σ(x)) + ρa(x) = 0 PDE σ(x) = E du dx Hooke’s law (2) where σ(x) is the axial stress in the rod, ρ is the mass density, and E is the (constant) Young’s modulus. The bar is pinned on the rotation axis at x = 0 and it is also pinned at x = L. Determine: 1. Appropriate BCs for this physical problem. 2. The displacement function u(x). 3. The stress function σ(x). SIDE QUESTION: I saw a tutor solve it before but I didn't understand why the tutor did not divide E under the second term (c1x) before finding u(x). The tutor only divided E under first term. please explain and thank youarrow_forwardcalculate the total power required to go 80 mph in a VW Type 2 Samba Bus weighing 2310 lbs. with a Cd of 0.35 and a frontal area of 30ft^2. Consider the coefficient of rolling resistance to be 0.018. What is the increase in power required to go the same speed if the weight is increased by 2205 pounds (the rated carrying capacity of the vehicle). If the rated power for the vehicle is 49 bhp, will the van be able to reach 80 mph at full carrying capacity?arrow_forwardA distillation column with a total of 13 actual stages (including a partial condenser) is used to perform a separation which requires 7 ideal stages. Calculate the overall column efficiency, and report your answer in %arrow_forward
- 6. Consider a 10N step input to the mechanical system shown below, take M = 15kg, K = 135N/m, and b = 0.4 Ns/m. (a) Assume zero initial condition, calculate the (i) System pole (ii) System characterization, and (iii) The time domain response (b) Calculate the steady-state value of the system b [ www K 个 х M -F(+)arrow_forward2. Solve the following linear time invariant differential equations using Laplace transforms subject to different initial conditions (a) y-y=t for y(0) = 1 and y(0) = 1 (b) ÿ+4y+ 4y = u(t) for y(0) = 0 and y(0) = 1 (c) y-y-2y=0 for y(0) = 1 and y(0) = 0arrow_forward3. For the mechanical systems shown below, the springs are undeflected when x₁ = x2 = x3 = 0 and the input is given as fa(t). Draw the free-body diagrams and write the modeling equations governing each of the systems. K₁ 000 K₂ 000 M₁ M2 -fa(t) B₂ B₁ (a) fa(t) M2 K₂ 000 B K₁ x1 000 M₁ (b)arrow_forward
- This question i m uploading second time . before you provide me incorrect answer. read the question carefully and solve accordily.arrow_forward1. Create a table comparing five different analogous variables for translational, rotational, electrical and fluid systems. Include the standard symbols for each variable in their respective systems.arrow_forward2) Suppose that two unequal masses m₁ and m₂ are moving with initial velocities v₁ and v₂, respectively. The masses hit each other and have a coefficient of restitution e. After the impact, mass 1 and 2 head to their respective gaps at angles a and ẞ, respectively. Derive expressions for each of the angles in terms of the initial velocities and the coefficient of restitution. m1 m2 8 m1 m2 β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)