summaryrefslogtreecommitdiff
path: root/1430/CH3/EX3.1/exa3_1.sce
blob: 302bfc505ceac40e99494a00b2470726ba666fd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Example 3.1
// Model of a Battery
v_s=6; // Terminal voltage of Battery when i=0
R_s= -(6.0-5.8)/(0-0.05);// Slope Resistance from v-i curve
// Setting v>= 0.9v_s=5.4 V
// Using Ohm's Law and above mentioned conditions we get
// 5.4=(6*R_L)/(4+R_L)
R_L=(5.4*4)/0.6;// Minimum value of Load resistance for treating Battery as a
// ideal voltage source
// R_L >=36 Ohms
disp(R_L,"Minimum value of Load Resistance(in Ohms)=")