summaryrefslogtreecommitdiff
path: root/3838/CH2/EX2.17.a/EX2_17_a.sce
blob: dd3b04feef7612aa5a4ebd45a6f0fb0c515d2aae (plain)
1
2
3
4
5
6
7
8
9
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');