summaryrefslogtreecommitdiff
path: root/2621/CH10/EX10.1/Ex10_1.sce
blob: 64cbfa63e256935430af917c5c46450f5934ba54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Example 10.1
clc;
clear;
close;
// Given data
format('v',6);
Idc= 300;// in mA
C= 200;// in µF
Vmax= 24;// in V
Vrms= 2.4*Idc/C;//in V
Vr_peak= sqrt(3)*Vrms;// in V
Vdc= Vmax-Vr_peak;// in V
disp(Vdc,"The minimum input voltage in volts is : ")