summaryrefslogtreecommitdiff
path: root/2498/CH2/EX2.13/ex2_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '2498/CH2/EX2.13/ex2_13.sce')
-rwxr-xr-x2498/CH2/EX2.13/ex2_13.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2498/CH2/EX2.13/ex2_13.sce b/2498/CH2/EX2.13/ex2_13.sce
new file mode 100755
index 000000000..29d6cfa5f
--- /dev/null
+++ b/2498/CH2/EX2.13/ex2_13.sce
@@ -0,0 +1,11 @@
+// Exa 2.13
+clc;
+clear;
+close;
+format('v',6)
+// Given data
+Vdc = 50;// in V
+Vrms = 5;// in V
+// The ripple factor,
+Gamma = Vrms/Vdc;
+disp(Gamma,"The ripple factor is");