summaryrefslogtreecommitdiff
path: root/2384/CH2/EX2.17/ex2_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '2384/CH2/EX2.17/ex2_17.sce')
-rwxr-xr-x2384/CH2/EX2.17/ex2_17.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2384/CH2/EX2.17/ex2_17.sce b/2384/CH2/EX2.17/ex2_17.sce
new file mode 100755
index 000000000..9958950ea
--- /dev/null
+++ b/2384/CH2/EX2.17/ex2_17.sce
@@ -0,0 +1,18 @@
+// Exa 2.17
+clc;
+clear;
+close;
+format('v',6)
+// Given data
+R1 = 10;// in ohm
+R2 = 10;// in ohm
+R3 = 4;// in ohm
+V = 20;// in V
+// V - R1*I1 - R2*I1 = 0;
+I1 = V/(R1+R2);// in A
+Vth = R1*I1;// in V
+Rth =R1*R2/(R1+R2)+R3
+R_L = Rth;// in ohm
+disp(R_L,"The value of load resistance in ohm is");
+Pmax = (Vth^2)/(4*Rth);// in W
+disp(Pmax,"The power delivered to the load in W is");