Elements of Electromagnetics
Elements of Electromagnetics
6th Edition
ISBN: 9780190213879
Author: Sadiku
Publisher: Oxford University Press
bartleby

Videos

Question
Book Icon
Chapter C, Problem 1PP
To determine

Solve the given simultaneous equations using MATLAB.

Expert Solution & Answer
Check Mark

Answer to Problem 1PP

The solutions for the simultaneous equations are x1=3,x2=2,andx3=3_

Explanation of Solution

Calculation:

Consider the given equations.

3x1x22x3=1        (1)

x1+6x23x3=0        (2)

2x13x2+6x3=6        (3)

Write Equations (1), (2), and (3) in matrix form.

[312163236][x1x2x3]=[106]

Write the Matlab code to solve the given equations.

A= [3 -1 -2; -1 6 -3; -2 -3 6];

B=[1; 0; 6];

C=inv(A)*B

The output for the above program is given below.

C =

   3.0000

   2.0000

   3.0000

From the Matlab output, the values are,

x1=3,x2=2,andx3=3.

Conclusion:

Thus, the solutions for the simultaneous equations are x1=3,x2=2,andx3=3_.

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!

Chapter C Solutions

Elements of Electromagnetics

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.
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
Lesson 2: Thermodynamic Properties; Author: The Thermo Sage;https://www.youtube.com/watch?v=qA-xwgliPAc;License: Standard Youtube License