summaryrefslogtreecommitdiff
path: root/620/CH28/EX28.6/example28_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '620/CH28/EX28.6/example28_6.sce')
-rw-r--r--620/CH28/EX28.6/example28_6.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/620/CH28/EX28.6/example28_6.sce b/620/CH28/EX28.6/example28_6.sce
new file mode 100644
index 000000000..f58960358
--- /dev/null
+++ b/620/CH28/EX28.6/example28_6.sce
@@ -0,0 +1,13 @@
+r=100;
+c=1000*10^(-6);
+vm=9;
+vr=0.8;
+disp("Part a");
+vrms=vr/(2*sqrt(3));
+disp("the r.m.s. value of the ripple voltage (in V) is"); disp(vrms);
+disp("Part b");
+vdc=vm-vr/2;
+disp("the dc output voltage (in V) is"); disp(vdc);
+disp("Part c");
+rip=vrms/vdc;
+disp("the ripple factor is"); disp(rip); \ No newline at end of file