summaryrefslogtreecommitdiff
path: root/1853/CH4/EX4.43/Ex4_43.sce
blob: e0442caf011b9aae7b56ad367bc1b5e39b4d5474 (plain)
1
2
3
4
5
6

//calculate power factor
W1=5000//W1=V*L*cos(30+o)
W2=3000//W2=V*L*cos(30-o)
o=atand (1.732*(W1-W2)/(W1+W2))
disp('power factor='+string(o)+'  ')