summaryrefslogtreecommitdiff
path: root/1430/CH7/EX7.7
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1430/CH7/EX7.7
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1430/CH7/EX7.7')
-rw-r--r--1430/CH7/EX7.7/exa7_7.jpgbin0 -> 139496 bytes
-rw-r--r--1430/CH7/EX7.7/exa7_7.sce21
2 files changed, 21 insertions, 0 deletions
diff --git a/1430/CH7/EX7.7/exa7_7.jpg b/1430/CH7/EX7.7/exa7_7.jpg
new file mode 100644
index 000000000..32e742c0b
--- /dev/null
+++ b/1430/CH7/EX7.7/exa7_7.jpg
Binary files differ
diff --git a/1430/CH7/EX7.7/exa7_7.sce b/1430/CH7/EX7.7/exa7_7.sce
new file mode 100644
index 000000000..6feedc6b3
--- /dev/null
+++ b/1430/CH7/EX7.7/exa7_7.sce
@@ -0,0 +1,21 @@
+// Example 7.7
+// Calculating Line Voltage
+V_a_m=15*10^3;// Volts
+phase_a=90; // Degree
+V_l=sqrt(3)*V_a_m; // The RMS line voltage
+// From figure 7.19(c)
+phase_ab=phase_a+30;
+phase_bc=phase_ab-120;
+phase_ca=phase_ab+120;
+V_peak=sqrt(2)*V_l; // converting RMS value to peak value
+// for omega= 10;
+omega=100;
+t=0:1:50;
+v_ab=V_peak*cos(omega*t+phase_ab);
+v_bc=V_peak*cos(omega*t+phase_bc);
+v_ca=V_peak*cos(omega*t+phase_ca);
+plot(t,v_ab,'-r',t,v_bc,'-g',t,v_ca,'-y');
+xlabel('t');
+ylabel('v(t)');
+title('Voltage Waveform');
+h1=legend(['v_ab';'v_bc';'v_ca']);