summaryrefslogtreecommitdiff
path: root/2459/CH23/EX23.6/Ex23_6.sce
blob: 9b7f3c6d994d467242821a6a1c1eeb1b31140e6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//chapter23
//example23.6
//page515

Vm=240 // V
v=180 // V

// figure given is for understanding purpose only. It is not required to solve the example

// SCR remains off till it reaches 180 V i.e. forward breakdown voltage

// since v=Vm*sin(theta), we get

theta=asin(v/Vm) // firing angle in terms of degrees

// since theta=314*t, we get

t=theta/314 // seconds

printf("off duration of SCR = %.3f ms \n",t*1000) //multiply t by 1000 to display time in milliseconds