summaryrefslogtreecommitdiff
path: root/881/CH3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /881/CH3
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')
-rwxr-xr-x881/CH3/EX3.1/exa3_1.sce36
-rwxr-xr-x881/CH3/EX3.2/exa3_2.sce55
2 files changed, 91 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 = ");
diff --git a/881/CH3/EX3.2/exa3_2.sce b/881/CH3/EX3.2/exa3_2.sce
new file mode 100755
index 000000000..4107a58ef
--- /dev/null
+++ b/881/CH3/EX3.2/exa3_2.sce
@@ -0,0 +1,55 @@
+clc;
+//Example 3.2
+//Page no 96
+
+
+//Solution
+
+fn=200*(10^3);
+fi=210*(10^3);
+Kd=0.2;
+Kf=1;
+Ka=5;
+Ko=20;
+
+//(a)
+
+disp("(a)From equation 3-20 and 3-21 (refer pgno 95), we get ");
+
+Kl=Kd*Kf*Ka*Ko;
+
+disp('kHz/rad',Kl,"Kl = ");
+
+Kv=2*(%pi)*(Kl*(10^3));
+
+disp('rad/s',Kv,"Kv = ");
+
+KV=20*log10(Kv);
+
+disp('dB',round(KV),"Kv(dB) = ");
+
+//(b)
+
+dF=fi-fn;
+
+disp('kHz',(dF/(10^3)),"(b)dF = ");
+
+//(c)
+
+disp("(c)Rearranging equation 3-15 (refer pgno 89) gives us ");
+
+Vo=((dF/(10^3))/Ko);
+
+disp('V',Vo,"Vout = ");
+
+Vd=(Vo/(Kf*Ka));
+
+disp('V',Vd,"Vd = ");
+
+//(d)
+
+disp("(d)Rearranging equation 3-18 (refer pgno 94) gives us ");
+
+the=(Vd/Kd);
+
+disp('rad',the,"THe = ");