summaryrefslogtreecommitdiff
path: root/3311/CH8/EX8.13/Ex8_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '3311/CH8/EX8.13/Ex8_13.sce')
-rwxr-xr-x3311/CH8/EX8.13/Ex8_13.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3311/CH8/EX8.13/Ex8_13.sce b/3311/CH8/EX8.13/Ex8_13.sce
new file mode 100755
index 000000000..74571f9ea
--- /dev/null
+++ b/3311/CH8/EX8.13/Ex8_13.sce
@@ -0,0 +1,23 @@
+// chapter 8
+// example 8.13
+// Determine average and rms output voltage and form and ripple factor
+// page-465
+clear;
+clc;
+// given
+Edc=220; // in V (dc source)
+Ton=1; // in ms (ON period of chopper)
+Toff=1.5; // in ms (OFF period of chopper)
+// calculate
+T=Ton+Toff; // calculation of chopping period
+alpha=Ton/T; // calculation of duty cycle
+E0=alpha*Edc; // calculation of average output voltage
+E0_rms=sqrt(alpha)*Edc; // calculation of rms output voltage
+FF=E0_rms/E0; // calculation of form factor
+RF=sqrt(FF^2-1); // calculation of ripple factor
+printf("\nThe average output voltage is \t E0=%.f V",E0);
+printf("\nThe rms output voltage is \t E0_rms=%.2f V",E0_rms);
+printf("\nThe form factor is \t\t FF=%.2f ",FF);
+printf("\nThe ripple factor is \t\t RF=%.2f ",RF);
+
+// Note: The answer varies slightly due to precise calculation upto 6 decimal digit \ No newline at end of file