# CS382:Chaos templated

Respect all of the structure and labels when you adopt this template.

## Contents

# Chaos

## Overview

This unit is about chaos. Chaos theory describes the behavior of certain dynamical systems, that is, systems whose states evolve with time, that may exhibit dynamics that are highly sensitive to initial conditions. As a result of this sensitivity, the behavior of chaotic systems appears to be random. This happens even though these systems are deterministic.

Chaotic behavior has been observed in the laboratory in a variety of systems including electrical circuits, lasers, oscillating chemical reactions, and fluid dynamics. Observations of chaotic behavior in nature include the dynamics of satellites in the solar system, the time evolution of the magnetic field of celestial bodies, population growth in ecology, the dynamics of the action potentials in neurons, and weather/climate.

An early pioneer of chaotic theory was Edward Lorenz. Lorenz was using a simple digital computer, a Royal McBee LGP-30, to run his weather simulation. To his surprise the weather that the machine began to predict was completely different from the weather calculated before even though he entered rounded 3 digit number like 0.506 which is close to original 6 digit number like 0.506127. Lorenz had discovered that small changes in initial conditions produced large changes in the long term outcome.

Excellent summary!

## Background Reading for Teachers and TAs

- James Gleick "Chaos: Making a New Science"
- This book focuses as much on the scientists studying chaos as on the chaos itself.
- Chapter 1 include the story about Edward Lorenz.
- There is a copy in science library.

## Reading Assignments for Students

- Chaos Theory: A Brief Introduction
- A brief introduction to chaos theory.
- This article starts from the story of Edward Lorenz.

- The Lorenz Attractor in 3D
- Some source codes for rendering Lorenz Attractor.
- This would be used for lab activity.

## Reference Material

## Lecture Notes

This is a very loose outline... give more detail! Agreed!

- Lecture 1:
- Story of Edward Lorenz
- How he found butterfly effect
- Introducing the weather model which Lorenz used

- Lecture 2:
- Climate model
- Introducing NetLogo-like climate model
- Basic of earth science (showing the relationship among temperature, pressure, wind, and humidity)

- Lecture 3:
- Numerical weather prediction
- Introducing how weather channel forecasts tomorrow's climate
- Different between numerical weather prediction and deterministic climate model

- Lecture 4:
- Global warming
- Can computer scientist predict climate 100 years later?
- Super computer for climate model (earth simulator, etc)

## Lab

- 3/29 - This was marked as done, but this isn't a step-by-step process of what to do. I think this may have been marked incorrectly.

So we've got 3 labs here and 2 weeks to use up; how will the split be made? What procedures are we looking at here?

This seems like a lot of stuff, particularly with the weather included. Which tool will be used for the weather simulation?

- Lab 1: Lorenz attractor lab
- What to do:
- To dive into Secondlife, and display Lorenz attractor in the metaverse.

- What to look for:
- To see how the shape of Lorenz attractor change depending on initial parameters.

- What to record:
- To sketch some patterns of Lorenz attractor and those parameters.

- What to do:

- Lab 2: Weather Data Mining lab
- What to do:
- Student receive the 5 years' weather data collected by HIP and predict statically the weather of near future.

- What to look for:
- To see how accurately weather forecast can be done by using past data.

- What to record:
- To record Students' expectation, NOAA's prediction, and the actual weather on that day. To compare how much gap those information have.

- What to do:

#### Software

- Lorenz attractor in 3D
- The c source code generates values in 3 dimensional coordinate.
- Students can generate infinite patterns of values by changing 3 parameters in 3 non-linear differential equations.
- The values can be plotted with GNUplot like this picture.
- There is the source code of Lorenz attractor for second life, but it includes numbers of bugs.

- Excel for statistical computation
- Yahoo! Answers: I'm looking for a good weather prediction software

#### Bill of Materials

N/A

## Evaluation

Make sure to answer your own questions

#### CRS Questions

- The butterfly effect is summed up in the title "does the flap of a butterfly's wings in Brazil set off a tornado in Texas?" What does it refer to?
- a. Pandemonium principle
- b. The film from New Line Cinema
- c. Chaos theory
- d. Tip of insect collecting
- Answer: c

- Who found butterfly effect?
- a. Edward Lorenz
- b. Hendrik Lorentz
- c. Edward Teller
- d. Edward VIII
- Answer: a

- What is the chance of rain tomorrow?
- a. 30%
- b. 40%
- c. 50%
- d. some percentage
- Answer: c (on March 25th)

#### Quiz Questions

- Explain why numerical weather forecasts miss their expectation.
- Describe how we can develop deterministic climate model.

# Chaos Metadata

- To learn that it's next to impossible to predict the future since it's too much complicated.
- To abstract chaos behavior and understand the mechanism.

## Scheduling

Late in semester.

## Concepts and Techniques

- Selecting from infinite numbers of parameters for climate model.
- Realizing simple-looks situation causes chaos behavior.
- Transforming data to knowledge by visualizing.

## General Education Alignment

- Analytical Reasoning Requirement
- Abstract Reasoning - From the [Catalog Description]
*Courses qualifying for credit in Abstract Reasoning typically share these characteristics:*- They focus substantially on properties of classes of abstract models and operations that apply to them.
- Yes.

- They provide experience in generalizing from specific instances to appropriate classes of abstract models.
- Yes.

- They provide experience in solving concrete problems by a process of abstraction and manipulation at the abstract level. Typically this experience is provided by word problems which require students to formalize real-world problems in abstract terms, to solve them with techniques that apply at that abstract level, and to convert the solutions back into concrete results.
- No.

- They focus substantially on properties of classes of abstract models and operations that apply to them.
- Quantitative Reasoning - From the [Catalog Description]
*General Education courses in Quantitative Reasoning foster students' abilities to generate, interpret and evaluate quantitative information. In particular, Quantitative Reasoning courses help students develop abilities in such areas as:*- Using and interpreting formulas, graphs and tables.
- Yes.

- Representing mathematical ideas symbolically, graphically, numerically and verbally.
- Yes.

- Using mathematical and statistical ideas to solve problems in a variety of contexts.
- Yes.

- Using simple models such as linear dependence, exponential growth or decay, or normal distribution.
- No.

- Understanding basic statistical ideas such as averages, variability and probability.
- Yes.

- Making estimates and checking the reasonableness of answers.
- Yes.

- Recognizing the limitations of mathematical and statistical methods.
- Yes.

- Using and interpreting formulas, graphs and tables.

- Abstract Reasoning - From the [Catalog Description]
- Scientific Inquiry Requirement - From the [Catalog Description]
*Scientific inquiry:*- Develops students' understanding of the natural world.
- Yes.

- Strengthens students' knowledge of the scientific way of knowing — the use of systematic observation and experimentation to develop theories and test hypotheses.
- No.

- Emphasizes and provides first-hand experience with both theoretical analysis and the collection of empirical data.
- No.

- Develops students' understanding of the natural world.

## Scaffolded Learning

The source code of Lorenz Attractor for second life has bugs. If students fix the bugs and modify by themselves, it would be a practice of coding and understanding chaos behavior.

## Inquiry Based Learning

Guessing climate in near future by considering our weather station database will relate to discovering a new point of view about nature.

# To Do

- Fitz is going to try to see if he can get the Lorenz equations to work in Second Life
- Mikio is going to try to finish the rest of it, assuming that Second Life simulation will work at this point