summaryrefslogtreecommitdiff
path: root/671/CH1/EX1.A.4/1_A_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '671/CH1/EX1.A.4/1_A_4.sce')
-rwxr-xr-x671/CH1/EX1.A.4/1_A_4.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/671/CH1/EX1.A.4/1_A_4.sce b/671/CH1/EX1.A.4/1_A_4.sce
new file mode 100755
index 000000000..06b30374b
--- /dev/null
+++ b/671/CH1/EX1.A.4/1_A_4.sce
@@ -0,0 +1,9 @@
+function i = i(t)
+ i = 9*sin(%pi*t)/1000;
+endfunction
+
+t=200/1000
+CV=intg(0,t,i)
+Wc=300E-6
+C=(CV^2)/(2*Wc)
+disp(C) \ No newline at end of file