% SURAJ BASTOLA %
%%%%% Earth Bulge Calculation %
clear all;
clc;
D = 8010; % Total distance between two base stations
d1 = 1:8010;
d2 = D-d1;
%============ When k = 1================
k1 = 1;
b1 = (d1.*d2)/ (12.76.*k1);
subplot(2,2,1)
plot(b1)
title('Effective Earth Bulge When k = 1')
%=============== When k = 1/3 ==================
k2 = 1/3;
b2 = (d1.*d2)/ (12.76.*k2);
subplot(2,2,2)
plot(b2)
title('Effective Earth Bulge When k = 1/3')
%=============== When k = 2/3 ==================
k3 = 2/3;
b3 = (d1.*d2)/ (12.76.*k3);
subplot(2,2,3)
plot(b3)
title('Effective Earth Bulge When k = 2/3')
%================ When k = 4/3 =================
k4 = 4/3;
b4 = (d1.*d2)/ (12.76.*k4);
subplot(2,2,4)
plot(b4)
title('Effective Earth Bulge When k = 4/3')
xlabel('DISTANCE');
ylabel('EARTH BULGE');
sgtitle('MIT183249: EFFECTIVE EARTH BULGE WHEN D = 8010 km');
The output can be depicted below as: