blob: c8603c397e9f99e2b6e0c91acc741ddccb730852 (
plain)
1
2
3
4
5
6
7
|
//Example 2_7 page no:69
clc
//mesh current equation for the circuit
resistance=[7,-2;-2,12]
volt=[10,-50]
current=inv(resistance)'*volt'//calculating current I1 I2 I3
disp(current,"current flowing in the circuit I1 and I2 (in ampere)")
|