diff options
Diffstat (limited to '887/CH2/EX2.21/2_21.sce')
-rwxr-xr-x | 887/CH2/EX2.21/2_21.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/887/CH2/EX2.21/2_21.sce b/887/CH2/EX2.21/2_21.sce new file mode 100755 index 000000000..706586c40 --- /dev/null +++ b/887/CH2/EX2.21/2_21.sce @@ -0,0 +1,15 @@ +clc
+//ex2.21
+V_s=50;
+R_1=20;
+R_2=5;
+//Zeroing the voltage source
+R_eq=1/((1/R_1)+(1/R_2)); //R_1 and R_2 in parallel
+R_t=R_eq; //thevenin resistance
+//open-circuit analysis
+V_oc=V_s*R_2/(R_1+R_2); //open-circuit voltage
+V_t=V_oc; //thevenin voltage
+R_L=R_t;
+P_L_max=V_t^2/(4*R_t)
+disp(R_L,'load resistance for maximum power transfer in ohms')
+disp(P_L_max,'maximum power in watts')
|