diff options
Diffstat (limited to '181/CH3/EX3.12')
-rwxr-xr-x | 181/CH3/EX3.12/example3_12.sce | 28 | ||||
-rwxr-xr-x | 181/CH3/EX3.12/example3_12.txt | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/181/CH3/EX3.12/example3_12.sce b/181/CH3/EX3.12/example3_12.sce new file mode 100755 index 000000000..b194072d3 --- /dev/null +++ b/181/CH3/EX3.12/example3_12.sce @@ -0,0 +1,28 @@ +// Determine maximum and average values of power
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 3-12 in page 159
+
+clear; clc; close;
+
+// Given data
+V1=230; // Input voltage in V
+N=1/3; // Turn ratio
+Rl=200; // Load resistance in ohms
+
+// Calculation
+V2=V1*N;
+Vm=sqrt(2)*V2;
+Im=Vm/Rl;
+P=Im^2*Rl;
+Vdc=0.318*Vm;
+Idc=Vdc/Rl;
+Pdc=Idc^2*Rl;
+printf("Maximum load power = %0.2f W\n",P);
+printf("Average load power = %0.2f W",Pdc);
+
+// Result
+// Maximum power = 58.78 W
+// Average power = 5.94 W
\ No newline at end of file diff --git a/181/CH3/EX3.12/example3_12.txt b/181/CH3/EX3.12/example3_12.txt new file mode 100755 index 000000000..69433b0ae --- /dev/null +++ b/181/CH3/EX3.12/example3_12.txt @@ -0,0 +1,2 @@ +Maximum load power = 58.78 W
+Average load power = 5.94 W
\ No newline at end of file |