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 /42/CH10/EX10.1 | |
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 '42/CH10/EX10.1')
-rwxr-xr-x | 42/CH10/EX10.1/sadiku_10_1.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/42/CH10/EX10.1/sadiku_10_1.sce b/42/CH10/EX10.1/sadiku_10_1.sce new file mode 100755 index 000000000..9d22d6b91 --- /dev/null +++ b/42/CH10/EX10.1/sadiku_10_1.sce @@ -0,0 +1,22 @@ +clear;
+clc;
+format('v',6);
+disp('Direction of wave propagation is -ax');
+w=10^8,c=3*10^8;
+B=w/c;
+disp(B,'Value of beta=');
+T=2*%pi/w;
+disp(T/2*10^9,'Time taken to travel half of wave length in nS= ');
+t=0
+x=-2*%pi:%pi/16:2*%pi;
+Ey=50*cos(10^8 *t +B*x);
+subplot(2,2,1)
+plot(x,Ey);
+t=T/4;
+Ey=50*cos(10^8 *t +B*x);
+subplot(2,2,2)
+plot(x,Ey);
+t=T/2;
+Ey=50*cos(10^8 *t +B*x);
+subplot(2,2,3)
+plot(x,Ey);
\ No newline at end of file |