summaryrefslogtreecommitdiff
path: root/257/CH4/EX4.1/example_4_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '257/CH4/EX4.1/example_4_1.sce')
-rw-r--r--257/CH4/EX4.1/example_4_1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/257/CH4/EX4.1/example_4_1.sce b/257/CH4/EX4.1/example_4_1.sce
new file mode 100644
index 000000000..11438e9ab
--- /dev/null
+++ b/257/CH4/EX4.1/example_4_1.sce
@@ -0,0 +1,12 @@
+// F = M*s^2 +K*X + B*X*s
+syms s t V Q L C R I;
+//force-voltage method
+F=V;
+X=Q;
+M=L;
+K=1/C;
+B=R;
+
+V=I*(s*L + 1/(s*C) + R);
+
+disp("v = L*diff(i) + 1/C*int(i) + i*R") \ No newline at end of file