diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2825/CH12/EX12.2/Ex12_2.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2825/CH12/EX12.2/Ex12_2.sce')
-rwxr-xr-x | 2825/CH12/EX12.2/Ex12_2.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2825/CH12/EX12.2/Ex12_2.sce b/2825/CH12/EX12.2/Ex12_2.sce new file mode 100755 index 000000000..2b0962709 --- /dev/null +++ b/2825/CH12/EX12.2/Ex12_2.sce @@ -0,0 +1,16 @@ +//Ex12_2 Pg-588
+clc
+
+RL=3.3*10^(3) //load resistor in ohm
+R=5.6*10^(3) //resistor R in ohm
+C=0.001*10^(-6) //capacitance in farad
+
+disp("For oscillations to be maintained in a RC oscillator, ")
+hfe=(23+(29*R/RL)+(4*RL/R)) //transistor current gain
+printf(" = %.f \n",hfe)
+
+disp("Frequency of oscillations,")
+f=1/(2*%pi*C*sqrt((4*R*RL)+(6*R^2)))
+//frequency of oscillation (textbook answer is wrong
+// because of the used of wrong value of C)
+printf(" = %.1f Hz",f)
|