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 /1964/CH5/EX5.39 | |
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 '1964/CH5/EX5.39')
-rwxr-xr-x | 1964/CH5/EX5.39/ex5_39.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1964/CH5/EX5.39/ex5_39.sce b/1964/CH5/EX5.39/ex5_39.sce new file mode 100755 index 000000000..b74aa55ef --- /dev/null +++ b/1964/CH5/EX5.39/ex5_39.sce @@ -0,0 +1,17 @@ +//Chapter-5, Example 5.39, Page 199
+//=============================================================================
+clc
+clear
+//INPUT DATA
+R=4;//resistance in ohm
+L=100*10^-6;//inductance in henry
+C=250*10^-12;//capacitance in Farads
+//CALCULATIONS
+fr=inv(2*%pi*sqrt(L*C));//resonant frequency in Hz
+Q=(inv(R))*(sqrt(L/C));//Q-factor
+Bw=fr/Q;//bandwidth in Hz
+hf1=fr+Bw;//halfpower freq1 in Hz
+hf2=fr-Bw;//halfpower freq2 in Hz
+mprintf("Thus resonant freq,Q-factor and new halfpower frequencies are %dhz ,%d,%g hz,%g hz respectively",fr,Q,hf1,hf2);
+//note:given answers are wrong in textbook.Please check the answers
+//=================================END OF PROGRAM======================================================================================================
|