summaryrefslogtreecommitdiff
path: root/1592/CH2/EX2.17/Example_2_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '1592/CH2/EX2.17/Example_2_17.sce')
-rwxr-xr-x1592/CH2/EX2.17/Example_2_17.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1592/CH2/EX2.17/Example_2_17.sce b/1592/CH2/EX2.17/Example_2_17.sce
new file mode 100755
index 000000000..4fa6bfb13
--- /dev/null
+++ b/1592/CH2/EX2.17/Example_2_17.sce
@@ -0,0 +1,11 @@
+//Scilab Code for Example 2.17 of Signals and systems by
+//P.Ramakrishna Rao
+clear;
+clc;
+syms t y;
+s=%s;
+y=laplace(-2*exp(2*t)-3*exp(3*t),t,s);
+disp(y,"X(s)=");
+disp("Re(s)<2");
+y=(-2/(s-2))+(-3/(s-3));
+plzr(y);