Hi everyone,
Why is this loop not executed for t_max = 5.0000e-04 anymore? if I output t, the maximum (last) value is 5.0000e-04 instead of 5.0100e-04
delta_t = 10e-7;t_max = 5.0000e-04; %[s]
t = 0;while t <= t_max t = t+delta_t;end
Best Answer