summaryrefslogtreecommitdiff
path: root/2642/CH1/EX1.5/Ex1_5.sce
blob: c1829c5734f46fd7b1aa9ac8de472c1cbaacfabb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);