summaryrefslogtreecommitdiff
path: root/2642/CH1/EX1.5
diff options
context:
space:
mode:
Diffstat (limited to '2642/CH1/EX1.5')
-rwxr-xr-x2642/CH1/EX1.5/Ex1_5.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/2642/CH1/EX1.5/Ex1_5.sce b/2642/CH1/EX1.5/Ex1_5.sce
new file mode 100755
index 000000000..c1829c573
--- /dev/null
+++ b/2642/CH1/EX1.5/Ex1_5.sce
@@ -0,0 +1,23 @@
+// FUNDAMENTALS OF ELECTICAL MACHINES
+// M.A.SALAM
+// NAROSA PUBLISHING HOUSE
+// SECOND EDITION
+
+// Chapter 1 : REVIEW OF ELECRTIC CIRCUITS
+// Example : 1.5
+
+clc;clear; // clears the console and command history
+
+
+// Given data
+V_P = 200 // magnitude of phase voltage
+V_an = 200 // magnitude of phase voltage in V
+V_bn = 200*exp(%i*(-120)*(%pi/180)) // magnitude of phase voltage in V
+V_cn = 200*exp(%i*(120)*(%pi/180)) // magnitude of phase voltage in V
+
+// caclulations
+V_L = sqrt(3)*V_P // magnitude of line voltage in V
+
+// display the result
+disp("Example 1.5 solution");
+printf(" \n Magnitude of line voltage \n V_L = %.2f V ", V_L);