summaryrefslogtreecommitdiff
path: root/104/CH2/EX2.7/2_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '104/CH2/EX2.7/2_7.sce')
-rwxr-xr-x104/CH2/EX2.7/2_7.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/104/CH2/EX2.7/2_7.sce b/104/CH2/EX2.7/2_7.sce
new file mode 100755
index 000000000..1e9dc1a1b
--- /dev/null
+++ b/104/CH2/EX2.7/2_7.sce
@@ -0,0 +1,11 @@
+//inverse laplace transform
+n=poly([4],'s','coeff')
+d=poly([4 8 1],'s','coeff') //w=2,damping ratio=2
+G=n/d;
+disp(G,"G(s)=")
+pf=pfss(G)
+disp(pf,"G(s)=")
+syms s t
+g1=ilaplace(pf(1),s,t)
+g2=ilaplace(pf(2),s,t)
+disp(g1+g2,"g(t)=")