summaryrefslogtreecommitdiff
path: root/Working_Examples/215/CH15/EX15.10/ex15_10.sce
diff options
context:
space:
mode:
Diffstat (limited to 'Working_Examples/215/CH15/EX15.10/ex15_10.sce')
-rwxr-xr-xWorking_Examples/215/CH15/EX15.10/ex15_10.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/Working_Examples/215/CH15/EX15.10/ex15_10.sce b/Working_Examples/215/CH15/EX15.10/ex15_10.sce
new file mode 100755
index 0000000..c507fa0
--- /dev/null
+++ b/Working_Examples/215/CH15/EX15.10/ex15_10.sce
@@ -0,0 +1,17 @@
+clc
+//Example 15.10
+//Since the input function is given the Laplace transform is found
+syms s t
+s=%s
+vin=6*exp(-t)
+Vin=laplace(vin)
+//Connecting the impulse voltage pulse to the circuit and converting to s-domain
+//If vin=delta(t)..the impulse source
+V0=2/((2/s)+2)
+//As source voltage is 1V
+H=V0
+V=Vin*H
+Vp=pfss ((6*s)/(s+1)^2)
+Vp1=ilaplace(Vp(1))
+v0=Vp1
+disp(v0,'v0(t)=') \ No newline at end of file