blob: 1e4103708b9c87044fcf4d608cff40e82a53ed2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//Example_a_3_7 page no:137
clc;
R1=10;
R2=3;
R3=6;
V1=50;
V2=10;
V3=0;
I=40/16;//by applying kirchof law
V6=R3*I;
Vab=V3+V6+V2;
Rab=3+((R1*R3)/(R1+R3));
disp(Vab,"the thevenin voltage is (in V)");
disp(Rab,"the thevenin resistance is (in ohm)");
|