Where on earth do I weigh the most?

Santo Rugger, it sounds like you called earthgrav without an argument for the radius.

Just put my previous code in the file earthgrav.m and put the code below into runearthgrav.m. Then just type runearthgrav at the Matlab prompt. The vertical lines are the Earth’s surface and the core-mantle boundary.

You should add semicolons at the end of lines 10 and 12 of earthgrav.m, so it doesn’t write those values over and over.

You can try PMing me, but I’ve never used it, so there’s no guarantee I’ll figure out how read it, or how to PM you back.


r=1:7000;
g=zeros(size(r));
n = length(r);
for i = 1:n
  g(i) = earthgrav(r(i));
end
plot(r,g,'k',[1,1]*6378.2,[0,12],'k--',[1,1]*3467.6,[0,12],'k-.','LineWidth',1)
xlabel('Radius  (km)')
ylabel('Gravity  (m/s^2)')
title('Earth''s Gravity Vs. Radius')
grid on


Gorsnak writes:

> Bottom of the Marianas Trench, I should think.

I wonder if anyone has ever gone there to test it. If they did, how many times did they do it? What year did they do it? How long did they stay there?