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 --- 2210/CH8/EX8.2/8_2.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 2210/CH8/EX8.2/8_2.sce (limited to '2210/CH8/EX8.2') diff --git a/2210/CH8/EX8.2/8_2.sce b/2210/CH8/EX8.2/8_2.sce new file mode 100755 index 000000000..78b219dff --- /dev/null +++ b/2210/CH8/EX8.2/8_2.sce @@ -0,0 +1,14 @@ +//Chapter 8, Problem 2 +clc +r1=100e3 //resistance in ohm +r2=10e3 //resistance in ohm +c1=10e-9 //capacitance in farad +c2=100e-9 //capacitance in farad + +//calculation +w=sqrt(1/(c1*c2*r1*r2)) +f=w/(2*%pi) +g=1+(r1/r2)+(c2/c1) + +printf("(a) Frequency of oscillation = %.2f Hz\n\n",f) +printf("(b) Minimum gain of the amplifier = %d ",g) -- cgit