33 Pages

Chemical basis of life F10

Course: BIOL 121, Fall 2010
School: Evansville
Rating:
 
 
 
 
 

Word Count: 2364

Document Preview

Basis Chemical of Life 1 Introduction Why study chemistry in an Anatomy and Physiology class? - Body functions depend on cellular functions - Cellular functions result from chemical changes - Biochemistry helps to explain physiological processes 2 Structure of Matter Matter anything that takes up space and has mass (weight). It is composed of elements. Elements composed of chemically identical atoms: Bulk...

Register Now

Unformatted Document Excerpt

Coursehero >> Indiana >> Evansville >> BIOL 121

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Basis Chemical of Life 1 Introduction Why study chemistry in an Anatomy and Physiology class? - Body functions depend on cellular functions - Cellular functions result from chemical changes - Biochemistry helps to explain physiological processes 2 Structure of Matter Matter anything that takes up space and has mass (weight). It is composed of elements. Elements composed of chemically identical atoms: Bulk elements required by the body in large amounts Trace elements - required by the body in small amounts Ultratrace elements required by the body in very minute amounts Atoms smallest particle of an element 3 Some Particles of Matter 4 Elements and Atoms Atoms are the smallest complete units of elements Protons, neutrons and electrons All matter is composed of elements Oxygen, nitrogen, hydrogen Elements are the parts of compounds Water, CO2, methane etc. 5 Atomic Structure Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Atoms - composed of subatomic particles: Proton carries a single positive charge - Neutron (n0) Proton (p+) Neutron carries no electrical charge Electron carries a single negative charge Nucleus Central part of atom Composed of protons and neutrons Electrons move around the nucleus + 0 0 0 + + 0 - Electron (e) Lithium (Li) Nucleus 6 Atomic Number and Atomic Number Number of protons in the nucleus of one atom Each element has a unique atomic number Equals the number of electrons in the atom 7 Isotopes Isotopes Atoms with the same atomic numbers but with different atomic weights Atoms with the same number of protons and electrons but a different number of neutrons Oxygen often forms isotopes (O16, O17, and O18) Unstable isotopes are radioactive; they emit energy or atomic fragments 8 Molecules and Compounds Molecule particle formed when two or more atoms chemically combine Compound particle formed when two or more atoms of different elements chemically combine Molecular formulas depict the elements present and the number of each atom present in the molecule H2 C6H12O6 H2O 9 Bonding of Atoms Bonds form when atoms combine with other atoms Electrons of an atom occupy regions of space called electron shells which circle the nucleus For atoms with atomic numbers of 18 or less, the following rules apply: The first shell can hold up to 2 electrons The second shell can hold up to 8 electrons The third shell can hold up to 8 electrons 10 Bonding of Atoms Lower shells are filled first Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. If the outermost shell is full, the atom is stable + + Hydrogen (H) Helium (He) +0 + 0 0 0 + - + 0 0 - Lithium (Li) 11 Bonding of Atoms: Ions Ion An atom that gains or loses electrons to become stable An electrically charged atom Cation A positively charged ion Formed when an atom loses electrons 11p+ 12n0 17p+ 18n0 Anion A negatively charged ion Formed when an atom gains electrons Sodium atom (Na) Chlorine atom (Cl) (a) Separate atoms If a sodium atom loses an electron to a chlorine atom, the sodium atom becomes a sodium ion (Na+), and the chlorine atom becomes a chloride ion (Cl). 12 Ionic Bonds Ionic Bonds An attraction between a cation and an anion Formed when electrons are transferred from one atom to another atom Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Na+ + 11p+ 12n0 17p+ 18n0 Cl Sodium ion (Na+) Chloride ion (Cl) (c) Salt crystal Ionically bonded substances form arrays such as a crystal of NaCl. Sodium chloride (b) Bonded ions These oppositely charged particles attract electrically and join by an ionic bond. 13 Covalent Bonds Formed when atoms share electrons Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. H - H - H2 - + + + - + Hydrogen atom + Hydrogen atom Hydrogen molecule Hydrogen atoms form single bonds Oxygen atoms form two bonds Nitrogen atoms form three bonds Carbon atoms form four bonds HH O=O NN O=C=O 14 Bonding of Atoms: Polar Molecules Polar Molecules Molecule with a slightly negative end and a slightly positive end Results when electrons are not shared equally in covalent bonds Water is an important polar molecule Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Slightly negative end (a) 15 Slightly positive ends Hydrogen Bonds Hydrogen Bonds A weak attraction between the positive end of one polar molecule and the negative end of another polar molecule Formed between water molecules Important for protein and nucleic acid structure Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. H O H H H H H O (b) H O H Hydrogen bonds O O H H 16 Chemical Reactions Chemical reactions occur when chemical bonds form or break among atoms, ions, or molecules Reactants are the starting materials of the reaction - the atoms, ions, or molecules Products are substances formed at the end of the chemical reaction NaCl Na+ + ClReactant Products 17 Types of Chemical Reactions Synthesis Reaction more complex chemical structure is formed A + B AB Decomposition Reaction chemical bonds are broken to form a simpler chemical structure AB A + B Exchange Reaction chemical bonds are broken and new bonds are formed AB + CD AD + CB Reversible Reaction the products can change back to the reactants 18 A + B n AB Acids, Bases, and Salts Electrolytes substances that release ions in water NaCl Na+ + ClAcids electrolytes that dissociate to release hydrogen ions in water HCl H+ + Cl- Bases substances that release ions that can combine with hydrogen ions NaOH Na+ + OH- Salts electrolytes formed by the reaction between an acid and a base HCl + NaOH H2O + NaCl 19 Acid and Base Concentration pH scale - indicates the concentration of hydrogen ions in solution Neutral pH 7; indicates equal concentrations of H+ and OHAcidic pH less than 7; indicates a greater concentration of H+ pH 0 1 Acidic Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Acidic Relative H+ Amounts of H+ (red) 3.0 and OH 2.0 apple (blue) gastric juice juice 5.3 4.2 cabbage tomato juice 8.4 7.4 6.6 Sodium Human cows biocarbonate blood milk 8.0 7.0 Egg Distilled white water 7 Neutral 8 10.5 milk of magnesia 11.5 Household ammonia Basic OH 6.0 corn 6 2 3 4 5 H+ concentration increases 9 10 11 12 13 14 OH concentration increases Basic (alkaline) Basic or alkaline pH greater than 7; indicates a greater concentration of OH20 Chemical Constituents of Cells Organic v. Inorganic Molecules Organic molecules Contain C and H Dissolve in water and organic liquids Carbohydrates, proteins, lipids, and nucleic acids Inorganic molecules Generally do not contain C Usually dissociate in water, forming ions Water, oxygen, carbon dioxide, and inorganic salts 21 Inorganic Substances Water Most abundant compound in living material of Two-thirds the weight of an adult human Major component of all body fluids Medium for most metabolic reactions Important role in transporting chemicals in the body Absorbs and transports heat Oxygen (O2) Used by organelles to release energy from nutrients in order to drive cells metabolic activities Necessary for survival 22 Inorganic Substances Carbon dioxide (CO2) Waste product released during metabolic reactions Must be removed from the body Inorganic salts Abundant in body fluids Sources of necessary ions (Na+, Cl-, K+, Ca2+, etc.) Play important roles in metabolism 23 Organic Substances Carbohydrates Provide energy to cells Supply materials to build cell structures Water-soluble Contain C, H, and O Ratio of H to O close to 2:1 (C6H12O6) Monosaccharides glucose, fructose Disaccharides sucrose, lactose Polysaccharides glycogen, cellulose 24 Organic Substances Carbohydrates Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. O O O O (a) Monosaccharide (b) Disaccharide Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. O O O (c) Polysaccharide 25 Organic Substances Lipids Soluble in organic solvents; insoluble in water Fats (triglycerides) Used primarily for energy; most common lipid in the body Contain C, H, and O but less O than carbohydrates (C57H110O6) Building blocks are 1 glycerol and 3 fatty acids per molecule Saturated and unsaturated Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. H H C O O C H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H C H H C H H C H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H C H H H O H C O C H C H O H C H O C H C H H C H H C H H C H H C H H Glycerol portion Fatty acid portions 26 Organic Substances Lipids Phospholipids Building blocks are 1 glycerol, 2 fatty acids, and 1 phosphate per molecule Hydrophilic and hydrophobic Major component of cell membranes Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. H H C C O O Fatty acid Fatty acid O H C H O P O O H C H H C H N H H Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. H H H H C C C H Glycerol portion (a) A fat molecule O O O Fatty acid Fatty acid Fatty acid H Water-insoluble (hydrophobic) tail Water-soluble (hydrophilic) head Phosphate portion (b) A phospholipid molecule (the unshaded portion may vary) (c) Schematic representation of a phospholipid molecule 27 Organic Substances Lipids Steroids Four connected rings of carbon Widely distributed in the body, various functions Component of cell membrane Used to synthesize hormones Cholesterol Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. H2 C HO C H H2 C H2 C CH3 C C HC H2 CH3 H C C C CH CH3 CH CH2 CH2 CH2 CH2 CH2 CH CH3 CH3 CH CH2 C H2 C H 28 (a) General structure of a steroid (b) Cholesterol Organic Substances Proteins Structural material Energy source Hormones Receptors Enzymes Antibodies R H N H C H C O OH H Protein building blocks are amino acids Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. H C C C H C C H C C C H C O OH H H H S H N H C C H H C O OH H H H N H (a) General structure of an amino acid. The portion common to all amino acids is within the oval. It includes the amino group (NH2) and the carboxyl group (COOH). The "R" group, or the "rest of the molecule, is what makes each amino acid unique. (b) Cysteine. Cysteine has an R group that contains sulfur. Phenylalanine. Phenylalanine has a complex R group. Improper metabolism of phenylalanine occurs in the disease phenylketonuria. 29 Organic Substances Proteins Four Levels of Protein Structure Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Amino acids H H (a) Primary structureEach oblong shape in this polypeptide chain represents an amino acid molecule. The whole chain represents a portion of a protein molecule. (c) Tertiary structure The pleated and coiled polypeptide chain of a protein molecule folds into a unique threedimensional structure. C (b) Secondary structureThe polypeptide chain of a protein molecule is often either pleated or twisted to form a coil. Dotted lines represent hydrogen bonds. R groups (see fig. 2.17) are indicated in bold. H N C R N H O C H H H H H O R H O H C C N C C N C C N C H R C N C C N C O H R H C O N C N C HO C H O H R R H C O C H N R C HO N C H R O R C H C H N C C O H C N C N H C O H C O N H R H R Three-dimensional folding HO N H C R O C C R H C H N R N O C C H N C HH H O R H O H H H O C R (d) Quaternary structureTwo or more polypeptide chains may be connected to form a single protein molecule. R H C C Pleated structure H Coiled structure 30 Organic Substances Nucleic Acids Base Sugar and Phosphate Encode amino acid sequences of proteins Building blocks are nucleotides Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. P S B DNA (deoxyribonucleic acid) double polynucleotide RNA (ribonucleic acid) single polynucleotide 31 Enzymes Increase the rate of reactions Do not alter the reaction Are themselves not altered by the reaction Without enzymes, biochemical reactions proceed so slowly that life cannot be sustained. Recognized by the suffix "ase"; kinase, lipase, etc. Active sites - portion of enzyme that binds the substrate Substrate is the substance on which the enzyme acts. Enzyme binds substrate forming a complex, reaction occurs, products are released and enzyme is free to catalyze another reaction. Some reactions require the presence of "cofactors" like Ca++ or Mg++ or coenzymes like NAD and FAD (derived from vitamins, especially B vitamins) Slight increases in temperature speed up reactions, but if temperature is raised too much, protein will denature and enzyme is unable to act. There is also a pH optimum for each enzyme. Pepsin pH of 2, trypsin pH of 9.5 I. Metabolic Pathway - multiple enzymes involved in factory line assembly. 32 Adenosine Triphosphate (ATP) 1. ATP is the bodies energy currency All living cells require energy to grow and function; contract muscle, build proteins, etc One form of energy can be converted to another, in our bodies food energy is converted to ATP ATP is adenosine with three attached phosphate molecules. Cleavage of the terminal phosphate releases energy to be used by the cell of the body. Breakdown of other molecules (food) provides energy necessary to reattach a phosphate and recycle: ADP + P to yield ATP. 33
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Evansville - BIOL - 121
The Endocrine SystemFunction - like the nervous system it is a controlling system. It's effects are slower and more prolonged. Influences metabolic activities of cells by means of hormones. Controls and integrates: reproduction; growth and developmen
Evansville - BIOL - 121
Major Endocrine OrgansFigure 16.1Copyright 2004 Pearson Education, Inc., publishing as Benjamin CummingsTarget Cell Specificity Hormones circulate to all tissues but only activate cells referred to as target cells Target cells must have specific recep
Evansville - BIOL - 121
PNS in the Nervous SystemCopyright 2008 Pearson Education, Inc., publishing as Benjamin CummingsFigure 13.1Olfactory ReceptorsCopyright 2008 Pearson Education, Inc., publishing as Benjamin CummingsFigure 13.17Cranial Nerve I: OlfactoryCopyright 200
Evansville - BIOL - 121
Nervous System IIBrain and Spinal CordCopyright 2004 Pearson Education, Inc., publishing as Benjamin CummingsFour Functional Regions of Brain Cerebrum Diencephalon Brainstem CerebellumCopyright 2004 Pearson Education, Inc., publishing as Benjamin Cu
Evansville - BIOL - 121
Protein Synthesis&Integumentary System1Genetic Information Genetic information instructs cells how to construct proteins; stored in DNA Gene segment of DNA that codes for one protein Genome complete set of genes Genetic Code method used to translate
Evansville - BIOL - 121
Chapter 7Skeletal SystemCopyright 2005 Pearson Education, Inc., publishing as Benjamin Cummings1Function of Bones Support form the framework that supports the body and cradles soft organs Protection provide a protective case for the brain, spinal co
Evansville - BIOL - 121
Biol 121 Anatomy & Physiology I Nervous System Notes - #3 The Autonomic Nervous System Sensory Nervous System Autonomic Nervous System Review Organization of the Nervous System Central Nervous System (CNS) Peripheral Nervous System (PNS) Afferent - Sens
Evansville - BIOL - 121
Biol 121 Anatomy and Physiology I Chapter 1 - The Human Body: an Orientation I. Introduction A. Definitions: 1. Anatomy - study of body structure a) Gross - large body structures, examine without instruments b) Microscopic - Structures too small to be see
Evansville - BIOL - 121
Biol 121 Anatomy & Physiology I Cells: The Living Units A. Cell TheoryDr. M.K. Hopper1. The cell is the basic structural and functional unit of living organisms; defining the properties of a cell is defining the properties of life. 2. Human body is comp
Evansville - BIOL - 121
3Biol 121 Anatomy and Physiology I Chemical Basis of Life I. Matter and Energy A. Matter - anything that occupies space and has mass. For all practical purposes we can consider mass to be the same as weight (except weight varies with gravity and mass does
Evansville - BIOL - 121
Biol 121 Anatomy and Physiology I Nervous System Parts II & III - Review Questions Brain and Spinal Cord 1. Name the four general brain regions. Briefly describe the overall function each region. Name the structures or "sub-regions" within each region. Gi
Evansville - BIOL - 121
Biol 121 Anatomy & Physiology LECTURE NOTES The Integumentary System *Protein Synthesis Notes are included in the Unit One notes. I. Integumentary system the skin and its derivatives (sweat and oil glands, hairs and nails).A. Function 1. 2. 3. 4. Protect
Evansville - BIOL - 121
BIOL 121 Anatomy & Physiology I LECTURE NOTES - SKELETAL SYSTEM I. Functions A. Support B. Protection 1. Bone casing of skull, vertebral column and ribs C. Movement 1. Anchoring attachments for muscles. D. Storage 1. Minerals, calcium and phosphorus. E. C
Santa Monica - MUSIC - 1541
Introduction RunningHead:MANJADECARNIVAL UnityandVarietyin`ManhaDeCarnival' [author'sname] [professor] [author'sschool] [subject] UnityandVarietyin`ManhaDeCarnival' Musicalpieces,nomatterwhatstyleandgenre,allcontainsspecific elementsthatcanneverbeomittedf
Santa Monica - MUSIC - 1541
Assignment 4Introduction BrazilianBossaNovawearetolookatManhaDeCarnivalbySigmanandBonfa, whichisarguablyoneofthemostpopularBrazilianpiecesinthe repertoire.Thismusicalpiececanbesaidtocontainjazzyfeatures, withthehelpofheavyrhythmanddrums,themusicalpiecei
Santa Monica - MUSIC - 1541
PuttingThingsTogether Musicisapartofthecivilizationineveryone'ssociety.Asitis developedbyanumberofmusiciansandgeniuses,varietyofitskind emerged.Therearegenresthataregrowingfromonegenerationto anothergeneration.Rockandballad,rap,classicaresomeexamplesof th
Ill. Chicago - PHYS - 105
UIC Physics 105 Spring 2011 Written Homework IUIC Physics 105Written Homework I Spring 2011 DUE IN CLASS February 3, 2011 Circle Your Instructor: (First class day: time)LAST Name (print)_ FIRST Name (print)_ Signature:_ UIN #:_ KOUZNETSOV (Monday: 2:00
CSU LA - ECON - 202
Economics 202 Homework Assignment # 1 Instructions: Please write your answers in the space provided for each question. Answers to short essays should be concise and to the point. If necessary, use a separate piece of paper for your computations. Make sure
UCLA - CS - 31
*/ +operators use same conventions as mathematics int n; / "int" limits the variable to be an integer cout < n; / undefined behavior because n was not defined _ int n; cin > n; int m = 23 / m=23 int p = 2 * m / p=46 double x = -2.76; double y = 12.345e-7;
UCLA - CS - 31
What is your name? Sir Robin What is your quest? To seek the Holy Grail Hello, brave Sir Robin! You want To seek the Holy Grail #include <iostream> #include <string> using namespace std; int main() cfw_ cout < "What is your name? "; string personsName; ge
UCLA - CS - 31
if (conditions) stmtT else stmtTif (condition) stmtT. double withholdingsRate; cout < "You earned $" < amtEarned < endl; if (payRate >= 9.00) withholdingRate = 0.10; else withholdingRate = 0.05; cout < "$" < withholdingRate * amtEarned < " will be withh
UCLA - CS - 31
If (citizenship = "US" & age >= 18) cout < "You can vote in U.S. elections" < endl; If (citizenship != "US" | age < 18) cout < "You cannot vote in U.S. elections" De Morgan's Laws: not (A and B) -> (not A) or (not B) not (A or B) -> (not A) and (not B) no
UCLA - CS - 31
UCLA - CS - 31
string s = "Hello"; s: Hello /start counting at zero when counting position for (int k = 0; k != s.size(); k+) 01234 cout < s.at(k) < endl; s.at(k) is the character at position k of s ex: s.at(3) is l in "Hello" s.size() is the number of characters in the
UCLA - CS - 31
Substitute:BrianChoi Typebool Moreonfunctions Parameterpassingbyvaluevs.byreference Howtoevaluatefunctions Project3Clarication,Q&A Expressionsthatevaluatetoeithertrueorfalse age >= 21 weight > 100 & weight < 200 name = egg & cost < 15 Thereisadatat
UCLA - CS - 31
Boolean expressions - expressions that evaluate to either true or false = <= etc. use bool to store true or false values bool canDrink = (age >=21); / either true or false C+ defines two constants true and false, which you can directly assign to a bool bo
UCLA - CS - 31
should process each beat separately try to translate a song that has no sustains add sustains later try one digit sustain notes try two digit sustain notes try one beat song need to check for 0g or 1g while translation be careful that when using s.at(k) -
UCLA - CS - 31
ARRAYS CONTINUED year, month, day bool isValidDate(int y, cfw_ int daysInMonth[12] 31, 28, 31, 30, type 31, 31, 30, 31, ; int m, int d) =cfw_ 31, 30 30, 31/ every element must be the sameif (d < 1 | d > daysnMonth[m-1]) / because start couting at 0 retu
UCLA - CS - 31
WHAT'S GOING TO BE ON THE MIDTERM CALL-BY-REFERENCE FUNCTIONS STRINGS LOOPS (pretty much everything) -_void swap(int& a, int&b) / swaps ints. the ampersand means that when we pass the referenced variable, we're passing the location / of the variable; the
UCLA - CS - 31
ARRAYS CONTINUED.THEN STRINGS const int MAX_NUMBER_OF_SCORES = 10000; int scores[MAX_NUMBER_OF_SCORES]; int nScores = 0; double total = 0; cout < "Enter the scores (negative to quit):" < endl; for (;) cfw_ int s; cin > s; if (s < 0) break; if (nScores = M
UCLA - CS - 31
void f(.) void g(.) int main() cfw_ const string monthNames[12] = cfw_ needed in other functions "January", . ; f(monthNames,.); g(.); void f(const string mn[],.) cfw_ . void g(.) cfw_ . _ _ const declared outside of main() const string monthNames[12]
UCLA - CS - 31
Pointers the value of a pointer is essentially just the address of a value in memory. 1. 2. 3. 4. Another way to implement passing by reference Traverse arrays Manipulate dynamic storage Represent relationships in data structuresPREVIOUS EXAMPLE: void po
UCLA - CS - 31
Pointers: 1. Another way to implement passing by reference 2. Traverse arrays 3. Manipulate dynamic storage 4. Represent relationships in data structures double a = 3.2; double b = 5.1; double* p = &a; double c = a; double d = *p; double& dd = d; dd p ->
UCLA - CS - 31
REVIEW OF OLD STUFF *&x => x &a[i] + j => &a[i + j] &a[i] < &a[j] => i < j a => &a[0] p[i] => *(p + i) &a[i] - &a[j] => i - j if one pointer is less than another, that means in smaller pointer is pointing at an address before the other void f(double a[],
UCLA - CS - 31
multi-character character constant You use the wrong slash direction in single quotes '/n' (wrong) instread of '\n'(correct) Debug Error when accessing string position that is undefined.
UCLA - CS - 31
/ Water bill calculator#include <iostream>#include <string>using namespace std;int main()cfw_ / Get and validate inital meter reading cout < "Initial meter reading: "; int initial; cin > initial; cin.ignore(1000000, '\n'); if (initial < 0) cfw
UCLA - CS - 31
/ Project 3: Guitar Zero#include <string>using namespace std;const char END_OF_BEAT = '/';/*/ isSongWellFormed/*bool isSongWellFormed(string song)cfw_ / An empty song is well-formed. if (song.size() = 0) return true; / A non-empty song must en
UCLA - CS - 31
/ Project 4 Solution#include <string>using namespace std;int tally(const string a[], int n, string target)cfw_ if (n < 0) return -1; int count = 0; for (int k = 0; k < n; k+) if (a[k] = target) count+; return count;int findFirst(const string
UCLA - CS - 31
/ Project 5#define _CRT_SECURE_NO_DEPRECATE#include <iostream>#include <fstream>#include <cstring>#include <cctype>#include <cstdlib>#include <ctime>using namespace std;const int MINWORDLEN = 4;const int MAXWORDLEN = 6;const int MAXPROBELEN = 2
UCLA - CS - 31
/ robots.cpp#include <iostream>#include <string>#include <cstdlib>#include <ctime>using namespace std;// Manifest constants/const int MAXROWS = 20; / max number of rows in the arenaconst int MAXCOLS = 40; / max number of columns in the arenacon
UCLA - CS - 31
main.cpp5/4/09 11:37 AM#include <iostream> #include <string> #include <cassert> using namespace std; int tally(const string a[], int n, string target) cfw_ int count = 0; if (n < 0) return -1; for (int i = 0; i < n; i+) cfw_ if (a[i] = target) count+;
UCLA - CS - 31
<?xml version="1.0" encoding="Windows-1252"?> <VisualStudioUserFile ProjectType="Visual C+" Version="9.00" ShowAllFiles="false" > <Configurations> <Configuration Name="Debug|Win32" > <DebugSettings Command="$(TargetPath)" WorkingDirectory=" CommandArgumen
UCLA - MAE - 107
- CHAPTER 1. -Chapter OneSection 1.1 1.For C "& , the slopes are negative, and hence the solutions decrease. For C "& , the slopes are positive, and hence the solutions increase. The equilibrium solution appears to be Ca>b oe "& , to which all other so
UCLA - MAE - 107
MAE107 Introduction of Modeling and Analysis of Dynamic Systems Lecture Notes #1 Prof. MCloskey First order differential equation review Simple circuit, mass, and uid examples Block diagrams Textbook reading: all of Chapter 1, especially concentrating on
UCLA - MAE - 107
MAE107 Introduction of Modeling and Analysis of Dynamic Systems Lecture Notes #2 Prof. MCloskey Solution of rst order linear differential equations Superposition Time-invariance Convolution representation Transfer functions and frequency response functio
UCLA - MAE - 107
MAE107 Introduction of Modeling and Analysis of Dynamic Systems Lecture Notes #3 Prof. MCloskey More on transfer functions, solutions to IVPs with inputs of the form u(t) = est Block diagram manipulation Textbook reading: 1. Section 8.9 introduces transf
UCLA - MAE - 107
Rules for Making Bode PlotsTermConstant: K Real Pole:1 s +1 0 Magnitude20log10(|K|)PhaseK>0: 0 K<0: 180 Low freq. asymptote at 0. High freq. asymptote at -90. Connect with straight line from 0.10 to 100. Low freq. asymptote at 0. High freq. asympt
UCLA - MAE - 107
MAE 171 A: Feedback Control Systems Chapter 6 Feedback ControlApril 17, 2010Objectives of Feedback Control SystemsGenerally, the objectives of a feedback controller are to improve system performance in the sense ofMAE 171 A: Feedback Control Systems C
UCLA - MAE - 107
How to diagonalize a matrixLet A be an n n matrix. 1. Compute the characteristic polynomial fA (x) := det(A xA). This is a monic polynomial of degree n. 2. Find the roots 1 . . . r m of fA (X ), together with their multiplictiies m1 , . . . mr . There ar
UCLA - MAE - 107
clear close all % %Problem 1% t = 0:.001:10 h1 = exp(-t).*sin(t); h h2 = 2*exp(-t).*cos(t)-exp(-t).*sin(t); figure (1) plot(t, h1, t, h2); a axis([-2 10 -1 3]);
UCLA - MAE - 107
clear clc close all % %Problem 1% t = 0:.001:10; h1 = exp(-t).*sin(t); h h2 = 2*exp(-t).*cos(t)-exp(-t).*sin(t); figure (1) plot(t, h1, t, h2); a axis([-2 10 -1 3]);
UCLA - MAE - 107
MAE 171a Homework Problem Set 1 Prof. Schwartz Due: June 28th1. Find the Laplace Transform of (a) f (t) = e0.7t cos(2t) Using transform number 15 (L eat cos t = L e0.7t cos(2t) =s +a ) (s+a)2 + 2s + 0.7 s + 0.7 =2 2 +4 (s + 0.7) s + 1.4s + 4.49n! ) (s
UCLA - MAE - 107
MAE 171a Homework Problem Set 2 - Revised July 1st, 2:30PM Prof. Schwartz Due: Wednesday, July 7th1. Sketch the output time response of a step input to the following transfer functions. Use partial fractions to decompose the response. (a) G(s) = (b) G(s)
UCLA - MAE - 107
MAE 171a Homework Problem Set 2 - Revised July 1st, 2:30PM Prof. Schwartz Due: Wednesday, July 7th1. Sketch the output time response of a step input to the following transfer functions. Use partial fractions to decompose the response. (a) G(s) = (b) G(s)
UCLA - MAE - 107
MAE 150B: Aerodynamics Spring 2010Homework No. 3Due Thursday, April 22, 20101. Problem 3.1 on page 309 of Andersons book 2. Problem 3.6, 3.12, 3.15 on page 310 of Andersons book 3. Problem 3.18 on page 311 of Andersons book
UCLA - MAE - 107
MAE107 Homework #4 Prof. MCloskey Due DateThe homework is due by Friday, 5PM, May 14, 2010, to David Shatto in 38-137 E4.Problem 1Consider the periodic signal u shown in Fig. 1. Answer the following questions: 1. Compute the Fourier series coecients, c
UCLA - MAE - 107
MAE107 Homework #4 Solution Prof. MCloskey Problem 1 Solution1. The Fourier series coecients are simply, ck = =0 0.5u(t)ejk0 t dtT 1u(t)ejk0 t dt 1 ejk0 t dt (0 = 2 ) k = 0,=0=1 1 ejk , jk 2This expression is valid for k = 0. When k = 0, c0 =T
UCLA - MAE - 107
MAE107 Homework #5 Prof. MCloskey Due DateThe homework is due at 5PM on Tuesday, May 25, 2010, to David Shatto (38-138 foyer, Engineering 4).ReadingPlease read the introduction to Chapter 17 and sections 17.1 thru 17.7. This material covers the bilater
UCLA - MAE - 107
MAE107 Homework #5 Solution Prof. MCloskey Problem 11. Since Vin = 0 for t < 0 and the system is causal, Vout = 0 for t < 0. For t 0,tVout (t) =0e(t ) cec d= Thus, Vout (t) =c et ect . cc et ect (t). c2. The auto-correlation of Vin is computed fo
UCLA - MAE - 107
MAE107 Homework #6 Prof. MCloskey Due DateThe homework is due at 5PM on Thursday, June 3, 2010, to David Shatto (38-138 foyer, Engineering 4).Problem 1Consider the following 2 2 matrices, A1 = A2 = Answer the following: 1. Compute the matrix exponentia
UCLA - MAE - 107
MAE107 Homework #6 Solution Prof. MCloskey Problem 11. The eigenvalues of A1 are distinct so A1 can be diagonalized. The eigenvalues and associated eigenvectors are 1 1 1 , t1 = , 2 , t2 = . 0 2 1 Note that t1 and t2 are linearly independent when 1 = 2 .