summaryrefslogtreecommitdiff
path: root/257/CH2/EX2.9/example_2_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '257/CH2/EX2.9/example_2_9.sce')
-rw-r--r--257/CH2/EX2.9/example_2_9.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/257/CH2/EX2.9/example_2_9.sce b/257/CH2/EX2.9/example_2_9.sce
new file mode 100644
index 000000000..c815cab7d
--- /dev/null
+++ b/257/CH2/EX2.9/example_2_9.sce
@@ -0,0 +1,13 @@
+// using KVL we have v(t)=i(t)*R+ L* d/dt(i(t))
+// taking laplace transform V(s)=I(s)*R + L*s*I(s)
+
+s=%s;
+
+R=10^3
+L=25*10^-3
+
+F=(50/s)/(R+s*L);
+
+syms t s;
+y=ilaplace(F,s,t);
+disp(y,"i(t)=")