summaryrefslogtreecommitdiff
path: root/881/CH3/EX3.1/exa3_1.sce
diff options
context:
space:
mode:
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 = ");