close all
clear all

d = 0:1200;
v = [0.5 1.0]';

t = (1./v)*d;

for i = 1:length(v)
   leg_str{i} = ['Speed = ' num2str(v(i)) ' m/s'];
end

figure
plot(d,t/60);
grid on
xlabel('depth (m)');
ylabel('Travel Time (min)');
legend(leg_str,'Location','NorthWest');
print('-dpng','CastTime.png');
