Vous êtes sur la page 1sur 1

Assignment 02

Name: De silva GWMD

Index: 12096

course: circuit simulation and analysis

Mesh solving
K.V.L for mesh 1
51 2 = 1.5 (1)
For mesh 2
11 + 82 53 = 0 (2)
For mesh 3
121 52 + 653 = 0 (3)
Simultaneous equations in standard form
51 2 + 03 = 1.5
11 + 82 53 = 0
121 52 + 653 = 0
In matrix form
1
5 1 0
1.5
[1 8 5] (2 ) = ( 0 )
3
12 5 6
0
This equations can be solved by using matlab
Solve for 1 , 2 3 , we get
=. , = . , = .
Matlab code
1
5 1 0
1.5
= [1 8 5] Resistance matrix, = ( 0 ) voltage matrix and = (2 ) current matrix
3
12 5 6
0

>> = [1.5 ; 0 ; 0]
= [5 1 0 ; 1 8 5 12 5 6]
= ()
= 0.2041
0.4793
0.8077

Vous aimerez peut-être aussi