From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2863/CH2/EX2.7/ex2_7.sce | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 2863/CH2/EX2.7/ex2_7.sce (limited to '2863/CH2/EX2.7') diff --git a/2863/CH2/EX2.7/ex2_7.sce b/2863/CH2/EX2.7/ex2_7.sce new file mode 100755 index 000000000..458ca91f1 --- /dev/null +++ b/2863/CH2/EX2.7/ex2_7.sce @@ -0,0 +1,10 @@ +//chapter 2 +//GT=GR=Antilog[GT or Gr(in db)/10]=31.622*10^3 +//1 mile=1609.35 m +printf("\n"); +freq=3*10^9; +d=48280.5;//30miles*1609.35 +lamda=(3*10^8)/(3*10^9); +printf("the wavelength is %gm",lamda); +Pt=(10^-3)*((4*(%pi)*48280.5)/0.1)^2*(1/(31.622*10^3)^2);//Pr=Pt(GR*GT*(lamda/4*pi*d)^2),Pr=1mW +printf("\nthe transmitter power is %gW",Pt); -- cgit