Lecture 26: Sex, Religion, and Politics University of Virginia cs1120 Fall 2009 David Evans.

Slides:



Advertisements
Similar presentations
Population and Resources
Advertisements

ECO Global Macroeconomics TAGGERT J. BROOKS.
Chapter 10: The Long Run Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall Macroeconomics, 5/e Olivier Blanchard 1 of 26 The Facts of.
Population Theories Demographic Transition Model
Llad Phillips1 Introduction to Economics Microecomomics The US Economy.
Land Use Part I: Agriculture. Food and Nutrition Foods humans eat are composed of several major types of biological molecules necessary to maintain health.
Population Pyramids and Population Density Maps. Population Two useful ways that geographers can graphically display population information include: Population.
Environmental Science
Classroom Catalyst.
David Evans CS150: Computer Science University of Virginia Computer Science Lecture 20: Sex, Religion, and Politics.
CS 206 Introduction to Computer Science II 09 / 10 / 2008 Instructor: Michael Eckmann.
Economic Growth Why do we care about economic growth? What is economic growth? How do you think we can explain it? Productivity- The quantity of output.
T. R. Malthus One of 7 children Educated at Jesus College Cambridge and in 1788 entered the Church as a country curate 1793 appointed to a fellowship.
CS503: First Lecture, Fall 2008 Michael Barnathan.
Production In this section we want to explore ideas about production of output from using inputs. We will do so in both a short run context and in a long.
Malthusian Pessimism In his 1798 theory, English economist and demographer Reverend Thomas Malthus predicted that, because population growth is exponential.
T. R. Malthus One of 7 children Educated at Jesus College Cambridge and in 1788 entered the Church as a country curate 1793 appointed to a fellowship.
AP Human geography Population and migration unit
Chapter 8 Costs McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved.
What must a good definition of economics explain? A good definition must explain what it is that makes economics a distinct subject, different from physics.
Differing Ideas about Population Growth. Divergent ideas about population growth There are both optimistic and pessimistic views on population growth:
Current Human Population Growth and Implications
AP HUMAN GEOGRAPHY CHAPTER 5 CLASS NOTES
“People are everywhere. Some People say that there are too Many of us, but no one Wants to leave.”
Sources of Long-run Growth
Lesson 2: Human Population Growth Big Question Why Is Human Population Growth the Underlying Environmental Problem?
David Evans Class 17: Sex, Religion, and Politics CS150: Computer Science University of Virginia Computer Science.
Counseling for IIT/NIT Aspirants Presented by YES Centre and The Hindu Group 16 June 2013, Hyderabad.
David Evans Class 15: Golden Ages and Astrophysics CS200: Computer Science University of Virginia Computer Science.
“People are everywhere. Some People say that there are too Many of us, but no one Wants to leave.”
The Future of East Asia A Population Survey. East Asia — a ticking time bomb? East Asia — a ticking time bomb? East Asia consists of the following countries.
A presentation by Nipun Sharma Time dilation is difficult to explain simply, and has different explanations according to the setting. Best put, it is.
CS216: Program and Data Representation University of Virginia Computer Science Spring 2006 David Evans Lecture 2: Orders of Growth
1 Macroeconomics BGSE/UPF LECTURE SLIDES SET 6 Professor Antonio Ciccone.
In simplest terms, agriculture Is an effort by man to move Beyond the limits set by nature.
Lecture 14 Malthusian Model.
The Green Revolution Began in the 1940s, 1950s –Was a phase of the 3 rd Revolution –Really implemented in 1970s, 1980s New strains of hybrid seeds and.
HumanHuman Chapter 6 PopulatIOnPopulatIOn. How has human population grown? Slowly over time Scarce food and incurable disease Death rate high Families.
The Population Explosion Genesis 1:28 “God Blessed them and said to them, be fruitful and increase in number; fill the earth and subdue it…” To understand.
THE DEMOGRAPHIC TRANSITION AND THE GREAT POPULATION THEORISTS.
Malthusian Theory on Overpopulation FRQ
Population Geography or Geodemography National Geographic.
Malthus, Boserup and the Club of Rome
Chapter 14 – Increasing Yields. Crop Yields  Worldwide cereal yields have more than doubled since the early 1960s.  What makes yields increase?  Productive.
David Evans Class 19: Golden Ages and Astrophysics CS200: Computer Science University of Virginia Computer Science.
David Evans Class 21: The Story So Far (Quicksort, Continuing Golden Ages) CS200: Computer Science University of Virginia.
David Evans Lecture 13: Astrophysics and Cryptology CS200: Computer Science University of Virginia Computer Science.
1 Macroeconomics LECTURE SLIDES SET 6 Professor Antonio Ciccone Macroeconomics Set 6.
1 ITFD Growth and Development LECTURE SLIDES SET 6 Professor Antonio Ciccone.
CS 206 Introduction to Computer Science II 09 / 18 / 2009 Instructor: Michael Eckmann.
© 2011 Pearson Education, Inc. AP Environmental Science Mr. Grant Lesson 6 Our World At Seven Billion.
Chapter Five Processes and Cycles of Population Change.
APHG Unit Two Review Population. Intro to Population The world’s population is currently greater than 6.5 billion people Population has been increasing.
Boserup, Malthus, and the Green Revolution
What are the limits of human development and overpopulation? Is this a special time? What is unprecedented about the current period? McKibben: A Special.
Production 6 C H A P T E R. Chapter 6: Production 2 of 24 CHAPTER 6 OUTLINE 6.1The Technology of Production 6.2Production with One Variable Input (Labor)
The Green Revolution How we have changed our food.
Food and AgricultureSection 1 Feeding the World Famine is the widespread malnutrition and starvation in an area due to a shortage of food, usually caused.
Lesson Overview Lesson Overview Human Population Growth Lesson Overview 5.3 Human Population Growth.
David Evans CS200: Computer Science University of Virginia Computer Science Lecture 14: P = NP?
“TOO MUCH IS NEVER ENOUGH” BIG IDEAS. Malthus Malthus could not possibly have known about the changes in agriculture, medicine, sanitation and housing.
Copyright © 2011 Pearson Education, Inc. Exponential Astonishment Discussion Paragraph 8B 1 web 59. National Growth Rates 60. World Population Growth.
Thomas Robert Malthus Sources: ashlab/.../ apgeographymaura.wikispaces.co m/file/view.
Unit: Populations Chapter 7 Human Populations
Human Population Growth
Vocabulary Big Data - “Big data is a broad term for datasets so large or complex that traditional data processing applications are inadequate.”
Lecture 20: Sex, Religion, and Politics CS150: Computer Science
Malthusian Theory on Overpopulation FRQ
ITFD Growth and Development
Presentation transcript:

Lecture 26: Sex, Religion, and Politics University of Virginia cs1120 Fall 2009 David Evans

Science’s Endless Golden Age

“If you’re going to use your computer to simulate some phenomenon in the universe, then it only becomes interesting if you change the scale of that phenomenon by at least a factor of 10. … For a 3D simulation, an increase by a factor of 10 in each of the three dimensions increases your volume by a factor of 1000.” What is the asymptotic running time for simulating the universe?

Simulating the Universe (n3)(n3) When we double the scale of the simulation, the work octuples! (Just like oceanography octopi simulations) Work scales linearly with volume of simulation: scales cubically with scale

Orders of Growth insert-sort simulating universe find-best

Orders of Growth insert-sort simulating universe find-best

Astrophysics and Moore’s Law Simulating universe is  ( n 3 ) Moore’s “law”: computing power doubles every 18 months Dr. Tyson: to understand something new about the universe, need to scale by 10x How long does it take to know twice as much about the universe?

Knowledge of the Universe import math # 18 months * 2 = 12 months * 3 yearlyrate = math.pow(4, 1.0/3.0) # cube root def computing_power(nyears): if nyears == 0: return 1 else: return yearlyrate * computing_power(nyears - 1) def simulation_work(scale): return scale ** 3 def knowledge_of_universe(scale): return math.log(scale, 10) # log base 10 def computing_power(nyears): return yearlyrate ** nyears

def computing_power(nyears): return yearlyrate ** nyears def simulation_work(scale): return scale ** 3 def knowledge_of_universe(scale): return math.log(scale, 10) # log base 10 def relative_knowledge_of_universe(nyears): scale = 1 while simulation_work(scale + 1) <= 1000 * computing_power(nyears): scale = scale + 1 return knowledge_of_universe(scale) Knowledge of the Universe

While Loop Statement ::= while Expression: Block (define (while pred body) (if (pred) (begin (body) (while pred body)))) (define x 1) (define sum 0) (while (lambda () (< x 100)) (lambda () (set! sum (+ sum x)) (set! x (+ x 1)))) (define (while pred body) (if (pred) (begin (body) (while pred body)))) (define x 1) (define sum 0) (while (lambda () (< x 100)) (lambda () (set! sum (+ sum x)) (set! x (+ x 1)))) x = 1 res = 0 while x < 100: res = res + x x = x + 1 print res x = 1 res = 0 while x < 100: res = res + x x = x + 1 print res x = 1 res = 0 while x < 100: res = res + x print res x = 1 res = 0 while x < 100: res = res + x print res

def computing_power(nyears): return yearlyrate ** nyears def simulation_work(scale): return scale ** 3 def knowledge_of_universe(scale): return math.log(scale, 10) # log base 10 def relative_knowledge_of_universe(nyears): scale = 1 while simulation_work(scale + 1) <= 1000 * computing_power(nyears): scale = scale + 1 return knowledge_of_universe(scale) Knowledge of the Universe (Note: with a little bit of math, could compute this directly using a log instead.)

> >>> relative_knowledge_of_universe(0) 1.0 >>> relative_knowledge_of_universe(1) >>> relative_knowledge_of_universe(2) >>> relative_knowledge_of_universe(10) >>> relative_knowledge_of_universe(15) 2.0 >>> relative_knowledge_of_universe(30) >>> relative_knowledge_of_universe(60) >>> relative_knowledge_of_universe(80) Will there be any mystery left in the Universe when you die?

Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. Albert Einstein

The Endless Golden Age Golden Age – period in which knowledge/quality of something doubles quickly At any point in history, half of what is known about astrophysics was discovered in the previous 15 years! – Moore’s law today, but other advances previously: telescopes, photocopiers, clocks, agriculture, etc. Accumulating 4% per year => doubling every 15 years!

Endless/Short Golden Ages Endless golden age: at any point in history, the amount known is twice what was known 15 years ago Continuous exponential growth:  (k n ) k is some constant (e.g., 1.04), n is number of years Short golden age: knowledge doubles during a short, “golden” period, but only improves linearly most of the time Mostly linear growth:  (n) n is number of years

Average Goals per Game, FIFA World Cups Changed goalkeeper passback rule Goal-den age

Computing Power (in Apollo Control Computer Units) Moore’s “Law”: number of transistors per dollar roughly doubles every 18 months!

Computing Power (in Apollo Control Computer Units)

Computing Power ? 2008 = 1 computing unit Human brain: ~100 Billion neurons 100 Trillion connections Human brain: ~100 Billion neurons 100 Trillion connections Brain simulator today (IBM Blue Brain): 10,000 neurons 30 Million connections Brain simulator today (IBM Blue Brain): 10,000 neurons 30 Million connections 33 years from now! “There’s an unwritten rule in astrophysics: your computer simulation must end before you die.” Neil deGrasse Tyson “There’s an unwritten rule in astrophysics: your computer simulation must end before you die.” Neil deGrasse Tyson

More Moore’s Law? An analysis of the history of technology shows that technological change is exponential, contrary to the common-sense 'intuitive linear' view. So we won't experience 100 years of progress in the 21st century-it will be more like 20,000 years of progress (at today’s rate). The 'returns,' such as chip speed and cost- effectiveness, also increase exponentially. There’s even exponential growth in the rate of exponential growth. Within a few decades, machine intelligence will surpass human intelligence, leading to the Singularity — technological change so rapid and profound it represents a rupture in the fabric of human history. The implications include the merger of biological and non-biological intelligence, immortal software-based humans, and ultra-high levels of intelligence that expand outward in the universe at the speed of light. Ray Kurzweil An analysis of the history of technology shows that technological change is exponential, contrary to the common-sense 'intuitive linear' view. So we won't experience 100 years of progress in the 21st century-it will be more like 20,000 years of progress (at today’s rate). The 'returns,' such as chip speed and cost- effectiveness, also increase exponentially. There’s even exponential growth in the rate of exponential growth. Within a few decades, machine intelligence will surpass human intelligence, leading to the Singularity — technological change so rapid and profound it represents a rupture in the fabric of human history. The implications include the merger of biological and non-biological intelligence, immortal software-based humans, and ultra-high levels of intelligence that expand outward in the universe at the speed of light. Ray Kurzweil “Any physical quantity that’s growing exponentially predicts a disaster, you simply can’t go beyond certain major limits.” Gordon Moore (2007) “Any physical quantity that’s growing exponentially predicts a disaster, you simply can’t go beyond certain major limits.” Gordon Moore (2007) Current technologies are already slowing down... but advances won’t come from more transistors with current technologies...new technologies, algorithms, parallelization, architectures, etc.

The Real Golden Rule? Why do fields like astrophysics, medicine, biology and computer science have “endless golden ages”, but fields like – music ( ) – rock n’ roll ( )* – philosophy (400BC-350BC?) – art ( ?) – soccer ( ) – baseball ( ?) – movies ( ?) have short golden ages? * or whatever was popular when you were 16.

Golden Ages or Golden Catastrophes?

PS4, Question 1e Question 1: For each f and g pair below, argue convincingly whether or not g is (1) O(f), (2) Ω(f), and (3) Θ(g) … (e) g : the federal debt n years from today, f : the US population n years from today

Malthusian Catastrophe Reverend Thomas Robert Malthus, Essay on the Principle of Population, 1798 “The great and unlooked for discoveries that have taken place of late years in natural philosophy, the increasing diffusion of general knowledge from the extension of the art of printing, the ardent and unshackled spirit of inquiry that prevails throughout the lettered and even unlettered world, … have all concurred to lead many able men into the opinion that we were touching on a period big with the most important changes, changes that would in some measure be decisive of the future fate of mankind.”

Malthus’ Postulates “ I think I may fairly make two postulata. – First, that food is necessary to the existence of man. – Secondly, that the passion between the sexes is necessary and will remain nearly in its present state. These two laws, ever since we have had any knowledge of mankind, appear to have been fixed laws of our nature, and, as we have not hitherto seen any alteration in them, we have no right to conclude that they will ever cease to be what they now are… ”

Malthus’ Conclusion “Assuming then my postulata as granted, I say, that the power of population is indefinitely greater than the power in the earth to produce subsistence for man. Population, when unchecked, increases in a geometrical ratio. Subsistence increases only in an arithmetical ratio. A slight acquaintance with numbers will show the immensity of the first power in comparison of the second.”

Malthusian Catastrophe Population growth is geometric:  (k n ) ( k > 1 ) Food supply growth is linear:  (n) What does this mean as n  ? Food per person = food supply / population =  (n) /  (k n ) As n approaches infinity, food per person approaches zero!

Malthus’ Fallacy

He forgot how he started: “The great and unlooked for discoveries that have taken place of late years in natural philosophy, the increasing diffusion of general knowledge from the extension of the art of printing, the ardent and unshackled spirit of inquiry that prevails throughout the lettered and even unlettered world…”

Golden Age of Food Production Agriculture is an “endless golden age” field: p roduction from the same land increases as ~  (1.02 n ) Increasing knowledge of farming, weather forecasting, plant domestication, genetic engineering, pest repellants, distribution channels, preservatives, etc.

Growing Corn 2006: 10,000 pounds per acre Michael Pollan’s The Omnivore’s Dilemma 1906: < 1,000 pounds per acre

Corn Yield Note: Log axis!

Green Revolution Norman Borlaug ( )

“At a time when doom-sayers were hopping around saying everyone was going to starve, Norman was working. He moved to Mexico and lived among the people there until he figured out how to improve the output of the farmers. So that saved a million lives. Then he packed up his family and moved to India, where in spite of a war with Pakistan, he managed to introduce new wheat strains that quadrupled their food output. So that saved another million. You get it? But he wasn't done. He did the same thing with a new rice in China. He's doing the same thing in Africa -- as much of Africa as he's allowed to visit. When he won the Nobel Prize in 1970, they said he had saved a billion people. That's BILLION! BUH! That's Carl Sagan BILLION with a "B"! And most of them were a different race from him. Norman is the greatest human being, and you probably never heard of him.” Penn Jillette (Penn & Teller)

Malthus was wrong about #2 Also Advances in science (birth control), medicine (higher life expectancy), education, and societal and political changes (e.g., regulation in China) have reduced k (it is < 1 in many countries now!)

Upcoming Malthusian Catastrophes? Human consumption of fossil fuels grows as  (k n ) (fairly large k like 1.08?) Available fuel is constant (?)

PS4, Question 1e g : the federal debt n years from today, f : the US population n years from today Debt increases: Spending – Revenues this varies, but usually positive + Interest on the previous debt (exponential) =  (k n ) Population increase is not exponential: rate continues to decrease => as n increases, debt per person approaches infinity! This will eventually be a problem, but growth analysis doesn’t say when.

“Cornucopian View” Few resources are really finite All scientific things have endless golden ages Knowledge accumulates Knowledge makes it easier to acquire more (We hope) Human ingenuity and economics and politics will continue solve problems before they become catastrophes No one will sell the last gallon of gas for $2.45

“Kay”-sian View The best way to predict the future is to invent it. — Alan Kay

Charge When picking majors, pick a short golden age field that is about to enter its short golden age – This requires vision and luck! Play it safe by picking an endless golden age field (CS is a good choice for this!) Wednesday: History of Object-Oriented Programming; Interpreters