summaryrefslogtreecommitdiff
path: root/269/CH7/EX7.5/example5.sce
diff options
context:
space:
mode:
Diffstat (limited to '269/CH7/EX7.5/example5.sce')
-rw-r--r--269/CH7/EX7.5/example5.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/269/CH7/EX7.5/example5.sce b/269/CH7/EX7.5/example5.sce
new file mode 100644
index 000000000..294376891
--- /dev/null
+++ b/269/CH7/EX7.5/example5.sce
@@ -0,0 +1,9 @@
+Syms t,s
+disp('By KVL the current equation is')
+disp('V/L*(1/s*(s+R/L))')
+//by partial fraction method the expression is split as k0/s+k1/s+(R/L)
+//The values of k0=V/R and k1=-V/R
+//taking inverse laplace
+disp('inverse laplace is')
+z=ilt('(V/R*s^0)/s-(V/R*s^0)/(s+(R/L))',s,t)
+disp(z,"z(t)=")