diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /992/CH3 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '992/CH3')
33 files changed, 399 insertions, 0 deletions
diff --git a/992/CH3/EX3.1/EX3_1.sce b/992/CH3/EX3.1/EX3_1.sce new file mode 100755 index 000000000..293e9c306 --- /dev/null +++ b/992/CH3/EX3.1/EX3_1.sce @@ -0,0 +1,19 @@ +
+//Exa:3.1
+clc;
+clear;
+close;
+//Given:
+w1=4.8;//in KHz
+v1=2.4;
+v2=7.2;
+fm=0.5;//in KHz
+w2=w1*v2/v1;//in KHz
+v3=10;
+w3=w1*v3/v1;
+m1=w1/fm;
+m2=w2/fm;
+m3=w3/fm;
+printf("\n 1)deviation = %f KHz and modulation index = %f",w1,m1);
+printf("\n 2)deviation = %f KHz and modulation index = %f",w2,m2);
+printf("\n 3)deviation = %f KHz and modulation index = %f",w3,m3);
\ No newline at end of file diff --git a/992/CH3/EX3.1/ex3_1.txt b/992/CH3/EX3.1/ex3_1.txt new file mode 100755 index 000000000..f97eadf8c --- /dev/null +++ b/992/CH3/EX3.1/ex3_1.txt @@ -0,0 +1,19 @@ +//Caption:Program to calculate deviation and modulation index.
+//Exa:3.1
+clc;
+clear;
+close;
+//Given:
+w1=4.8;//in KHz
+v1=2.4;
+v2=7.2;
+fm=0.5;//in KHz
+w2=w1*v2/v1;//in KHz
+v3=10;
+w3=w1*v3/v1;
+m1=w1/fm;
+m2=w2/fm;
+m3=w3/fm;
+printf("\n 1)deviation = %f KHz and modulation index = %f",w1,m1);
+printf("\n 2)deviation = %f KHz and modulation index = %f",w2,m2);
+printf("\n 3)deviation = %f KHz and modulation index = %f",w3,m3);
\ No newline at end of file diff --git a/992/CH3/EX3.1/ex3_1ans.txt b/992/CH3/EX3.1/ex3_1ans.txt new file mode 100755 index 000000000..1e1ed4f4a --- /dev/null +++ b/992/CH3/EX3.1/ex3_1ans.txt @@ -0,0 +1,5 @@ +
+ 1)deviation = 4.800000 KHz and modulation index = 9.600000
+ 2)deviation = 14.400000 KHz and modulation index = 28.800000
+ 3)deviation = 20.000000 KHz and modulation index = 40.000000
+ Execution done.
\ No newline at end of file diff --git a/992/CH3/EX3.10/Ex3_10.sce b/992/CH3/EX3.10/Ex3_10.sce new file mode 100755 index 000000000..6caa12423 --- /dev/null +++ b/992/CH3/EX3.10/Ex3_10.sce @@ -0,0 +1,15 @@ +
+//Exa:3.10
+clc;
+clear;
+close;
+//Given:
+mf=1.0;
+Jo=0.77;
+//According the bessels Function table
+j1=0.44;
+j2=0.11;
+j3=0.02;
+printf("\n Firstsideband pairs :J1 = %f",j1);
+printf("\n Secondsideband pairs :J2 = %f",j2);
+printf("\n Thirdsideband pairs :J3 = %f",j3);
\ No newline at end of file diff --git a/992/CH3/EX3.10/ex3_10.txt b/992/CH3/EX3.10/ex3_10.txt new file mode 100755 index 000000000..bbc0d2e7c --- /dev/null +++ b/992/CH3/EX3.10/ex3_10.txt @@ -0,0 +1,15 @@ +//Caption:Program to determine realtive amplitude of each sideband.
+//Exa:3.10
+clc;
+clear;
+close;
+//Given:
+mf=1.0;
+Jo=0.77;
+//According the bessels Function table
+j1=0.44;
+j2=0.11;
+j3=0.02;
+printf("\n Firstsideband pairs :J1 = %f",j1);
+printf("\n Secondsideband pairs :J2 = %f",j2);
+printf("\n Thirdsideband pairs :J3 = %f",j3);
\ No newline at end of file diff --git a/992/CH3/EX3.10/ex3_10ans.txt b/992/CH3/EX3.10/ex3_10ans.txt new file mode 100755 index 000000000..135ba6664 --- /dev/null +++ b/992/CH3/EX3.10/ex3_10ans.txt @@ -0,0 +1,5 @@ +
+ Firstsideband pairs :J1 = 0.440000
+ Secondsideband pairs :J2 = 0.110000
+ Thirdsideband pairs :J3 = 0.020000
+ Execution done.
\ No newline at end of file diff --git a/992/CH3/EX3.11/Ex3_11.sce b/992/CH3/EX3.11/Ex3_11.sce new file mode 100755 index 000000000..ddeccd1ee --- /dev/null +++ b/992/CH3/EX3.11/Ex3_11.sce @@ -0,0 +1,19 @@ +
+//Exa:3.11
+clc;
+clear;
+close;
+//Given:
+mf=1.0;
+fc=1;//in MHz
+fm=10;//in KHz
+//According the bessels Function table
+j0=0.22
+j1=0.58;
+j2=0.35;
+j3=0.13;
+j4=0.03
+printf("\n Firstsideband pairs :J1 = %f",j1);
+printf("\n Secondsideband pairs :J2 = %f",j2);
+printf("\n Thirdsideband pairs :J3 = %f",j3);
+printf("\n Forthsideband pairs :J4 = %f",j4);
\ No newline at end of file diff --git a/992/CH3/EX3.11/ex3_11.txt b/992/CH3/EX3.11/ex3_11.txt new file mode 100755 index 000000000..f4ca34997 --- /dev/null +++ b/992/CH3/EX3.11/ex3_11.txt @@ -0,0 +1,19 @@ +//Caption:Program to determine realtive amplitude of each sideband.
+//Exa:3.11
+clc;
+clear;
+close;
+//Given:
+mf=1.0;
+fc=1;//in MHz
+fm=10;//in KHz
+//According the bessels Function table
+j0=0.22
+j1=0.58;
+j2=0.35;
+j3=0.13;
+j4=0.03
+printf("\n Firstsideband pairs :J1 = %f",j1);
+printf("\n Secondsideband pairs :J2 = %f",j2);
+printf("\n Thirdsideband pairs :J3 = %f",j3);
+printf("\n Forthsideband pairs :J4 = %f",j4);
\ No newline at end of file diff --git a/992/CH3/EX3.11/ex3_11ans.txt b/992/CH3/EX3.11/ex3_11ans.txt new file mode 100755 index 000000000..fffbf59ea --- /dev/null +++ b/992/CH3/EX3.11/ex3_11ans.txt @@ -0,0 +1,12 @@ + j0 =
+
+ 0.22
+ j4 =
+
+ 0.03
+
+ Firstsideband pairs :J1 = 0.580000
+ Secondsideband pairs :J2 = 0.350000
+ Thirdsideband pairs :J3 = 0.130000
+ Forthsideband pairs :J4 = 0.030000
+ Execution done.
\ No newline at end of file diff --git a/992/CH3/EX3.2/Ex3_2.sce b/992/CH3/EX3.2/Ex3_2.sce new file mode 100755 index 000000000..ef6709897 --- /dev/null +++ b/992/CH3/EX3.2/Ex3_2.sce @@ -0,0 +1,20 @@ +
+//Exa:3.2
+clc;
+clear;
+close;
+//Given:
+//V=12*sin(6*10^8*t+5*sin(1250)*t);
+//Compairing it with V=A*sin(wc*t+mf*sin(wm)*t);
+wc=6*10^8;
+wm=1250;
+mf=5;
+A=12;
+R=10;
+Vrms=A/sqrt(2);
+fc=wc/2/%pi;
+fm=wm/2/%pi;
+P=Vrms^2/R;
+printf("\n Fc = %f MHz",fc/10^6);
+printf("\n Fm = %fHz",fm);
+printf("\n Power = %fW",P);
\ No newline at end of file diff --git a/992/CH3/EX3.2/ex3_2.txt b/992/CH3/EX3.2/ex3_2.txt new file mode 100755 index 000000000..31fe05641 --- /dev/null +++ b/992/CH3/EX3.2/ex3_2.txt @@ -0,0 +1,20 @@ +//Caption:Program to calculate Power dissipated.
+//Exa:3.2
+clc;
+clear;
+close;
+//Given:
+//V=12*sin(6*10^8*t+5*sin(1250)*t);
+//Compairing it with V=A*sin(wc*t+mf*sin(wm)*t);
+wc=6*10^8;
+wm=1250;
+mf=5;
+A=12;
+R=10;
+Vrms=A/sqrt(2);
+fc=wc/2/%pi;
+fm=wm/2/%pi;
+P=Vrms^2/R;
+printf("\n Fc = %f MHz",fc/10^6);
+printf("\n Fm = %fHz",fm);
+printf("\n Power = %fW",P);
\ No newline at end of file diff --git a/992/CH3/EX3.2/ex3_2ans.txt b/992/CH3/EX3.2/ex3_2ans.txt new file mode 100755 index 000000000..3a2e407fc --- /dev/null +++ b/992/CH3/EX3.2/ex3_2ans.txt @@ -0,0 +1,5 @@ +
+ Fc = 95.492966 MHz
+ Fm = 198.943679Hz
+ Power = 7.200000W
+ Execution done.
\ No newline at end of file diff --git a/992/CH3/EX3.3/Ex3_3.sce b/992/CH3/EX3.3/Ex3_3.sce new file mode 100755 index 000000000..3c0d66180 --- /dev/null +++ b/992/CH3/EX3.3/Ex3_3.sce @@ -0,0 +1,14 @@ +
+//Exa:3.3
+clc;
+clear;
+close;
+//Given:
+Bw=12;//in KHz
+Mod_mn=300;
+Mod_mx=3000;
+dev=6;//in KHz
+m1={(Bw-dev)*1000}/Mod_mn;
+m2={(Bw-dev)*1000}/Mod_mx;
+printf("\n 1)modulation indexat 300Hz = %f ",m1);
+printf("\n 2)modulation indexat 3000Hz = %f ",m2);
\ No newline at end of file diff --git a/992/CH3/EX3.3/ex3_3.txt b/992/CH3/EX3.3/ex3_3.txt new file mode 100755 index 000000000..621d14f34 --- /dev/null +++ b/992/CH3/EX3.3/ex3_3.txt @@ -0,0 +1,14 @@ +//Caption:Program to calculate modulation index.
+//Exa:3.3
+clc;
+clear;
+close;
+//Given:
+Bw=12;//in KHz
+Mod_mn=300;
+Mod_mx=3000;
+dev=6;//in KHz
+m1={(Bw-dev)*1000}/Mod_mn;
+m2={(Bw-dev)*1000}/Mod_mx;
+printf("\n 1)modulation indexat 300Hz = %f ",m1);
+printf("\n 2)modulation indexat 3000Hz = %f ",m2);
\ No newline at end of file diff --git a/992/CH3/EX3.3/ex3_3ans.txt b/992/CH3/EX3.3/ex3_3ans.txt new file mode 100755 index 000000000..218e38e8d --- /dev/null +++ b/992/CH3/EX3.3/ex3_3ans.txt @@ -0,0 +1,4 @@ +
+ 1)modulation indexat 300Hz = 20.000000
+ 2)modulation indexat 3000Hz = 2.000000
+ Execution done.
\ No newline at end of file diff --git a/992/CH3/EX3.4/Ex3_4.sce b/992/CH3/EX3.4/Ex3_4.sce new file mode 100755 index 000000000..9a8b9e2e3 --- /dev/null +++ b/992/CH3/EX3.4/Ex3_4.sce @@ -0,0 +1,12 @@ +
+//Exa:3.4
+clc;
+clear;
+close;
+//Given:
+w=10;//in KHz
+wm=2;//in KHz
+mf=w/wm;
+Bw=wm*8*2;//for 5 highest coefficient of J in Bessel function is 8
+printf("\n modulation index = %f ",mf);
+printf("\n Band width required = %f KHz",Bw);
\ No newline at end of file diff --git a/992/CH3/EX3.4/ex3_4.txt b/992/CH3/EX3.4/ex3_4.txt new file mode 100755 index 000000000..6db115808 --- /dev/null +++ b/992/CH3/EX3.4/ex3_4.txt @@ -0,0 +1,12 @@ +//Caption:Program to Bandwidth required.
+//Exa:3.4
+clc;
+clear;
+close;
+//Given:
+w=10;//in KHz
+wm=2;//in KHz
+mf=w/wm;
+Bw=wm*8*2;
+printf("\n modulation index = %f ",mf);
+printf("\n Band width required = %f KHz",Bw);
\ No newline at end of file diff --git a/992/CH3/EX3.4/ex3_4ans.txt b/992/CH3/EX3.4/ex3_4ans.txt new file mode 100755 index 000000000..59627d533 --- /dev/null +++ b/992/CH3/EX3.4/ex3_4ans.txt @@ -0,0 +1,4 @@ +
+ modulation index = 5.000000
+ Band width required = 32.000000 KHz
+ Execution done.
\ No newline at end of file diff --git a/992/CH3/EX3.5/Ex3_5.sce b/992/CH3/EX3.5/Ex3_5.sce new file mode 100755 index 000000000..a1701b366 --- /dev/null +++ b/992/CH3/EX3.5/Ex3_5.sce @@ -0,0 +1,21 @@ +
+//Exa:3.5
+clc;
+clear;
+close;
+//Given:
+fc=25*10^6;//in Hz
+fm=400;//in Hz
+A=4;//in volts
+wc=2*%pi*fc;
+wm=2*%pi*fm;
+w=10000;
+mf=w/fm;
+printf("\n a)Eq:FM \nV=%f*sin(%f*t+%f*sin(%f)*t)",A,wc,mf,wm);
+printf("\n\n b)Eq:PM \nV=%f*sin(%f*t+%f*sin(%f)*t)",A,wc,mf,wm);
+fm2=5*fm;
+mf12=mf/5;
+mf22=mf;
+wm=2*%pi*fm2;
+printf("\n\n c)Eq:FM \nV=%f*sin(%f*t+%f*sin(%f)*t)",A,wc,mf12,wm);
+printf("\n\n d)Eq:FM \nV=%f*sin(%f*t+%f*sin(%f)*t)",A,wc,mf22,wm);
\ No newline at end of file diff --git a/992/CH3/EX3.5/ex3_5.txt b/992/CH3/EX3.5/ex3_5.txt new file mode 100755 index 000000000..53a9cacb1 --- /dev/null +++ b/992/CH3/EX3.5/ex3_5.txt @@ -0,0 +1,21 @@ +//Caption:Program to determine equations of FM & PM.
+//Exa:3.5
+clc;
+clear;
+close;
+//Given:
+fc=25*10^6;//in Hz
+fm=400;//in Hz
+A=4;//in volts
+wc=2*%pi*fc;
+wm=2*%pi*fm;
+w=10000;
+mf=w/fm;
+printf("\n a)Eq:FM \nV=%f*sin(%f*t+%f*sin(%f)*t)",A,wc,mf,wm);
+printf("\n\n b)Eq:PM \nV=%f*sin(%f*t+%f*sin(%f)*t)",A,wc,mf,wm);
+fm2=5*fm;
+mf12=mf/5;
+mf22=mf;
+wm=2*%pi*fm2;
+printf("\n c)Eq:FM \nV=%f*sin(%f*t+%f*sin(%f)*t)",A,wc,mf12,wm);
+printf("\n d)Eq:FM \nV=%f*sin(%f*t+%f*sin(%f)*t)",A,wc,mf22,wm);
\ No newline at end of file diff --git a/992/CH3/EX3.5/ex3_5ans.txt b/992/CH3/EX3.5/ex3_5ans.txt new file mode 100755 index 000000000..fee486711 --- /dev/null +++ b/992/CH3/EX3.5/ex3_5ans.txt @@ -0,0 +1,13 @@ +
+ a)Eq:FM
+V=4.000000*sin(157079632.679490*t+25.000000*sin(2513.274123)*t)
+
+ b)Eq:PM
+V=4.000000*sin(157079632.679490*t+25.000000*sin(2513.274123)*t)
+
+ c)Eq:FM
+V=4.000000*sin(157079632.679490*t+5.000000*sin(12566.370614)*t)
+
+ d)Eq:FM
+V=4.000000*sin(157079632.679490*t+25.000000*sin(12566.370614)*t)
+ Execution done.
diff --git a/992/CH3/EX3.6/Ex3_6.sce b/992/CH3/EX3.6/Ex3_6.sce new file mode 100755 index 000000000..60066ee24 --- /dev/null +++ b/992/CH3/EX3.6/Ex3_6.sce @@ -0,0 +1,14 @@ +
+//Exa:3.6
+clc;
+clear;
+close;
+//Given:
+dev=100;//in KHz
+mod_f=15;//in KHz
+m1=dev/mod_f;
+m2=3*dev/mod_f;
+t=m1/m2;
+printf("\n modulation index = %f ",m1);
+printf("\n modulation index = %f ",m2);
+printf("\n when deviation is tripled m becomes = %ftimes ",t);
\ No newline at end of file diff --git a/992/CH3/EX3.6/ex3_6.txt b/992/CH3/EX3.6/ex3_6.txt new file mode 100755 index 000000000..1b3538ec0 --- /dev/null +++ b/992/CH3/EX3.6/ex3_6.txt @@ -0,0 +1,14 @@ +//Caption:Program to modulation index.
+//Exa:3.6
+clc;
+clear;
+close;
+//Given:
+dev=100;//in KHz
+mod_f=15;//in KHz
+m1=dev/mod_f;
+m2=3*dev/mod_f;
+t=m1/m2;
+printf("\n modulation index = %f ",m1);
+printf("\n modulation index = %f ",m2);
+printf("\n when deviation is tripled m becomes = %ftimes ",t);
\ No newline at end of file diff --git a/992/CH3/EX3.6/ex3_6ans.txt b/992/CH3/EX3.6/ex3_6ans.txt new file mode 100755 index 000000000..021326f89 --- /dev/null +++ b/992/CH3/EX3.6/ex3_6ans.txt @@ -0,0 +1,5 @@ +
+ modulation index = 6.666667
+ modulation index = 20.000000
+ when deviation is tripled m becomes = 0.333333times
+ Execution done.
\ No newline at end of file diff --git a/992/CH3/EX3.7/Ex3_7.sce b/992/CH3/EX3.7/Ex3_7.sce new file mode 100755 index 000000000..b6d4d5664 --- /dev/null +++ b/992/CH3/EX3.7/Ex3_7.sce @@ -0,0 +1,10 @@ +
+//Exa:3.7
+clc;
+clear;
+close;
+//Given:
+dev=100;//in KHz
+mod_f=15;//in KHz
+Bw=2*(dev+mod_f);
+printf("\n Band width required = %f KHz",Bw);
\ No newline at end of file diff --git a/992/CH3/EX3.7/ex3_7.txt b/992/CH3/EX3.7/ex3_7.txt new file mode 100755 index 000000000..491d7f50d --- /dev/null +++ b/992/CH3/EX3.7/ex3_7.txt @@ -0,0 +1,10 @@ +//Caption:Program to Bandwidth required.
+//Exa:3.7
+clc;
+clear;
+close;
+//Given:
+dev=100;//in KHz
+mod_f=15;//in KHz
+Bw=2*(dev+mod_f);
+printf("\n Band width required = %f KHz",Bw);
\ No newline at end of file diff --git a/992/CH3/EX3.7/ex3_7ans.txt b/992/CH3/EX3.7/ex3_7ans.txt new file mode 100755 index 000000000..163621aea --- /dev/null +++ b/992/CH3/EX3.7/ex3_7ans.txt @@ -0,0 +1,3 @@ +
+ Band width required = 230.000000 KHz
+ Execution done.
diff --git a/992/CH3/EX3.8/Ex3_8.sce b/992/CH3/EX3.8/Ex3_8.sce new file mode 100755 index 000000000..dbda7f453 --- /dev/null +++ b/992/CH3/EX3.8/Ex3_8.sce @@ -0,0 +1,10 @@ +
+//Exa:3.8
+clc;
+clear;
+close;
+//Given:
+Bw=150;//in KHz
+mod_f=10;//in KHz
+dev=Bw/2 - mod_f;
+printf("\n deviation to be used = %f KHz",dev);
\ No newline at end of file diff --git a/992/CH3/EX3.8/ex3_8.txt b/992/CH3/EX3.8/ex3_8.txt new file mode 100755 index 000000000..cda061ecb --- /dev/null +++ b/992/CH3/EX3.8/ex3_8.txt @@ -0,0 +1,10 @@ +//Caption:Program to calculate deviation to be used.
+//Exa:3.8
+clc;
+clear;
+close;
+//Given:
+Bw=150;//in KHz
+mod_f=10;//in KHz
+dev=Bw/2 - mod_f;
+printf("\n deviation to be used = %f KHz",dev);
\ No newline at end of file diff --git a/992/CH3/EX3.8/ex3_8ans.txt b/992/CH3/EX3.8/ex3_8ans.txt new file mode 100755 index 000000000..69fb70630 --- /dev/null +++ b/992/CH3/EX3.8/ex3_8ans.txt @@ -0,0 +1,3 @@ +
+ deviation to be used = 65.000000 KHz
+ Execution done.
diff --git a/992/CH3/EX3.9/Ex3_9.sce b/992/CH3/EX3.9/Ex3_9.sce new file mode 100755 index 000000000..4852de4a0 --- /dev/null +++ b/992/CH3/EX3.9/Ex3_9.sce @@ -0,0 +1,14 @@ +
+//Exa:3.9
+clc;
+clear;
+close;
+//Given:
+Bw=12;//in KHz
+Mod_mn=300;
+Mod_mx=3000;
+dev=6;//in KHz
+m1={(Bw-dev)*1000}/Mod_mn;
+m2={(Bw-dev)*1000}/Mod_mx;
+printf("\n 1)modulation indexat 300Hz = %f ",m1);
+printf("\n 2)modulation indexat 3000Hz = %f ",m2);
\ No newline at end of file diff --git a/992/CH3/EX3.9/ex3_9.txt b/992/CH3/EX3.9/ex3_9.txt new file mode 100755 index 000000000..621d14f34 --- /dev/null +++ b/992/CH3/EX3.9/ex3_9.txt @@ -0,0 +1,14 @@ +//Caption:Program to calculate modulation index.
+//Exa:3.3
+clc;
+clear;
+close;
+//Given:
+Bw=12;//in KHz
+Mod_mn=300;
+Mod_mx=3000;
+dev=6;//in KHz
+m1={(Bw-dev)*1000}/Mod_mn;
+m2={(Bw-dev)*1000}/Mod_mx;
+printf("\n 1)modulation indexat 300Hz = %f ",m1);
+printf("\n 2)modulation indexat 3000Hz = %f ",m2);
\ No newline at end of file diff --git a/992/CH3/EX3.9/ex3_9ans.txt b/992/CH3/EX3.9/ex3_9ans.txt new file mode 100755 index 000000000..7af733a29 --- /dev/null +++ b/992/CH3/EX3.9/ex3_9ans.txt @@ -0,0 +1,4 @@ +
+ 1)modulation indexat 300Hz = 20.000000
+ 2)modulation indexat 3000Hz = 2.000000
+ Execution done.
\ No newline at end of file |