diff options
Diffstat (limited to '147/CH7/EX7.15/Example7_15.sce')
-rw-r--r-- | 147/CH7/EX7.15/Example7_15.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/147/CH7/EX7.15/Example7_15.sce b/147/CH7/EX7.15/Example7_15.sce new file mode 100644 index 000000000..6dd1f4909 --- /dev/null +++ b/147/CH7/EX7.15/Example7_15.sce @@ -0,0 +1,13 @@ +close();
+clear;
+clc;
+//Maximum voltage of 'Vsm', angular frequency 'w' of vs, ratio of ripple voltage and average output voltage 'Fs'
+Rl = 1000; //ohm
+Vsm = 90; //V
+w = 2000; //rad/s
+Fs = 0.05;
+f = w/(2*%pi);
+C = 1/(f*Rl*Fs); //F
+//average value of vl 'Vlavg'
+Vlavg = Vsm*(1 -1/(2*f*Rl*C)); //V
+mprintf("Average value of vl = %0.2f V",Vlavg);
\ No newline at end of file |