A chip does compute_speed operations a second and, at the same time, moves memory_speed bytes a second between its memory and its math units. One step of a model needs work operations and bytes_moved bytes. Write step_time(work, bytes_moved, compute_speed, memory_speed): how many seconds the step takes.