summaryrefslogtreecommitdiff
path: root/3673/CH5/EX5.5/Ex5_5.sce
blob: 1c60c8d3c08b6acaa3400560f750ccdeeb429182 (plain)
1
2
3
4
5
6
7
8
//Example 5_5 page no:195
clc
Vr=20
Vc=30
Vs=sqrt(Vr^2+Vc^2)
disp(Vs,"source voltage is (in volt)")
angle=atand(Vc/Vr)
disp(angle,"the phase angle is (in degree)")