summaryrefslogtreecommitdiff
path: root/1691/CH2/EX2.7/exmp2_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1691/CH2/EX2.7/exmp2_7.sce')
-rwxr-xr-x1691/CH2/EX2.7/exmp2_7.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/1691/CH2/EX2.7/exmp2_7.sce b/1691/CH2/EX2.7/exmp2_7.sce
new file mode 100755
index 000000000..344dc89bb
--- /dev/null
+++ b/1691/CH2/EX2.7/exmp2_7.sce
@@ -0,0 +1,13 @@
+//Example 2.7
+clc
+disp("The frequency of the oscillator is given by,")
+disp(" f = 1 / 2*pi*sqrt(R1*R2*C1*C2)")
+disp("For f = 10 kHz,")
+r2=(1/(4*(%pi^2)*(100*10^6)*(10*10^3)*(0.001*10^-12))) // in k-ohm
+format(6)
+disp(r2,"Therefore, R2(in k-ohm) =")
+disp("For f = 50 kHz,")
+r2=(1/(4*(%pi^2)*(2500*10^6)*(10*10^3)*(0.001*10^-12))) // in k-ohm
+format(6)
+disp(r2,"Therefore, R2(in k-ohm) =")
+disp("So minimum value of R2 is 1.013 k-ohm while the maximum value of R2 is 25.33 k-ohm")