summaryrefslogtreecommitdiff
path: root/374/CH8/EX8.4.a/84a.sci
blob: 83c59edbbc5314f23e1696ec5f2b15dc29c23bdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//chapter 8 example 4a//
clc
clear
//bit error=BER,temperature=T,load resistance=R,noise bandwidth=B,ratio=R,minimum power required=Pmin//
R1=19.6;//in db//
R2=10^(R1/20);
R=50;
K=1.38*(10^-23);
T=400;//in kelvin//
B=(10^7);//in Hz//
is=R2*(sqrt((4*K*T*B)/R))*(10^9);
R3=0.4;
Pmin=(is/R3)*(10^-3);
printf("\n minimum power required to maintain bit error=%f micro watts\n",Pmin)