From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 42/CH10/EX10.1/sadiku_10_1.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 42/CH10/EX10.1/sadiku_10_1.sce (limited to '42/CH10/EX10.1') 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 -- cgit