%nplot.m

%Enter data
x=[0;1;2;3];
y=[0;1.2;3.9;8.5];

%Plot the data
plot(x,y,'ko')
hold on

%Create data for theoretical curve
x1=[0:0.2:3]';
y1=x1.^2;

%Plot the theoretical curve
plot(x1,y1,'r-')
%Provide labels and legend for the graph
xlabel('time, t (secs)')
ylabel('distance, d (ft)')
title('Experimental Results')
legend('experimental data','theoretical curve','location','southeast')