summaryrefslogtreecommitdiff
path: root/3673/CH5/EX5.3/Ex5_3.sce
blob: afc9eb6aca00f44ff20d8fb0cb4274ef6ea30581 (plain)
1
2
3
4
5
6
7
8
//Example 5_3 page no:193
clc
Vr=70;
Vl=20;
Vs=sqrt(Vr^2+Vl^2)
disp(Vs,"source voltage is (in volts)")
angle=atand(Vl/Vr)
disp(angle,"the angle between current and source voltage is (in degree)")