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 --- 52/CH2/EX2.8.a/Example2_8_a.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 52/CH2/EX2.8.a/Example2_8_a.sce (limited to '52/CH2/EX2.8.a') diff --git a/52/CH2/EX2.8.a/Example2_8_a.sce b/52/CH2/EX2.8.a/Example2_8_a.sce new file mode 100755 index 000000000..a7653ac47 --- /dev/null +++ b/52/CH2/EX2.8.a/Example2_8_a.sce @@ -0,0 +1,11 @@ +//Example 2.8 (a) +//MAXIMA SCILAB TOOLBOX REQUIRED FOR THIS PROGRAM +//Z transform of cos(Wo*n) +clc; +syms Wo n z; +x1=exp(sqrt(-1)*Wo*n); +X1=symsum(x1*(z^-n),n,0,%inf); +x2=exp(-sqrt(-1)*Wo*n); +X2=symsum(x2*(z^-n),n,0,%inf); +X=(X1+X2)/2; +disp(X,'X(z)='); \ No newline at end of file -- cgit