summaryrefslogtreecommitdiff
path: root/3775/CH2/EX2.13/Ex2_13.sce
blob: f329cd717dd19b4143bb97befd470642b9fd0c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//Ex 2.13 page 74

clc;
clear;
close;

Im=50;// A

printf('For half sine wave current : \n')
// theta=180;// degree
theta=180;// degree
Iav=Im/%pi;// A
Irms=Im/2;// A
FF=Irms/Iav;// form factor
ITav=Im/FF ; // A
printf('(i) Average ON State current  = %.2f A\n',ITav)    

// theta=90;// degree
theta=90;// degree
Iav=Im/2/%pi;// A
Irms=Im/2/sqrt(2);// A
FF=Irms/Iav;// form factor
ITav=Im/FF ; // A
printf('(ii) Average ON State current  = %.2f A\n',ITav)    

// theta=180;// degree
theta=180;// degree
Iav=Im*0.0213;// A
Irms=Im*0.0849;// A
FF=Irms/Iav;// form factor
ITav=Im/FF ; // A
printf('(iii) Average ON State current  = %.2f A\n',ITav)    

printf('\n For rectangular wave current : \n')
// theta=180;// degree
theta=180;// degree
Iav=Im/2;// A
Irms=Im/sqrt(2);// A
FF=Irms/Iav;// form factor
ITav=Im/FF ; // A
printf('(i) Average ON State current  = %.2f A\n',ITav)    

// theta=90;// degree
theta=90;// degree
Iav=Im/4;// A
Irms=Im/2;// A
FF=Irms/Iav;// form factor
ITav=Im/FF ; // A
printf('(ii) Average ON State current  = %.2f A\n',ITav)    

// theta=180;// degree
theta=180;// degree
Iav=Im/12;// A
Irms=Im/2/sqrt(3);// A
FF=Irms/Iav;// form factor
ITav=Im/FF ; // A
printf('(i) Average ON State current  = %.2f A\n',ITav)