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 /199/CH5/EX5.2/Example_5_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 '199/CH5/EX5.2/Example_5_2.sce')
-rwxr-xr-x | 199/CH5/EX5.2/Example_5_2.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/199/CH5/EX5.2/Example_5_2.sce b/199/CH5/EX5.2/Example_5_2.sce new file mode 100755 index 000000000..0a7053ed0 --- /dev/null +++ b/199/CH5/EX5.2/Example_5_2.sce @@ -0,0 +1,14 @@ +//Chapter5
+//Page.No-172, Figure.No-5.5
+//Example_5_2
+//Gain equation and break frequencies
+//Given:
+clear;clc;
+phase=-157.5; // Phase shift at about 3 MHz
+f=3*10^6;
+disp("Gain equation is Aol(f)=A/((1+(f/fo1)*j)*(1+(f/fo2)*j)),where fo1-first break frequency and fo2-second break frequency") // From the figure
+fo1=6;
+printf("\n First break frequency fo1 is = %.f Hz \n",fo1) // From the graph
+k=-atand(f/fo1)-phase;
+fo2=f/tand(k);
+printf("\n Second break frequency fo2 is = %.1f Hz \n",fo2) // Result
\ No newline at end of file |