This preview shows page 1. Sign up to view the full content.
Unformatted text preview: rb = c * delta_t/2; a = abs(ra-rb); b = abs((ra-rb)/rb); %answers ti t2 ra rb a b for j = 1:N(1,8) t1 = t1 + Delta_t; t2 = t1 + delta_t; ra = c * (t2 - t1) / 2; rb = c * delta_t/2; t = abs((ra-rb)/rb); if t <0.01 error = t; time = j; end end...
View Full Document
This document was uploaded on 10/24/2010.
- Spring '09