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 --- 1592/CH2/EX2.3/example_2_3.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 1592/CH2/EX2.3/example_2_3.sce (limited to '1592/CH2/EX2.3') diff --git a/1592/CH2/EX2.3/example_2_3.sce b/1592/CH2/EX2.3/example_2_3.sce new file mode 100755 index 000000000..f526f8b5d --- /dev/null +++ b/1592/CH2/EX2.3/example_2_3.sce @@ -0,0 +1,19 @@ +//Scilab Code for Example 2.3 of Signals and systems by +//P.Ramakrishna Rao +clear; +clc; +syms s0; +s=%s; +I=(s+8)/(s^2+6*s+13) +i=pfss(s*I) +disp(i(1),"sF(s)(1)=") +disp(i(2),"sF(s)(2)=") +I1=(2*s0-13)/(s0^2+6*s0+13); +I2=1; +Io1=limit(I1,s0,10^8); +Io2=limit(I2,s0,10^8); +Ix=2-((25*s0+26)/(s0^2+6*s0+13)); +f0=(Io1)+(Io2); +f0_dash=limit(Ix,s0,10^8); +disp(f0,'INITIAL VALUE OF f(t) i.e. f(0)='); +disp(abs(f0_dash),'INITIAL VALUE OF f(t) i.e. f''(0)='); -- cgit