EBK ENGINEERING FUNDAMENTALS: AN INTROD
EBK ENGINEERING FUNDAMENTALS: AN INTROD
5th Edition
ISBN: 9780100543409
Author: MOAVENI
Publisher: YUZU
Question
Book Icon
Chapter 15, Problem 19P

(a)

To determine

Find the addition of matrix [A]and[B] using MATLAB.

(a)

Expert Solution
Check Mark

Explanation of Solution

Given data:

The matrices [A], [B], and [C] are,

[A]=[421707153]

[B]=[121533457]

[C]=[124]

Calculation:

The steps to add the matrix [A]and[B] using MATLAB are as follows:

  • Input the matrix [A]and[B].
  • Using the code “[A]+[B]” add the matrix.
  • Print the addition of matrix [A]and[B].

In the command window of the MATLAB type the code as follows:

A=[4 2 1;7 0 -7;1 -5 3];

B=[1 2 -1;5 3 3;4 5 -7];

C=[1;-2;4];

add=A+B;

disp(add);

The output will be displayed as follows:

     5     4     0

    12     3    -4

     5     0    -4

Conclusion:

Thus, the addition of matrix [A]and[B] is performed using MATLAB.

(b)

To determine

Find the subtraction of matrix [A]and[B] using MATLAB.

(b)

Expert Solution
Check Mark

Explanation of Solution

Given data:

The matrices [A], [B], and [C] are,

A=[421707153]

B=[121533457]

C=[124]

Calculation:

The steps to subtract the matrix [A]and[B] using MATLAB are as follows:

  • Input the matrix [A]and[B].
  • Using the code “[A][B]” sub the matrix.
  • Print the subtraction of matrix [A]and[B].

In the command window of the MATLAB type the code as follows:

A=[4 2 1;7 0 -7;1 -5 3];

B=[1 2 -1;5 3 3;4 5 -7];

C=[1;-2;4];

sub=A-B;

disp(sub);

The output will be displayed as follows:

     3     0     2

     2    -3   -10

    -3   -10    10

Conclusion:

Thus, the subtraction of matrix [A]and[B] is performed using MATLAB.

(c)

To determine

Find the value of 3[A] using MATLAB.

(c)

Expert Solution
Check Mark

Explanation of Solution

Given data:

The matrices [A], [B], and [C] are,

A=[421707153]

B=[121533457]

C=[124]

Calculation:

The steps to find the 3 times of matrix [A] using MATLAB are as follows:

  • Input the matrix [A].
  • Using the code “3*[A]” find the value of 3 times the matrix.
  • Print the 3 times of matrix [A].

In the command window of the MATLAB type the code as follows:

A=[4 2 1;7 0 -7;1 -5 3];

X=3*A;

% where X is the resultant matrix.

disp(X);

The output will be displayed as follows:

    12     6     3

    21     0   -21

     3   -15     9

Conclusion:

Thus, the value of 3[A] is performed using MATLAB.

(d)

To determine

Find the multiplication of matrix [A]and[B] using MATLAB.

(d)

Expert Solution
Check Mark

Explanation of Solution

Given data:

The matrices [A], [B], and [C] are,

A=[421707153]

B=[121533457]

C=[124]

Calculation:

The steps to multiply the matrix AandB using MATLAB are as follows:

  • Input the matrix [A]and[B].
  • Using the code “[A]*[B]” multiply the matrix.
  • Print the multiplication of matrix [A]and[B].

In the command window of the MATLAB type the code as follows:

A=[4 2 1;7 0 -7;1 -5 3];

B=[1 2 -1;5 3 3;4 5 -7];

C=[1;-2;4];

Mul=A*B;

disp(Mul);

The output will be displayed as follows:

    18    19    -5

   -21   -21    42

   -12     2   -37

Conclusion:

Therefore, the multiplication of matrix [A]and[B] is performed using MATLAB.

(e)

To determine

Find the multiplication of matrix [A]and[C] using MATLAB.

(e)

Expert Solution
Check Mark

Explanation of Solution

Given data:

The matrices [A], [B], and [C] are,

A=[421707153]

B=[121533457]

C=[124]

Calculation:

The steps to multiply the matrix [A]and[C] using MATLAB are as follows:

  • Input the matrix [A]and[C].
  • Using the code “[A]*[C]” multiply the matrix.
  • Print the multiplication of matrix [A]and[C].

In the command window of the MATLAB type the code as follows:

A=[4 2 1;7 0 -7;1 -5 3];

B=[1 2 -1;5 3 3;4 5 -7];

C=[1;-2;4];

Mul=A*C;

disp(Mul);

The output will be displayed as follows:

     4

   -21

    23

Conclusion:

Therefore, the multiplication of matrix [A]and[C] is performed using MATLAB.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
The pin-connected structure consists of a rigid beam ABCD and two supporting bars. Bar (1) is an aluminum alloy [E = 75 GPa] with a cross-sectional area of A₁ = 850 mm². Bar (2) is a bronze alloy [E = 109 GPa] with a cross-sectional area of A₂ = 410 mm². Assume L₁=2.6 m, L₂-3.3 m, a=0.7 m, b=1.5 m, and c=0.8 m. All bars are unstressed before the load P is applied; however, there is a 4.5-mm clearance in the pin connection at A. If a load of P = 45 kN is applied at B, determine: (a) the normal stresses σ1,02, in both bars (1) and (2). (b) the normal strains €1, €2, in bars (1) and (2). (c) determine the downward deflection VA of point A on the rigid bar. (1) Answers: a (a) σ1 = (b) E₁ = (C) VA = i i i ล B C L2 b C MPa, σ = i με, Ε2 i mm. MPa. με
The pin-connected structure consists of a rigid beam ABCD and two supporting bars. Bar (1) is an aluminum alloy [E = 79 GPa] with a cross-sectional area of A₁ = 780 mm². Bar (2) is a bronze alloy [E = 104 GPa] with a cross-sectional area of A₂ = 460 mm². Assume L₁=1.6 m, L₂-2.1 m, a=0.6 m, b=1.8 m, and c-1.3 m. All bars are unstressed before the load P is applied; however, there is a 4-mm clearance in the pin connection at A. If a load of P = 58 kN is applied at B, determine: (a) the normal stresses 01,02, in both bars (1) and (2). (b) the normal strains €1,2, in bars (1) and (2). (c) determine the downward deflection VA of point A on the rigid bar. (1) L₁ B Answers: (a)σ = b ล L2 C D i MPa, σ1 = i MPa. με, Ε2 = i με. (b) €1 = i (C) VA = i mm.
A load of P = 114 kN is supported by a structure consisting of rigid bar ABC, two identical solid bronze [E = 116 GPa] rods, and a solid steel [E=192 GPa] rod, as shown. The bronze rods (1) each have a diameter of 19 mm and they are symmetrically positioned relative to the center rod (2) and the applied load P. Steel rod (2) has a diameter of 28 mm. All bars are unstressed before the load P is applied; however, there is a 1.5-mm clearance in the bolted connection at B. Assume L₁ = 2.4 m and L₂ = 1.5 m. Determine: (a) the normal stresses in the bronze and steel rods (01, 02). (b) the downward deflection of rigid bar ABC. (1) Answers: L2 (a) σ1 (b) v = = i i B (1) MPa, 02 mm. = i MPa.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Engineering Fundamentals: An Introduction to Engi...
Civil Engineering
ISBN:9781305084766
Author:Saeed Moaveni
Publisher:Cengage Learning
Text book image
Fundamentals Of Construction Estimating
Civil Engineering
ISBN:9781337399395
Author:Pratt, David J.
Publisher:Cengage,