summaryrefslogtreecommitdiff
path: root/2498/CH2/EX2.13/ex2_13.sce
blob: 29d6cfa5fd58f340f0021e538db18ff104abc981 (plain)
1
2
3
4
5
6
7
8
9
10
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");