COS 126 – Atomic Theory of Matter

Slides:



Advertisements
Similar presentations
The Mole: A Measurement of Matter OBJECTIVES: Describe how Avogadro’s number is related to a mole of any substance.
Advertisements

Observe Brownian motion of particles.
CSCI 103 – Atomic Theory of Matter. Goal of the Assignment Calculate Avogadro’s number Using Einstein’s equations Using fluorescent imaging Input data.
COS 126 – Atomic Theory of Matter. Goal of the Assignment Calculate Avogadro’s number Using Einstein’s equations Using fluorescent imaging Input data.
COS 126 – Atomic Theory of Matter. Atomic Theory Overview Brownian Motion Random collision of molecules Displacement over time fits a Gaussian distribution.
COS 126 – Atomic Theory of Matter. Announcements Project – due Friday (1/12) midnight TA Office Hours this week (check website) Lab Help (Mon-Fri 7pm-9pm)
 What is the percent composition of N and O in NO 2 ?
I can calculate the molar mass of a compound Sometimes the molar mass is called the formula mass!
Mole  measurement of the number of particles in a sample  1 mol He (g) = 6.02 x atoms  1 mol CO 2(g) = 6.02 x molecules.
Chapter 2 Atoms, Molecules and Ions. Formula Weight & Molecular Weight The FORMULA WEIGHT of a compound equals the SUM of the atomic masses of the atoms.
Chapter 8: Chemical composition
Introduction to the Mole Background When you buy eggs you usually ask for a _______ eggs. You know that one dozen of any item is ______.
Performing Stoichiometry Calculations Notes and Practice for ALMOST every possible calculation.
Chemistry10.1.
Chapter 7: Chemical Formulas and Chemical Compounds
Chemical Quantities The Mole: A Measurement of Matter
The Mole: A Measurement of Matter
The Mole and Avogadro’s Number
THE MOLE CONTENTS What is a mole and why do we use it? Calculating the number of moles of a single substance Reacting mass calculations.
Unit 3 SCH 3U. What is a Mole?  A small rodent-like animal that burrows underground  A double-agent  A dark growth on a person’s body  It is all of.
Introducing… Hellooo Students!!! Mr. MOLE. Chemistry Joke Q: What did the proton say to the electron to make him happy? A: Something positive!
COS 126 – Atomic Theory of Matter. Goal of the Assignment Calculate Avogadro’s number Using Einstein’s equations Using fluorescent imaging Input data.
Chapter 11 The Mole
Quantities in Chemistry The Mole and Molar Mass. Mole Review A Mole is a unit of measurement in chemistry. It represents 6.02 x of an entity. One.
Atomic Theory The Mole. Things that you already know Science measures a lot of things. Examples of what we measure include time, mass, temperature, volume,
Ways We Measure You can measure mass, or volume, or you can count pieces. We measure mass in grams. We measure volume in liters. We count pieces in MOLES.
COS 126 – Atomic Theory of Matter. Goal of the Assignment Calculate Avogadro’s number Using Einstein’s equations Using fluorescent imaging Input data.
Take your periodic table out. What is atomic mass of Carbon Point where you can find it in the periodic table! 6 is atomic number not atomic mass Atomic.
10.1 Measuring Matter Measuring Matter
10.1 THE MOLE Q4TP – CHEM MATT T.. THE MOLE: A MEASUREMENT OF MATTER What are three methods for measuring the amount of something? How is Avogadro’s number.
Chemical Quantities. Chapter Overview Measuring Matter Mass ________ Counting ________ Volume _____________ Length ________.
How can atoms be counted? When we want to know how many atoms of a substance are in a sample of the substance that we can see, counting the atoms individually.
CHAPTER Chemical Reactions. Writing Chemical Equations A chemical reaction occurs when matter changes from one composition to another.
Vocabulary of Mole Theory. ___ is the amount produced from a reaction in reality. actual yield.
Moles COUNTING BY WEIGHING. Moles (is abbreviated: mol)  It is an amount, defined as the number of carbon atoms in exactly 12 grams of carbon-12.  1.
Section 6.1 Atoms and Moles 1.Students will be able to describe the concept of average mass. 2.Students will be able to demonstrate how counting can be.
1 Unit 9. 2 How do we measure how much of something we have? How do we measure how much of something we have? n Mass (g) - how much stuff n Volume (L)
Chapter 11 The Mole. I. Measuring Matter A. Counting Particles Chemists needed a convenient method for counting the number of atoms in a sample of a substance.
Miss Fogg Spring 2016  A particle can refer to an individual atom OR a type of molecule ◦ Jellybean ◦ Baseball ◦ Carbon atoms ◦ Hydrogen atoms ◦ Water.
WHAT IS A MOLE? SI unit for Amount of Substance A mole is a unit like “dozen” or “pair” or “gross”. It doesn’t represent a measured number, but a counted.
Chemical Reactions Balancing Equations. n In order to show that mass is conserved during a reaction, a chemical equation must be balanced n You do this.
The Mole The counting unit of chemistry. Why the mole?  Atoms and molecules are too small to keep track of individually! It is easier to count them in.
Take your periodic table out. What is atomic mass of Carbon Point where you can find it in the periodic table! 6 is atomic number not atomic mass Atomic.
Slide 1 of 43 Chemistry10.1. © Copyright Pearson Prentice Hall Slide 2 of 43 The Mole: A Measurement of Matter You could measure the amount of sand in.
Mathematical Derivation of Probability
The counting unit of chemistry
The Mole and Avogadro’s Number
Particles and Moles Substances can be measured in several ways. They can be: Number of grams Number of particles Number of moles One mole of atoms is.
Chemistry10.1.
5. Function (2) and Exercises
COS 126 – Atomic Theory of Matter
Chapter 8: Chemical composition
Atoms and Moles.
Chemistry 1 Notes # 3b Chapter 11 Section 1 THE MOLE & particle/mass calculations Last updated November 18, 2018.
6.1 The Mole Obj 1 a-c, 2 Chemistry.
Introducing… Mr. MOLE Hellooo Students!!!.
COS 126 – Atomic Theory of Matter
COS 126 – Atomic Theory of Matter
10.1 What is a Mole? A mole of any substance contains Avogadro’s number of representative particles, or 6.02  1023 representative particles. The term.
Chapter 10: The Mole.
Observe Brownian motion of particles.
So where is it anyway? Bounding box, median, centroids, and an introduction to algorithm analysis.
The Mole: A Measurement of Matter
Chapter 5 Chemical Quantities and Reactions
COS 126 – Atomic Theory of Matter
Chemical Quantities For example – let’s say you want to buy some Bazooka Gum You could buy it by the piece from the deli You could buy it by the box from.
Chemical Composition.
What is the mole? Study design
7.1 Describing Reactions In a chemical reaction, the substances that undergo change are called reactants. The new substances formed as a result of that.
Chapter 5 Chemical Quantities and Reactions
Presentation transcript:

COS 126 – Atomic Theory of Matter

Atomic Theory Overview Brownian Motion Random collision of molecules Displacement over time fits a Gaussian distribution

Atomic Theory Overview Avogadro’s Number Number of atoms needed to equal substances atomic mass in grams NA atoms of Carbon-12 = 12 grams Can calculate from Brownian Motion Variance of Gaussian distribution is a function of resistance in water, number of molecules

Bead.java Represent particles (beads) in water API public Bead() public void add(int i, int j) public int mass() // number of pixels public double distanceTo(Bead b) // from center (average) public String toString() Only need 3 values to efficiently store Thoroughly test (simple main)

BeadFinder.java Locate all beads in a given image API public BeadFinder(Picture picture, double threshold) Calculate luminance (see Luminance.java, 3.1) Count pixels with at luminance > threshold Find beads with DFS (see Percolation.java, 2.4) The hard part, next slide… public Bead[] getBeads(int minSize) Returns all beads with at least minSize pixels Array must be of size equal to number of beads

Bead Finder - Depth First Search Use boolean[][] array to mark visited Traverse image Dark pixel – mark as visited, continue Light pixel – create new bead, call dfs DFS algorithm If pixel out-of-bounds, return If pixel has been visited, return If pixel is dark, mark + return Add pixel to current bead, mark as visited Recursively visit up, down, left, right

Bead Finder - Depth First Search Use boolean[][] array to mark visited Traverse image Dark pixel – mark as visited, continue Light pixel – create new bead, call dfs DFS algorithm If pixel out-of-bounds, return If pixel has been visited, return If pixel is dark, mark + return Add pixel to current bead, mark as visited Recursively visit up, down, left, right

Bead Finder - Depth First Search Use boolean[][] array to mark visited Traverse image Dark pixel – mark as visited, continue Light pixel – create new bead, call dfs DFS algorithm If pixel out-of-bounds, return If pixel has been visited, return If pixel is dark, mark + return Add pixel to current bead, mark as visited Recursively visit up, down, left, right

Bead Finder - Depth First Search Use boolean[][] array to mark visited Traverse image Dark pixel – mark as visited, continue Light pixel – create new bead, call dfs DFS algorithm If pixel out-of-bounds, return If pixel has been visited, return If pixel is dark, mark + return Add pixel to current bead, mark as visited Recursively visit up, down, left, right

Bead Finder - Depth First Search Use boolean[][] array to mark visited Traverse image Dark pixel – mark as visited, continue Light pixel – create new bead, call dfs DFS algorithm If pixel out-of-bounds, return If pixel has been visited, return If pixel is dark, mark + return Add pixel to current bead, mark as visited Recursively visit up, down, left, right

Bead Finder - Depth First Search Use boolean[][] array to mark visited Traverse image Dark pixel – mark as visited, continue Light pixel – create new bead, call dfs DFS algorithm If pixel out-of-bounds, return If pixel has been visited, return If pixel is dark, mark + return Add pixel to current bead, mark as visited Recursively visit up, down, left, right

BeadTracker.java Track beads between successive images Single main function Take in a series of images Output distance traversed by all beads for each time-step For each bead found at time t+1, find closest bead at time t and calculate distance Not the other way around! Don’t include if distance > 25 pixels (new bead)

Avogadro.java Analyze Brownian motion of all calculated displacements Lots of crazy formulas, all given, pretty straightforward Be careful about units in the math, convert pixels to meters, etc.

Random Thoughts… BeadTracker and Avogadro are separate clients, must recompile both Can still do Avogadro without other parts working, use sample input Only keep at most two pictures open at a time (run out of memory otherwise) Output format - System.out.printf() "%6.3f" -> _2.354 "%10.4e" -> 1.2535e-23