diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /215/CH14/EX14.9 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '215/CH14/EX14.9')
-rwxr-xr-x | 215/CH14/EX14.9/ex14_9.sce | 16 |
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 |