summaryrefslogtreecommitdiff
path: root/881/CH3/EX3.1/exa3_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /881/CH3/EX3.1/exa3_1.sce
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 '881/CH3/EX3.1/exa3_1.sce')
-rwxr-xr-x881/CH3/EX3.1/exa3_1.sce36
1 files changed, 36 insertions, 0 deletions
diff --git a/881/CH3/EX3.1/exa3_1.sce b/881/CH3/EX3.1/exa3_1.sce
new file mode 100755
index 000000000..9fe7c11d6
--- /dev/null
+++ b/881/CH3/EX3.1/exa3_1.sce
@@ -0,0 +1,36 @@
+clc;
+//Example 3.1
+//Page no 75
+
+
+
+//Solution
+
+fn=10*(10^6);
+k=10;
+c1=10;
+c2=-5;
+
+//(a)
+
+disp("(a)Substituting into equation 3-6 and 3-7 (refer pgno 75) give us ");
+
+df=k*(10*c1);
+
+disp('Hz',round(df),"dF = ");
+
+fo=fn+(round(df));
+
+disp('MHz',fo/(10^6),"F0 = ");
+
+//(b)
+
+disp("(b)Again, substituting into equation 3-6 and 3-7 yields ");
+
+dF=k*(10*c2);
+
+disp('Hz',round(dF),"dF = ");
+
+f1=fn+(round(dF));
+
+disp('MHz',f1/(10^6),"F0 = ");