summaryrefslogtreecommitdiff
path: root/104/CH2/EX2.8/2_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '104/CH2/EX2.8/2_8.sce')
-rwxr-xr-x104/CH2/EX2.8/2_8.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/104/CH2/EX2.8/2_8.sce b/104/CH2/EX2.8/2_8.sce
new file mode 100755
index 000000000..dfcdab466
--- /dev/null
+++ b/104/CH2/EX2.8/2_8.sce
@@ -0,0 +1,14 @@
+//inverse laplace transform
+n=poly([5 -1 -1],'s','coeff')
+d=poly([0 -1 -2],'s','roots')
+Y=n/d;
+disp(Y,"Y(s)=")
+pf=pfss(Y)
+disp(pf,"Y(s)=")
+syms s t
+y1=ilaplace(pf(1),s,t)
+y2=ilaplace(pf(2),s,t)
+y3=ilaplace(pf(3),s,t)
+disp(y1+y2+y3,"g(t)=")
+l=limit(Y*s,s,0)
+disp(l,"limit of y(t) as t tends to infinity=") \ No newline at end of file