summaryrefslogtreecommitdiff
path: root/605/CH6/EX6.5
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /605/CH6/EX6.5
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '605/CH6/EX6.5')
-rwxr-xr-x605/CH6/EX6.5/6_5.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/605/CH6/EX6.5/6_5.sce b/605/CH6/EX6.5/6_5.sce
new file mode 100755
index 000000000..516a0bf80
--- /dev/null
+++ b/605/CH6/EX6.5/6_5.sce
@@ -0,0 +1,8 @@
+
+RL=50
+Rs=75
+
+R1=sqrt(Rs*(Rs-RL))
+R2=sqrt(RL^2*Rs/(Rs-RL))
+attenuation=20*log10(R2*RL/(R1*(R2+RL)+R2*RL))
+printf("\nR1=%.1f ohm\nR2=%.1f ohm\nattenuation(dB)=%.2f dB",R1,R2,attenuation) \ No newline at end of file