summaryrefslogtreecommitdiff
path: root/343/CH4/EX4.21/ex4_21.sce
diff options
context:
space:
mode:
Diffstat (limited to '343/CH4/EX4.21/ex4_21.sce')
-rwxr-xr-x343/CH4/EX4.21/ex4_21.sce3
1 files changed, 2 insertions, 1 deletions
diff --git a/343/CH4/EX4.21/ex4_21.sce b/343/CH4/EX4.21/ex4_21.sce
index 0e44aae2d..330c03757 100755
--- a/343/CH4/EX4.21/ex4_21.sce
+++ b/343/CH4/EX4.21/ex4_21.sce
@@ -16,8 +16,9 @@ e2=k*e1
i2=kva*1000/e2
r02=k*k*r01
x02=k*k*x01
+t=acosd(0.8)
pr1=(i2*r02*cosd(t)-i2*x02*sind(t))*100/e2
v2=e2-(e2*pr1/100)
disp("ohms",z01,"The equivalent primary resistance is")
disp(pr1,"The percentage voltage regulation at full load 0.8 pf leading is");
-disp("Volts",v2,"The secondary terminal voltage is")
+disp("Volts",v2,"The secondary terminal voltage is") \ No newline at end of file