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 /1109/CH16/EX16.11 | |
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 '1109/CH16/EX16.11')
-rwxr-xr-x | 1109/CH16/EX16.11/16_11.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1109/CH16/EX16.11/16_11.sce b/1109/CH16/EX16.11/16_11.sce new file mode 100755 index 000000000..83e51d12e --- /dev/null +++ b/1109/CH16/EX16.11/16_11.sce @@ -0,0 +1,15 @@ +clear;
+clc;
+D=20;Ri1=200;Ri2=500;
+Ai=D*0.115;
+Gi1=1/Ri1;Gi2=1/Ri2;
+G3=(sqrt(Gi1*Gi2))/sinh(Ai);
+G2=(Gi2/tanh(Ai))-G3;
+G1=(Gi1/tanh(Ai))-G3;
+R3=1/G3;R2=1/G2;R1=1/G1;
+printf("The desired pi attenuator will be:\n");
+printf(" R1 = %f ohms\n",round(R1*10)/10);
+printf(" R2 = %f ohms\n",round(R2*10)/10);
+printf(" R3 = %f ohms\n",round(R3));
+//the difference in result of R3 is due to erroneous value in textbook.
+disp("The difference in result of R3 is due to erroneous value in textbook")
|