Concept explainers
Write the MATLAB code necessary to create the variables in (a) through (d) or calculate the vector computations in (e) through (q). If a calculation is not possible, explain why. You may assume that the variables created in parts (a) through (d) are available for the remaining computations in parts (e) through (q). For parts (e) through (q) when it is possible, determine the expected result of each computation by hand.
a. Save vector [3 –2 5] in va
b. Save vector
c. Save vector [9 –4 6 –5] in vc.
d. Save vector
e. Convert vd to a row vector and store in variable ve.
f. Place the sum of the elements in Va in the variable S1.
g. Place the product of the last three elements of vd in the variable P1.
h. Place the cosines of the elements of vb in the variable c1. Assume the values in vb are angles in radians.
i. Create a new 14-element row vector V19 that contains all of the elements of the four original
j. Create a two-element row vector v2 that contains the product of the first two elements of vc as the first element and the product of the last two elements of vc as the second element.
k. Create a two-element column vector v2A that contains the sum of the odd-numbered elements of vc as the first element and the sum of the even-numbered elements of vc as the second element.
l. Create a row vector ES1 that contains the element-wise sum of the corresponding values in vc and vd.
m. Create a row vector DS9 that contains the element-wise sum of the elements of vc with the square roots of the corresponding elements of vd.
n. Create a column vector EP1 that contains the element-wise product of the corresponding values in va and vb.
o. Create a row vector ES2 that contains the element-wise sum of the elements in vb with the last three elements in vd.
p. Create a variable s2 that contains the sum of the second elements from all four original vectors, Va, vb, vc, and vd.
q. Delete the third element of vd, leaving the resulting three-element vector in vd.
Want to see the full answer?
Check out a sample textbook solutionChapter 15 Solutions
Thinking Like an Engineer: An Active Learning Approach (4th Edition)
- How do i solve this problem?arrow_forwardQ4/ A compressor is driven motor by mean of a flat belt of thickness 10 mm and a width of 250 mm. The motor pulley is 300 mm diameter and run at 900 rpm and the compressor pulley is 1500 mm diameter. The shaft center distance is 1.5 m. The angle of contact of the smaller pulley is 220° and on the larger pulley is 270°. The coefficient of friction between the belt and the small pulley is 0.3, and between the belt and the large pulley is 0.25. The maximum allowable belt stress is 2 MPa and the belt density is 970 kg/m³. (a) What is the power capacity of the drive and (b) If the small pulley replaced by V-grooved pulley of diameter 300 mm, grooved angle of 34° and the coefficient of friction between belt and grooved pulley is 0.35. What will be the power capacity in this case, assuming that the diameter of the large pulley remain the same of 1500 mm.arrow_forwardYou are tasked with designing a power drive system to transmit power between a motor and a conveyor belt in a manufacturing facility as illustrated in figure. The design must ensure efficient power transmission, reliability, and safety. Given the following specifications and constraints, design drive system for this application: Specifications: Motor Power: The electric motor provides 10 kW of power at 1,500 RPM. Output Speed: The output shaft should rotate at 150 rpm. Design Decisions: Transmission ratio: Determine the necessary drive ratio for the system. Shaft Diameter: Design the shafts for both the motor and the conveyor end. Material Selection: Choose appropriate materials for the gears, shafts. Bearings: Select suitable rolling element bearings. Constraints: Space Limitation: The available space for the gear drive system is limited to a 1-meter-long section. Attribute 4 of CEP Depth of knowledge required Fundamentals-based, first principles analytical approach…arrow_forward
- - | العنوان In non-continuous dieless drawing process for copper tube as shown in Fig. (1), take the following data: Do-20mm, to=3mm, D=12mm, ti/to=0.6 and v.-15mm/s. Calculate: (1) area reduction RA, (2) drawing velocity v. Knowing that: ti: final thickness V. Fig. (1) ofthrearrow_forwardA direct extrusion operation produces the cross section shown in Fig. (2) from an aluminum billet whose diameter 160 mm and length - 700 mm. Determine the length of the extruded section at the end of the operation if the die angle -14° 60 X Fig. (2) Note: all dimensions in mm.arrow_forwardFor hot rolling processes, show that the average strain rate can be given as: = (1+5)√RdIn(+1)arrow_forward
- : +0 usão العنوان on to A vertical true centrifugal casting process is used to produce bushings that are 250 mm long and 200 mm in outside diameter. If the rotational speed during solidification is 500 rev/min, determine the inside radii at the top and bottom of the bushing if R-2R. Take: -9.81 mis ۲/۱ ostrararrow_forward: +0 العنوان use only In conventional drawing of a stainless steel wire, the original diameter D.-3mm, the area reduction at each die stand r-40%, and the proposed final diameter D.-0.5mm, how many die stands are required to complete this process. онarrow_forwardIn non-continuous dieless drawing process for copper tube as shown in Fig. (1), take the following data: Do-20mm, to=3mm, D=12mm, ti/to=0.6 and vo-15mm/s. Calculate: (1) area reduction RA, (2) drawing velocity v. Knowing that: t₁: final thickness D₁ V. Fig. (1) Darrow_forward
- A vertical true centrifugal casting process is used to produce bushings that are 250 mm long and 200 mm in outside diameter. If the rotational speed during solidification is 500 rev/min, determine the inside radii at the top and bottom of the bushing if R-2Rb. Take: 8-9.81 m/sarrow_forwardIn conventional drawing of a stainless steel wire, the original diameter D.-3mm, the area reduction at each die stand r-40%, and the proposed final diameter D₁-0.5mm, how many die stands are required to complete this process.arrow_forwardA vertical true centrifugal casting process is used to produce bushings that are 250 mm long and 200 mm in outside diameter. If the rotational speed during solidification is 500 rev/min, determine the inside radii at the top and bottom of the bushing if R-2Rb. Take: 8-9.81 m/sarrow_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