You are on page 1of 4

Bilal Ali L13-5852

Section - F


Question 1:
Using Matlab, find the equivalent resistance of the series connected resistances 10 ohms, 20
ohms, 30 ohms, 40 ohms, 50 ohms and 60 ohms.

Solution:

w=(2*pi)/0.05;
angle=(30*pi)/180;
t=0.01;
i=20*cos(w*t+angle);
q=i*t

Bilal Ali L13-5852
Section - F


Question 2:
Using Matlab, find the equivalent resistance of the series connected resistances 10 ohms, 20
ohms, 30 ohms, 40 ohms, 50 ohms and 60 ohms.

Solution:

resistor1 = 10;
resistor2 = 20;
resistor3 = 30;
resistor4 = 40;
resistor5 = 50;
resistor6 = 60;

eq_resistance = resistor1+ resistor2+ resistor3+ resistor4+ resistor5+ resistor6
Bilal Ali L13-5852
Section - F
Question 3:
Using Matlab, find the equivalent resistance of the series connected resistances 10 ohms, 20
ohms, 30 ohms, 40 ohms, 50 ohms and 60 ohms.

Solution:

resistor1 = 10;
resistor2 = 20;
resistor3 = 30;
resistor4 = 40;
resistor5 = 50;
resistor6 = 60;

eq_resistance = resistor1+ resistor2+ resistor3+ resistor4+ resistor5+ resistor6

Bilal Ali L13-5852
Section - F
Question 3:
Using Matlab, find the equivalent resistance of the series connected resistances 10 ohms, 20
ohms, 30 ohms, 40 ohms, 50 ohms and 60 ohms.

Solution:

resistor1 = 10;
resistor2 = 20;
resistor3 = 30;
resistor4 = 40;
resistor5 = 50;
resistor6 = 60;

eq_resistance = resistor1+ resistor2+ resistor3+ resistor4+ resistor5+ resistor6

You might also like