diff options
Diffstat (limited to '3769/CH13/EX13.29/Ex13_29.sce')
-rw-r--r-- | 3769/CH13/EX13.29/Ex13_29.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3769/CH13/EX13.29/Ex13_29.sce b/3769/CH13/EX13.29/Ex13_29.sce new file mode 100644 index 000000000..10a34dd12 --- /dev/null +++ b/3769/CH13/EX13.29/Ex13_29.sce @@ -0,0 +1,21 @@ +clear +//Given +R1=10.0 //ohm +R2=5.0 //ohm +R3=15 //ohm +Ev=200 + +//Calculation +// +R=R1+R2+R3 +X=R3-(R1+R3) +Z=sqrt(R**2+R1**2) +Iv=Ev/Z +T=X/R +a=-atan(T)*180/3.14 +b=cos(a*3.14/180.0) +P=Iv**2*R +printf("\n (i) Circuit current is %0.2f A",Iv) +printf("\n (ii) Circuit phase angle is %0.2f degree lead",a) +printf("\n (iii)Phase angle between applied voltage and circuit current %0.3f lead",b) +printf("\n (iv)Power consumed is %0.3f W",P) |