summaryrefslogtreecommitdiff
path: root/162/CH1/EX1.3.a/example13a.sce
diff options
context:
space:
mode:
Diffstat (limited to '162/CH1/EX1.3.a/example13a.sce')
-rwxr-xr-x162/CH1/EX1.3.a/example13a.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/162/CH1/EX1.3.a/example13a.sce b/162/CH1/EX1.3.a/example13a.sce
new file mode 100755
index 000000000..ce46235f0
--- /dev/null
+++ b/162/CH1/EX1.3.a/example13a.sce
@@ -0,0 +1,10 @@
+//Example 1.3a
+//Find whether the the given signal is energy or power signal
+clc;
+A=0.5;
+phi=0;
+t=0:0.001:10;
+y=A*sin(2*%pi*t+phi);
+P=(integrate('A^2*(sin(2*%pi*t))^2','t',0,2*%pi))/(2*%pi);
+disp(P,'Power of the signal is');
+disp('Since the power of the given signal is finite so we can say that this signal is a power signal'); \ No newline at end of file