THINKING LIKE AN ENGINEER W/ACCESS
THINKING LIKE AN ENGINEER W/ACCESS
17th Edition
ISBN: 9781323522127
Author: STEPHAN
Publisher: PEARSON C
bartleby

Videos

Textbook Question
Book Icon
Chapter 19, Problem 35ICA

Write a function named Prodstate that will accept a matrix Prodstate that has at least one row and at least two columns. The rows each represent a different machine in a factory and the columns represent successive days of production. The value in each element is the number of units produced by that machine on the given day.

Prodstate should return a new matrix Trend with the same dimensions as prodstate and a row vector Trendium with three elements.

Each element of Trend indicates whether that day’s production for that machine was less than, equal to or greater than the previous day’s production for that machine. Since the first day (first column) does not have previous data upon which to base the comparison, the first column of Trend will arbitrarily be set to all zeros. All other elements will be set to either -1 (lower production that previous day), 0 (equal production to previous day), or 1 (higher production than previous day).

The first element of Trendrum contains the total number of days that production decreased (In other words, the number of negative ones in Trend), the second element of Trendrum contains the number of days with no change in production (zero in Trend, not counting the zeros on the first day), and the thirds element contains the number of days with higher production (ones in Trend).

Example:

ProdData = [ 1 2 4 4 5 4 7 8 9 0 1 5 9 8 5 6 7 7 ]

Trend = [ 0 1 1 0 1 1 0 1 1 1 1 1 0 1 1 1 1 0 ] TrendNum = [ 4 2 9 ]

Blurred answer
Students have asked these similar questions
= The frame shown is fitted with three 50 cm diameter frictionless pulleys. A force of F = 630 N is applied to the rope at an angle ◊ 43°. Member ABCD is attached to the wall by a fixed support at A. Find the forces indicated below. Note: The rope is tangent to the pully (D) and not secured at the 3 o'clock position. a b •C *су G E e d BY NC SA 2013 Michael Swanbom Values for dimensions on the figure are given in the following table. Note the figure may not be to scale. Variable Value a 81 cm b 50 cm с 59 cm d 155 cm For all answers, take x as positive to the right and positive upward. At point A, the fixed support exerts a force of: A = + ĴN and a reaction couple of: →> ΜΑ Member CG is in Select an answer magnitude У as k N-m. and carries a force of N.
The lower jaw AB [Purple 1] and the upper jaw-handle AD [Yellow 2] exert vertical clamping forces on the object at R. The hand squeezes the upper jaw-handle AD [2] and the lower handle BC [Orane 4] with forces F. (Member CD [Red 3] acts as if it is pinned at D, but, in a real vise-grips, its position is actually adjustable.) The clamping force, R, depends on the geometry and on the squeezing force F applied to the handles. Determine the proportionality between the clamping force, R, and the squeezing force F for the dimensions given. d3 d4 R 1 B d1 2 d2 D... d5 F 4 F Values for dimensions on the figure are given in the following table. Note the figure may not be to scale. Variable Value d1 65 mm d2 156 mm d3 50 mm 45 d4 d5 113 mm 30 mm R = F
A triangular distributed load of max intensity w =460 N/m acts on beam AB. The beam is supported by a pin at A and member CD, which is connected by pins at C and D respectively. Determine the reaction forces at A and C. Enter your answers in Cartesian components. Assume the masses of both beam AB and member CD are negligible. cc 040 BY NC SA 2016 Eric Davishahl W A C D -a- B Ул -b- x Values for dimensions on the figure are given in the following table. Note the figure may not be to scale. Variable Value α 5.4 m b 8.64 m C 3.24 m The reaction at A is A = i+ ĴN. λ = i+ Ĵ N. The reaction at C is C =

Chapter 19 Solutions

THINKING LIKE AN ENGINEER W/ACCESS

Ch. 19.3 - Write a for loop to display every even number from...Ch. 19.3 - Write a for loop to display every multiple of 5...Ch. 19.3 - Write a for loop to display every odd number from...Ch. 19.3 - Assume a vector Vals has already been defined....Ch. 19.3 - Consider the following table of values. Determine...Ch. 19.3 - Write two nested for loops to determine how many...Ch. 19.3 - Assume a matrix MZ has already been defined. Write...Ch. 19.3 - Prob. 18CCCh. 19.3 - Determine the output of the following code:Ch. 19 - Prob. 1ICACh. 19 - Create a written algorithm or flowchart as...Ch. 19 - Create a written algorithm or flowchart as...Ch. 19 - Create a written algorithm or flowchart as...Ch. 19 - Create a written algorithm or flowchart as...Ch. 19 - Create a written algorithm or flowchart as...Ch. 19 - Create a written algorithm or flowchart as...Ch. 19 - For each of the following code segments, determine...Ch. 19 - a. Assume CA1 and CA2 are cell arrays that both...Ch. 19 - Fill in the table with the values of k, b, x, and...Ch. 19 - Assume that a simple menu has been created by the...Ch. 19 - Write a MATLAB program to implement the algorithm...Ch. 19 - Write a program that will ask the user to input a...Ch. 19 - Write a MATLAB program to implement the algorithm...Ch. 19 - Write a function named CountDown that accepts a...Ch. 19 - While experimenting with coding sequences, you...Ch. 19 - Answer the question with each of the following...Ch. 19 - For each of the following code segments, determine...Ch. 19 - a.Explain what the following function does,...Ch. 19 - For each of the following code segments, determine...Ch. 19 - Prob. 23ICACh. 19 - Prob. 24ICACh. 19 - Write a MATLAB program to implement the algorithm...Ch. 19 - Prob. 26ICACh. 19 - Write a function named GetArray that will accept...Ch. 19 - Assume the vector AM contains an even number of...Ch. 19 - Write a function named EvenSum that will accept a...Ch. 19 - Prob. 30ICACh. 19 - Write a function named CLASS that will accept a...Ch. 19 - You are assessing the price of various components...Ch. 19 - You are studying the number of defective parts...Ch. 19 - The pascal triangle an amazing number of uses,...Ch. 19 - Write a function named Prodstate that will accept...Ch. 19 - Design a flowchart for a program to help students...Ch. 19 - Create an algorithm to allow the user to enter a...Ch. 19 - Write a program to implement the algorithm...Ch. 19 - A zombie picks up a calculator and starts adding...Ch. 19 - Write a function called Balloon that will accept a...Ch. 19 - Prob. 7RQCh. 19 - Prob. 8RQCh. 19 - You are to program part of the interface for a...Ch. 19 - Prob. 13RQCh. 19 - A matrix names mach contains three columns of data...Ch. 19 - Prob. 15RQCh. 19 - You are programming the control system for a robot...Ch. 19 - Write a program to implement the GPA calculator...Ch. 19 - The Fibonacci sequence is an integer sequence...Ch. 19 - As early as 650 BC, mathematicians have been...Ch. 19 - Write a program to analyze the cooling of a cup of...Ch. 19 - After numerous experiments with a circuit...
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
Dimensional Analysis - in physics; Author: Jennifer Cash;https://www.youtube.com/watch?v=c_ZUnEUlTbM;License: Standard youtube license