summaryrefslogtreecommitdiff
path: root/2075/CH9/EX9.6/pe9_6.sce
blob: 18be993fa265dff35e6cd6a3c154834b8d69cb3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//example 9.6
clc;funcprot(0);
//Initialization of Variable
V=208;//voltage
R=100;//load
Vd=150;//V
pi=3.1428;
//calculation
r=Vd/V;
disp(r,"ratio:")
printf('firing angle is 58 degrees');
a=58;//degree
Vd=3*2^.5*208*(cos(pi/3+a*pi/180)-cos(2*pi/3+a*pi/180))/pi;
disp(Vd,"dc voltage in V:")
t=a*16.7/360;
disp(t,"time delay in ms:")
clear()