summaryrefslogtreecommitdiff
path: root/1850/CH5/EX5.12/exa_5_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1850/CH5/EX5.12/exa_5_12.sce')
-rwxr-xr-x1850/CH5/EX5.12/exa_5_12.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/1850/CH5/EX5.12/exa_5_12.sce b/1850/CH5/EX5.12/exa_5_12.sce
new file mode 100755
index 000000000..a08f45a4a
--- /dev/null
+++ b/1850/CH5/EX5.12/exa_5_12.sce
@@ -0,0 +1,19 @@
+// Exa 5.12
+clear;
+clc;
+close;
+//Given Data :
+R=40*1000;//in ohm(assumed)
+C=0.2*10^-6;//IN FARAD
+Vout=3;//in Volt
+V1=Vout;//in Volt
+V2=Vout;//in Volt
+t1=0.0001:50;//in msec
+t1=t1*10^-3;//in sec
+vout=-1/R/C*integrate('2','t',0,t1)+Vout;
+t1=0.0001:50;//in msec
+plot(t1,vout);
+title("Output Voltage");
+xlabel("Time in MilliSecond");
+ylabel("Output Voltage in Volts");
+disp("Assuming Ideal op-amp, sketch for Vout is shown in figure.");