plot t and f(t)=t/d from t = 0 to t = 3 with d = 3