An aerospace engineer writes an algorithm to simulate the atmospheric entry of a descent capsule. The simulation runs smoothly to completion with no syntax or runtime errors, but the simulated capsule is shown landing in the ocean instead of the desert due to an incorrect sign in the drag force equation.
Explain what is meant by a logic error in this context.