summaryrefslogtreecommitdiff
path: root/2231/CH2/EX2.11/Ex_2_11.sce
blob: c3dd3066326bfecb152098b80cf20a5d8273857f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Example 2_11
clc;
clear;close;

//Given data: 
Vs=230;//V
f=50;//Hz
alfa=90;//degree

//Solution :
Vm=Vs*sqrt(2);//V
Vdc=Vm/%pi*(1+cosd(alfa))//V
disp(Vdc,"Vdc in V");
Vrms=Vm/sqrt(2)*sqrt(1/%pi*[%pi-%pi/2+sin(%pi)/2]);//V
disp(Vrms,"Vrms in V");
FormFactor=Vrms/Vdc;
disp(FormFactor,"Form factor");