blob: e2953f61a144e5c8a86de2b781146ce36aa61c79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//determine the time taken to reach the intantaneous of 150
f=50
Vr=200
Vm=Vr*1.414
t=2.5e-3
w=2*3.14*f*t
v=Vm*sind(w*180/%pi)
v1=150 //v1=Vmsimwt
t=1/18000*asind(150/282.8)
disp( 'voltage equation='+string(v)+' volts ' , 'time='+string(t)+' seconds ')
|