summaryrefslogtreecommitdiff
path: root/215/CH14/EX14.9
diff options
context:
space:
mode:
Diffstat (limited to '215/CH14/EX14.9')
-rwxr-xr-x215/CH14/EX14.9/ex14_9.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/215/CH14/EX14.9/ex14_9.sce b/215/CH14/EX14.9/ex14_9.sce
new file mode 100755
index 000000000..0c6166c2b
--- /dev/null
+++ b/215/CH14/EX14.9/ex14_9.sce
@@ -0,0 +1,16 @@
+clc
+//Example 14.9
+//Install Symbolic toolbox
+//Find the voltage v(t)
+syms s
+s=%s
+//From figure 14.6
+//Writing the KCL equation and taking the Laplace transform
+V=4/(s*(s+4))+9/(s+4)
+V1=4/(s*(s+4))
+V2=9/(s+4)
+V1p=pfss(V1)
+v1=ilaplace(V1p(1))
+v2=ilaplace(V1p(2)+V2)
+v=v1+v2
+disp(v,'v(t)=') \ No newline at end of file