summaryrefslogtreecommitdiff
path: root/67/CH1/EX1.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /67/CH1/EX1.4
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '67/CH1/EX1.4')
-rwxr-xr-x67/CH1/EX1.4/example14.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/67/CH1/EX1.4/example14.sce b/67/CH1/EX1.4/example14.sce
new file mode 100755
index 000000000..6f795d28b
--- /dev/null
+++ b/67/CH1/EX1.4/example14.sce
@@ -0,0 +1,9 @@
+//Example 1.4
+//Sketch the signal x(t)=Asin(t)
+clc;
+A=0.5;
+t=0:1/100:10
+x=A*sin(t);
+plot(x);
+//since it is a periodic signal so it is power signal
+P=(integrate('((0.5)^2)*(sin(t)^2)','t',0,2*%pi))/(2*%pi); \ No newline at end of file