From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1850/CH5/EX5.15/exa_5_15.sce | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 1850/CH5/EX5.15/exa_5_15.sce (limited to '1850/CH5/EX5.15') 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)") + + -- cgit