You are on page 1of 2

8/3/22, 3:29 PM MCS Lab2 - Colaboratory

Shweta Rajput; 201902026 ; Roll No: 50


NAME: XAVIER SIBY MOORKATTIL, XIE ID: 2019022001, ROLL NO:68

Q]Problem 1:

If a signal to interference ratio of 15dB is required for satisfactory forward channel performance
of a cellular system, Calculate frequency reuse factor and cluster size that should be used for
maximum capacity if path loss exponent is ɳ=3 and ɳ =4. Assume six first tier co-channel cells &
mobile unit is at the center of cell.

import math
given_SI = 15
N = int(input("N ="))
Q = math.sqrt(3*N)
print("Q =", Q)
i0 = int(input("Enter i0 ="))
n = int(input("Enter n ="))
a = (Q)**n
SI = a/i0
print("S/I in dB=", SI)
b= math.log(SI,10)
c = 10*b
print("SI in dB=", c)
print("This value of N can be used") if c > given_SI else print("The value of N cannot be

N =7
Q = 4.58257569495584
Enter i0 =6
Enter n =3
S/I in dB= 16.039014932345438
SI in dB= 12.05177691717235
The value of N cannot be used

import matplotlib.pyplot as plt


SI = [3,4,7,12,13]
N = [3,4,7,12,13]
plt.ylabel ("SI")
plt.xlabel ("N")
plt.stem(SI,N)
plt.grid()

https://colab.research.google.com/drive/17gHBnLSiApOvvnJol_YjbsL1AWXduCcO#scrollTo=GxgAVngYAd58&printMode=true 1/2
8/3/22, 3:29 PM MCS Lab2 - Colaboratory

/usr/local/lib/python3.7/dist-packages/ipykernel_launcher.py:6: UserWarning: In Matpl

check 0s completed at 3:28 PM

https://colab.research.google.com/drive/17gHBnLSiApOvvnJol_YjbsL1AWXduCcO#scrollTo=GxgAVngYAd58&printMode=true 2/2

You might also like