Edward N. Lorenz, a meteorologist who tried to predict the weather with computers but instead gave rise to the modern field of chaos theory, died Wednesday at his home in Cambridge, Mass. He was 90.

The cause was cancer, said his daughter Cheryl Lorenz.

In discovering “deterministic chaos,” Dr. Lorenz established a principle that “profoundly influenced a wide range of basic sciences and brought about one of the most dramatic changes in mankind’s view of nature since Sir Isaac Newton,” said a committee that awarded him the 1991 Kyoto Prize for basic sciences.

Dr. Lorenz is best known for the notion of the “butterfly effect,” the idea that a small disturbance like the flapping of a butterfly’s wings can induce enormous consequences.

As recounted in the book “Chaos” by James Gleick, Dr. Lorenz’s accidental discovery of chaos came in the winter of 1961. Dr. Lorenz was running simulations of weather using a simple computer model. One day, he wanted to repeat one of the simulations for a longer time, but instead of repeating the whole simulation, he started the second run in the middle, typing in numbers from the first run for the initial conditions.