summaryrefslogtreecommitdiff
path: root/1850/CH5/EX5.15
diff options
context:
space:
mode:
Diffstat (limited to '1850/CH5/EX5.15')
-rwxr-xr-x1850/CH5/EX5.15/exa_5_15.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/1850/CH5/EX5.15/exa_5_15.sce b/1850/CH5/EX5.15/exa_5_15.sce
new file mode 100755
index 000000000..c61fb05eb
--- /dev/null
+++ b/1850/CH5/EX5.15/exa_5_15.sce
@@ -0,0 +1,31 @@
+// Exa 5.15
+clc;
+clear;
+close;
+// Given data
+fa= 1;// in kHz
+fa=fa*10^3;// in Hz
+Vp=1.5;// in volt
+C=0.1;// in micro F
+C=C*10^-6;// in F
+// Part (a)
+R= 1/(2*%pi*fa*C);// in ohm
+R=R*10^-3;// in k ohm
+R=floor(R*10)/10;// in k ohm
+fb= 20*fa;// in Hz
+R_desh= 1/(2*%pi*fb*C);// in ohm
+// Let
+R_desh= 82;// in ohm
+R_OM= R;// in k ohm
+disp(R_OM,"Value of R_OM in k ohm")
+
+// Part(b)
+// given data
+Vp=1.5;// in volt
+f= 200;// in Hz
+// v_in= Vp*sin(omega*t) = sin(2*%pi*f*t) = sin(2000*omega*t)
+// v_out= -CR*diff(v_in) = -0.942 Cos(2000*%pi*t)// in micro volt
+disp("Output Voltage")
+disp("-0.942 Cos(2000*%pi*t)")
+
+