diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1430/CH7/EX7.7 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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.jpg | bin | 0 -> 139496 bytes | |||
-rw-r--r-- | 1430/CH7/EX7.7/exa7_7.sce | 21 |
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 Binary files differnew file mode 100644 index 000000000..32e742c0b --- /dev/null +++ b/1430/CH7/EX7.7/exa7_7.jpg 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']);
|