summaryrefslogtreecommitdiff
path: root/181/CH3/EX3.18
diff options
context:
space:
mode:
Diffstat (limited to '181/CH3/EX3.18')
-rwxr-xr-x181/CH3/EX3.18/example3_18.sce27
-rwxr-xr-x181/CH3/EX3.18/example3_18.txt2
2 files changed, 29 insertions, 0 deletions
diff --git a/181/CH3/EX3.18/example3_18.sce b/181/CH3/EX3.18/example3_18.sce
new file mode 100755
index 000000000..37f571e8c
--- /dev/null
+++ b/181/CH3/EX3.18/example3_18.sce
@@ -0,0 +1,27 @@
+// Find DC output voltage,pulse frequency
+// Basic Electronics
+// By Debashis De
+// First Edition, 2010
+// Dorling Kindersley Pvt. Ltd. India
+// Example 3-18 in page 162
+
+clear; clc; close;
+
+// Given data
+Vp=230; // Peak voltage in V
+f=50; // Frequency in Hz
+Rl=200; // Load resistance in ohms
+N=1/4; // Turn ratio
+
+// Calculation
+Vs=Vp*N;
+Vm=Vs*sqrt(2);
+Idc=(2*Vm)/(%pi*Rl);
+Vdc=Idc*Rl;
+fout=2*f;
+printf("(a)DC output voltage = %0.2f V\n",Vdc);
+printf("(b)Pulse frequency of output = %0.0f Hz",fout);
+
+// Result
+// (a) Vdc = 51.77 V
+// (b) F_out = 100 HZ \ No newline at end of file
diff --git a/181/CH3/EX3.18/example3_18.txt b/181/CH3/EX3.18/example3_18.txt
new file mode 100755
index 000000000..12d7c7123
--- /dev/null
+++ b/181/CH3/EX3.18/example3_18.txt
@@ -0,0 +1,2 @@
+ (a)DC output voltage = 51.77 V
+(b)Pulse frequency of output = 100 Hz \ No newline at end of file