summaryrefslogtreecommitdiff
path: root/1574/CH1/EX1.2
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1574/CH1/EX1.2
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 '1574/CH1/EX1.2')
-rwxr-xr-x1574/CH1/EX1.2/Result_of_Chapter_1_Ex1_2.JPGbin0 -> 138350 bytes
-rwxr-xr-x1574/CH1/EX1.2/Signals_Ex_1_2.sce11
2 files changed, 11 insertions, 0 deletions
diff --git a/1574/CH1/EX1.2/Result_of_Chapter_1_Ex1_2.JPG b/1574/CH1/EX1.2/Result_of_Chapter_1_Ex1_2.JPG
new file mode 100755
index 000000000..9cdce7c5f
--- /dev/null
+++ b/1574/CH1/EX1.2/Result_of_Chapter_1_Ex1_2.JPG
Binary files differ
diff --git a/1574/CH1/EX1.2/Signals_Ex_1_2.sce b/1574/CH1/EX1.2/Signals_Ex_1_2.sce
new file mode 100755
index 000000000..bcaf03624
--- /dev/null
+++ b/1574/CH1/EX1.2/Signals_Ex_1_2.sce
@@ -0,0 +1,11 @@
+clc
+//Chapter1: Signals
+//Example1,page no 12
+//Given:
+// Curve on page no 9....fig 1.6
+t=0:0.1:2*%pi,t0=0,t1=2*%pi
+C=((integrate('sin(t)','t',t0,t1/2)-integrate('sin(t)','t',t1/2,t1))/integrate('(sin(t))^2','t',t0,t1))
+
+mprintf('The optimum value of C to minimise the mean square error is:\n C= %f',C)
+
+