summaryrefslogtreecommitdiff
path: root/1757/CH6/EX6.13
diff options
context:
space:
mode:
Diffstat (limited to '1757/CH6/EX6.13')
-rwxr-xr-x1757/CH6/EX6.13/EX6_13.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1757/CH6/EX6.13/EX6_13.sce b/1757/CH6/EX6.13/EX6_13.sce
new file mode 100755
index 000000000..36eaf0f70
--- /dev/null
+++ b/1757/CH6/EX6.13/EX6_13.sce
@@ -0,0 +1,15 @@
+//Example6.13 // Determine the time constant of the integrator
+clc;
+clear;
+close;
+Vo = 20 ;
+t = 1*10^-3 ;
+VI = -1 ; // at t =0 ;
+
+// The output voltage of an integrator is define as
+RC = t/10 ;
+disp(' The time constant of the given filter is RC = '+string(RC)+ ' sec ');
+
+R = 1*10^3 ; // we assume
+C = RC/R ;
+disp('The capacitor value is = '+string(C)+ ' F');