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 --- 842/CH1/EX01.13/Example01_13b.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 842/CH1/EX01.13/Example01_13b.sce (limited to '842/CH1/EX01.13') diff --git a/842/CH1/EX01.13/Example01_13b.sce b/842/CH1/EX01.13/Example01_13b.sce new file mode 100755 index 000000000..846653d10 --- /dev/null +++ b/842/CH1/EX01.13/Example01_13b.sce @@ -0,0 +1,21 @@ +//clear// +//Example 1.13(b):Determination of stability of a given system +//Page 50 +//given system y(t) = exp(x(t)) +clear; +clc; +Maximum_Limit = 10; +S = 0; +for t = 0:Maximum_Limit-1 + x(t+1)= -2^t; //Input some bounded value + S = S+exp(x(t+1)); +end +if (S >Maximum_Limit) + disp('Eventhough input is bounded output is unbounded') + disp('The given system is unstable'); + disp('S ='); + S + else + disp('The given system is stable'); + disp(S); +end -- cgit