diff options
Diffstat (limited to '3554/CH5/EX5.1/Ex5_1.sce')
-rw-r--r-- | 3554/CH5/EX5.1/Ex5_1.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3554/CH5/EX5.1/Ex5_1.sce b/3554/CH5/EX5.1/Ex5_1.sce new file mode 100644 index 000000000..560e11c56 --- /dev/null +++ b/3554/CH5/EX5.1/Ex5_1.sce @@ -0,0 +1,18 @@ +// Exa 5.1
+
+clc;
+clear all;
+
+// Given data
+
+R=100; // in k Ohms
+C=1; //in micro farads
+ei=1;// Applied voltage to integrator(V)
+t1=1; // time in Sec
+
+// Solution
+
+// Using equation 5.1 from page no. 118
+eo=ei*t1/(R*10^3*C*10^-6); // Output voltage from integrator
+printf(' The voltage at output of integrator after 1 sec is = %d Volts \n',eo);
+
|