summaryrefslogtreecommitdiff
path: root/3838/CH2/EX2.17.a/EX2_17_a.sce
diff options
context:
space:
mode:
Diffstat (limited to '3838/CH2/EX2.17.a/EX2_17_a.sce')
-rw-r--r--3838/CH2/EX2.17.a/EX2_17_a.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3838/CH2/EX2.17.a/EX2_17_a.sce b/3838/CH2/EX2.17.a/EX2_17_a.sce
new file mode 100644
index 000000000..dd3b04fee
--- /dev/null
+++ b/3838/CH2/EX2.17.a/EX2_17_a.sce
@@ -0,0 +1,10 @@
+//EXAMPLE 2.17.A
+clc;
+x=[1,1,1,1]
+t=-1:0:1;
+y(t)=cos(x(t));
+disp('the max val of cos function is');
+disp(cos(0));
+disp('the min val of cos function is');
+disp(cos(%pi));
+disp('HENCE THE GIVEN SYSTEM IS BOUNDED IN -1 TO 1 HENCE THE GIVEN SYSTEM IS STABLE');