
Concept explainers
Write a MATLAB function named sumTtUp that will accept three input variables and return two output variables. If the sum of the first two input variables is greater than 100, the function should display the inputs showing two decimal places in the following format. Assume in this formatting example that the numbers 55. 66, and 77 are the input variables:
The inputs are 55.00, 66.00 and 77.00.
Otherwise, if the sum of the first two input variables is less than or equal to 100, the function should display the formatted output using no decimal places, for example:
The inputs are 25, 10 and 13.
The first variable the function returns should be the sum of the first and second variables. The second variable the function returns should be the sum of the second and third variables.

Want to see the full answer?
Check out a sample textbook solution
Chapter 18 Solutions
Thinking Like An Engineer: An Active Learning Approach, Student Value Edition (4th Edition)
- 3.) 15.40 – Collar B moves up at constant velocity vB = 1.5 m/s. Rod AB has length = 1.2 m. The incline is at angle = 25°. Compute an expression for the angular velocity of rod AB, ė and the velocity of end A of the rod (✓✓) as a function of v₂,1,0,0. Then compute numerical answers for ȧ & y_ with 0 = 50°.arrow_forward2.) 15.12 The assembly shown consists of the straight rod ABC which passes through and is welded to the grectangular plate DEFH. The assembly rotates about the axis AC with a constant angular velocity of 9 rad/s. Knowing that the motion when viewed from C is counterclockwise, determine the velocity and acceleration of corner F.arrow_forward500 Q3: The attachment shown in Fig.3 is made of 1040 HR. The static force is 30 kN. Specify the weldment (give the pattern, electrode number, type of weld, length of weld, and leg size). Fig. 3 All dimension in mm 30 kN 100 (10 Marks)arrow_forward
- (read image) (answer given)arrow_forwardA cylinder and a disk are used as pulleys, as shown in the figure. Using the data given in the figure, if a body of mass m = 3 kg is released from rest after falling a height h 1.5 m, find: a) The velocity of the body. b) The angular velocity of the disk. c) The number of revolutions the cylinder has made. T₁ F Rd = 0.2 m md = 2 kg T T₂1 Rc = 0.4 m mc = 5 kg ☐ m = 3 kgarrow_forward(read image) (answer given)arrow_forward
- 11-5. Compute all the dimensional changes for the steel bar when subjected to the loads shown. The proportional limit of the steel is 230 MPa. 265 kN 100 mm 600 kN 25 mm thickness X Z 600 kN 450 mm E=207×103 MPa; μ= 0.25 265 kNarrow_forwardT₁ F Rd = 0.2 m md = 2 kg T₂ Tz1 Rc = 0.4 m mc = 5 kg m = 3 kgarrow_forward2. Find a basis of solutions by the Frobenius method. Try to identify the series as expansions of known functions. (x + 2)²y" + (x + 2)y' - y = 0 ; Hint: Let: z = x+2arrow_forward
- 1. Find a power series solution in powers of x. y" - y' + x²y = 0arrow_forward3. Find a basis of solutions by the Frobenius method. Try to identify the series as expansions of known functions. 8x2y" +10xy' + (x 1)y = 0 -arrow_forwardHello I was going over the solution for this probem and I'm a bit confused on the last part. Can you please explain to me 1^4 was used for the Co of the tubular cross section? Thank you!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





