### Matlab HW6

In prob 4 you say:

"If everything works well, you should see a straight line

with slope 1.0 for Forward Euler, and slope 4.0 for Runge-Kutta"

1. For Forward Euler - we use Runge-kUtta as the exact solution.. If so, What should we use for runge-kutta?

2. As far as I understand error should be norm(ycalc - yexact) (where ycalc and yexact are calculated and actual solution vectors). But in the hw you are asking us to compute the error only at a specific instant of time. Can you please clarify as why we are computing the error only at one point (at t = 1.5?)

(I understand that the length of the vectors (ycalc and yexact) are different - but I am not sure if this is the right method to calculate the degree of accuracy of a numerical method)

Thanks & Regards

Vaidy