summaryrefslogtreecommitdiff
path: root/2297/CH5/EX5.3/Ex5_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2297/CH5/EX5.3/Ex5_3.sce')
-rwxr-xr-x2297/CH5/EX5.3/Ex5_3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2297/CH5/EX5.3/Ex5_3.sce b/2297/CH5/EX5.3/Ex5_3.sce
new file mode 100755
index 000000000..c5fd29ae9
--- /dev/null
+++ b/2297/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,17 @@
+// Example 5.3 : power factor
+clc;
+clear;
+// given :
+format('v',6)
+w1=2000;//power in watts
+w2=500;//power in watts
+an=atand(sqrt(3)*(((w1-w2)/(w1+w2))));//angle in degree
+disp("part (a)")
+pf=cosd(an);//power factor
+disp(pf,"power factor is ,=")
+disp("part (b)")
+w1=2000;//power in watts
+w2=-500;//power in watts
+an=atand(sqrt(3)*(((w1-w2)/(w1+w2))));//angle in degree
+pf=cosd(an);//power factor
+disp(pf,"power factor is ,=")