summaryrefslogtreecommitdiff
path: root/1430/CH10/EX10.1/exa10_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1430/CH10/EX10.1/exa10_1.sce')
-rw-r--r--1430/CH10/EX10.1/exa10_1.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1430/CH10/EX10.1/exa10_1.sce b/1430/CH10/EX10.1/exa10_1.sce
new file mode 100644
index 000000000..e72853269
--- /dev/null
+++ b/1430/CH10/EX10.1/exa10_1.sce
@@ -0,0 +1,16 @@
+// Example 10.1
+// A complex-Frequency Waveform
+// we want the complex frequency waveform representation of
+// i(t)=200*exp(-5*t).*cos(30*t+60)mA
+// Examining the above expression
+I_m=200*10^-3;
+sigma=-5;
+omega=30;
+phase_i=60; // In degree
+x_I=I_m*cos(phase_i*(%pi/180));
+y_I=I_m*sin(phase_i*(%pi/180));
+I=complex(x_I,y_I); // Current Phasor
+s=complex(sigma,omega);
+disp("Complex-frequency representation")
+disp(I,"Current phasor(Amps)=")
+disp(s,"Complex-frequency")