NASA lost a $20 million rocket from 1 small coding error!

The video recounts the 1962 Mariner 1 mission, NASA’s first attempt to send a spacecraft to Venus. After a flawless launch, the rocket began to drift because its guidance system, which should have corrected its trajectory, instead amplified the deviation. Engineers later discovered the root cause was not hardware or weather but a software typo: a missing smoothing function (a single symbol) in a copied guidance equation. Without this filter, the system treated minor noise as large errors, leading to continual over‑corrections and loss of control, forcing range safety to destroy the vehicle. The failure cost millions and became a classic example of how a tiny coding mistake can cause catastrophic engineering failures, underscoring the importance of rigorous software verification.











