summaryrefslogtreecommitdiff
path: root/2075/CH3/EX3.9/pe3_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '2075/CH3/EX3.9/pe3_9.sce')
-rwxr-xr-x2075/CH3/EX3.9/pe3_9.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2075/CH3/EX3.9/pe3_9.sce b/2075/CH3/EX3.9/pe3_9.sce
new file mode 100755
index 000000000..41c94ea3d
--- /dev/null
+++ b/2075/CH3/EX3.9/pe3_9.sce
@@ -0,0 +1,18 @@
+//example 3.9
+clc; funcprot(0);
+// Initialization of Variable
+Vin=1;
+Ri=1100;
+Rf=10000;
+Rl=8;
+Vs=18;
+pi=3.1428;
+//calculation
+Ir=Vin/Ri;
+Vl=Ir*(Ri+Rf);
+Ip=Vl/Rl;
+Pl=(Vl*Ip)/2;
+disp(Pl,"power delivered to the load in Watt:-")
+Ps=(Vs*Ip)/pi;
+disp(Ps,"power provided by each supply in Watt:-")
+clear()