Thinking Like an Engineer: An Active Learning Approach (3rd Edition)
3rd Edition
ISBN: 9780133593211
Author: Elizabeth A. Stephan, David R. Bowman, William J. Park, Benjamin L. Sill, Matthew W. Ohland
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Textbook Question
Chapter 19, Problem 3ICA
For each task listed, write a single MAT LAB statement that will accomplish the stated goal.
- a. Replace each negative number in matrix Ml with zero.
- b. Given that a scalar value N is already defined, determine the sum of all elements in
vector v1 that are greater than N. HINT Use the sum function.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
The Pascal triangle can be displayed as elements in a lower-triangular matrix as shown on the right. Write a MATLAB program that creates a n × n matrix that displays n rows of Pascal’s triangle. Use the program to create 4 and 7 rows Pascal’s triangles. (One way to calculate the value of the elements in the lower portion of the matrix is
I having a problem with my code in MATLAB. In the following code results for r is just a 1x3 matrix. Although inside the while loop r equals to multiple 1x3 matrices. I need r equal to one matrix that is of size 27032x3. So, I just need the multiple r matrices to merge together to get one big matrix. I need that matrix to retain its value outside the while loop as well.
cc=0; % set line counter
JD = 2460626.666667;
fid = fopen('tle_catalog.txt'); % load the TLE
tline2='gg';
while ischar(tline2)
cc = cc+1; % counter
name = fgets(fid);% for the ones with three lines
tline1 = fgets(fid); % collect first line of two line elements
tline2 = fgets(fid); % collect second line of two line elements
if tline2>0 % stop at the end of the file
% initialize the propagation
[satrec, startmfe, stopmfe, deltamin] ...
= twoline2rv(721, tline1, tline2, 'c', 'd');
time_JD = tline1(21:32);
yeardayhour = str2double(regexp(tline1, '(\d{2})(\d{3})(\.\d+)', 'tokens', 'once'));
dn =…
need Z.
Need only handwritten solution only (not typed one).
Chapter 19 Solutions
Thinking Like an Engineer: An Active Learning Approach (3rd Edition)
Ch. 19.1 - Prob. 1CCCh. 19.2 - Prob. 2CCCh. 19.2 - Prob. 3CCCh. 19.3 - Write MATLAB code to represent the following...Ch. 19.3 - Prob. 5CCCh. 19.3 - Prob. 6CCCh. 19.4 - A device constructed to throw various objects can...Ch. 19 - Answer the following questions. a. For what...Ch. 19 - Answer the following questions. a. For what...Ch. 19 - For each task listed, write a single MAT LAB...
Ch. 19 - Prob. 4ICACh. 19 - What is stored in variable A after each of the...Ch. 19 - What will be displayed by the following code in...Ch. 19 - Prob. 7ICACh. 19 - Prob. 8ICACh. 19 - Write a program using if-elseif-else statements...Ch. 19 - Write a program using switch-case statements that...Ch. 19 - Prob. 11ICACh. 19 - We go to a state-of-the-art amusement park. All...Ch. 19 - A phase diagram for carbon and platinum is shown....Ch. 19 - The specific gravity of gold is 19.3. Write a...Ch. 19 - An unmanned X-43A scramjet test vehicle has...Ch. 19 - A rod on the surface of Jupiter's moon Callisto...Ch. 19 - The Eco-Marathon is an annual competition...Ch. 19 - Assume a variable R contains a single number....Ch. 19 - Prob. 6RQCh. 19 - Create a program to determine whether a...Ch. 19 - Create a program to determine whether a given Mach...Ch. 19 - Humans can see electromagnetic radiation when the...Ch. 19 - For the protection of both the operator of a...Ch. 19 - Prob. 11RQCh. 19 - Prob. 13RQCh. 19 - Prob. 14RQCh. 19 - Prob. 15RQCh. 19 - Assume you are required to generate the menus...Ch. 19 - Assume you are required to generate the menus...Ch. 19 - Prob. 18RQCh. 19 - Assume you are required to generate the menus...Ch. 19 - The variable grade can have any real number value...Ch. 19 - Write a MATLAB program that will allow the student...Ch. 19 - One of the 14 NAE Grand Challenges is Engineering...Ch. 19 - Prob. 23RQ
Knowledge Booster
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
- Learning Goal: To use the vector cross product to calculate the moment produced by a force, or forces, about a specified point on a member. The moment of a force F about the moment axis passing through O and perpendicular to the plane containing O and F can be expressed using the vector cross product, Mo = r x F. In a properly constructed Cartesian coordinate system, the vector cross product can be calculated using a matrix determinant: ij k M = rx F = T₂ Ty T.Notice that the order of F. Fy F Figure B < 1 of 2 Part A - Moment due to a force specified as a Cartesian vector As shown, a member is fixed at the origin, point O, and has an applied force F, the tension in the rope, applied at the free end, point B. (Figure 1) The force is given by F = 130 Ni - 145 N j +80 N k. The dimensions are ₁ = 1.35 m, y₁ = 1.90 m, and 2₁ = 1.05 m. What is the moment about the origin due to the applied force F? Express the individual components of the Cartesian vector to three significant figures,…arrow_forwardQ1: write a program to enter any text and compute its length. Q2: Design a form with a text box. Use select statement so that when user enters g, b, r and y then form colored to green, blue, red, and yellow respectively. Q3: Write a program to print multipliers of 5 (from 5 to 50)arrow_forwardA) Express the following values as vectors: forces at A and B, the displacement vectors OA and OB, and the applied moment. B) What is the total moment of the 600 lb and 25001b forces about O? C) Express the force/couple system shown in the figure 1 with an equivalent system consisting of a moment and a resultant force through 0.arrow_forward
- Fill in each of the following blanks with the appropriate word: If the displacement model used in the derivation of the element stiffess matrices is also used to derive the element mass matrices, the resulting mass matrix is called __ mass matrix.arrow_forwardWrite a MATLAB program that finds the sum for-25 to 5. (Increment by 5). By using (while „loop)arrow_forwardI need a clear answer by hand, not by keyboard and fast answer within 20 minutes. Thank you | dybalaarrow_forward
- Learning Goal: To use the vector cross product to calculate the moment produced by a force, or forces, about a specified point on a member. Part A - Moment due to a force specified by magnitude and endpoints The moment of a force F about the moment axis passing through O and perpendicular to the plane containing O and F can be expressed using the vector cross product, Mo =r x F. In a properly constructed Cartesian coordinate system, the vector cross product can be calculated using a matrix determinant: As shown, a member is fixed at the origin, point O, and has an applied force F, the tension in the rope, applied at the free end, point B. (Figure 1) The force has magnitude F = 180 N and is directed as shown. The dimensions are ¤1 = 0.350 m, x2 = 1.90 m, y1 = 2.30 m, and z1 = 1.20 m. What is the moment about the origin due to the applied force F? j M=r x F =|rz i k Express the individual components of the Cartesian vector to three significant figures, separated by commas. Ty Tz F, F, F:…arrow_forwardJust need part B solve carefully! Thank you ! Use image belowarrow_forwardQl: Write true or false a- The body is constant when no force effect of this. b- The moment is force x distance. c- Force is vector quantity. d- The force in the engineering dynamics is zero. e- Space is the geometric region for two coordinates and three coordinates. f- Particle is zero dimensions but have weight. g- Acceleration is a scaler quantity. h- We can use tan law to solve the problems. i- We use the plus in the cosine law when the angle between two force. j- Rivet between two plates is external force.arrow_forward
- Help part A and C PLEASEarrow_forwardQ4: Create a Visual Basic Project to find the value of the following series: h? h4 h3 cos(h) = h – 2! 3! 4! Write the code program so that the value of angle (h) is entered into inputbox. Estimate the value of series (cos(h)) so that the absolute value of any term is greater or equal to 10-6. Display the required number of terms (N) which it used in this series in a text box and display the result of series (cos(h)) in another separate text box.arrow_forwardSolve it manually.. pleasearrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- 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
Elements Of Electromagnetics
Mechanical Engineering
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Oxford University Press
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:9780134319650
Author:Russell C. Hibbeler
Publisher:PEARSON
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:9781259822674
Author:Yunus A. Cengel Dr., Michael A. Boles
Publisher:McGraw-Hill Education
Control Systems Engineering
Mechanical Engineering
ISBN:9781118170519
Author:Norman S. Nise
Publisher:WILEY
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:9781337093347
Author:Barry J. Goodno, James M. Gere
Publisher:Cengage Learning
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:9781118807330
Author:James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:WILEY
How to balance a see saw using moments example problem; Author: Engineer4Free;https://www.youtube.com/watch?v=d7tX37j-iHU;License: Standard Youtube License