summaryrefslogtreecommitdiff
path: root/758/CH8/EX8.2/Ex_8_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '758/CH8/EX8.2/Ex_8_2.sce')
-rwxr-xr-x758/CH8/EX8.2/Ex_8_2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/758/CH8/EX8.2/Ex_8_2.sce b/758/CH8/EX8.2/Ex_8_2.sce
new file mode 100755
index 000000000..8d6fe8c3b
--- /dev/null
+++ b/758/CH8/EX8.2/Ex_8_2.sce
@@ -0,0 +1,10 @@
+//Example 8.2
+clc;clear;close;
+s=poly(0,'s');
+z=poly(0,'z');
+T=1;
+Hs=1/(s^2+16);
+Hz=horner(Hs,(1-1/z)/T);
+disp('Using Backward difference formula for derivative:')
+disp(Hs,'H(s)=');
+disp(Hz,'H(z)='); \ No newline at end of file