W13:Homework:H07. CS40 Foundations of Computer Science W13. From 40wiki
|
|
- Logan Gilmore
- 5 years ago
- Views:
Transcription
1 W13:Homework:H07 From 40wiki CS40 Foundations of Computer Science W13 W13:Exams W13:Homework in Class and Web Work W13:Calendar W13:Syllabus and Lecture Notes UCSB-CS40-W13 on Facebook ( Next in the Array of Talks Series: Talks[5]: From Academia to Business: All about startups! ( Wednesday Jan 23, 3pm-5pm click above to learn more and/or to RSVP on Facebook! CS40 on Gauchospace ( id=5907) H01 H02 H03 H04 H05 H06 H07 H08 H09 H10 H11 H12 H13 H14 H15 H16 H17 H18 H19 H20 H21 W01 W02 W03 W04 W05 W06 W07 W08 W09 W10 IC01 IC02 IC03 IC04 IC05 IC06 IC07 IC08 IC09 IC10 IC11 IC12 [Print-friendly PDF ( ]
2 H07-W13-CS40 page 1 First name (color-in initial) A B C D E F G H I J K L M N O P Q R S T U V W X Y Z section (1 or 4) first name initial last name initial Last name (color-in initial) A B C D E F G H I J K L M N O P Q R S T U V W X Y Z H07: Due Wednesday in Lecture. Total Points: 50 MAY ONLY BE TURNED IN DURING Lecture ON Wednesday , or offered in person, for in person grading, during instructor or TAs office hours. See the course syllabus at for more details. (1) (10 pts) Fill in the information below. Also, fill in the A-Z header by coloring in the first letter of your first and last name (as it would appears in Gauchospace), writing either 1 or 4 to indicate your discussion section meeting time, i.e., Tuesday at 1pm or Tuesday at 4pm. writing your first and last initial in large capital letters (e.g. P C). All of this helps us to manage the avalanche of paper that results from the daily homework. name: umail Your reading assignment for H07 includes Sections 2.1, 2.2, 2.3 from your textbook The handout given out with this assignment (which can be found on the wiki under the link for Homework H07---it is part of the printable PDF) (2) (20 pts) For each of the graphs below that shows a mapping from elements of set A to set B indicate (by circling yes or no) whether or not the mapping is a function f: A B. If you say no, explain your answer. Graph: Is it a function? yes no yes no yes no yes no Explanation:
3 F12-H11-page 2 (3) (12 pts) A function f: A B is injective (or 1-to-1) if for each element x A, if f(x)=b, then y A, y x, f(y) = b. That is, it is not allowed for two different elements in A to both map to the same element in B. A function f: A B is surjective (or onto) if for each element b B, x A such that f(a)=b. That is, there is nothing in B that doesn't have something in A mapped to it. (No lonely elements in B! Remember it this way: the mapping is "onto" the entire B set. For each of the mappings below, indicate whether it is a function, whether it is 1-to-1 and whether it is onto or not. Graph: Is it a function? yes no yes no Is it 1-to-1? yes no yes no Is it onto? yes no yes no Graph: Is it a function? yes no yes no Is it 1-to-1? yes no yes no Is it onto? yes no yes no (4) (4 pts) Can f(x)=x 2 be considered a function f: R Z? Explain your answer. (5) (4 pts) What is a partial function, and what is the "hack" that can be used to turn a partial function into a function?
4 CS40-W13-H07 Handout Page 1 Handout to go with H07 This handout reviews basic material about functions. This is some of the most important material from Sections 2.1, 2.2 and 2.3 of the textbook. You should also read those sections of the book. Concentrate, in your first reading, on the material that is ALSO covered on this handout. You are responsible for all the material in Sections 2.1, 2.2 and 2.3 (unless you are told otherwise later) but the MOST important material from those sections pertains to the topics on this handout. Reading this handout is an INTRODUCTION, SUPPLEMENT and a GUIDE to reading those textbook sections, not a SUBSTITUTE. About Functions You are, no doubt, already familiar with the idea of a function from your study of algebra, trigonometry and calculus in your high school and college mathematics courses so far. For example, if we write: f(x)=x 2 then f(3) = 9 and f(0.5)=0.25 In the course, we are going to look at how the idea of a function is rooted in set theory. What you already know about functions will still hold true, but it is not the complete picture. It turns out that this way of looking at a function is the foundation of the idea of a function as it appears in programming languages such as C, C++, Python, JavaScript, etc. and the idea of a method in object-oriented languages such as Java. We may begin to see that in this course, and it may become more apparent in later courses such as CS138 and CS162. Functions from one set to another Suppose we have two sets, A and B, with A={s,t,u,v,w} and B={1,2,3} We can define a function that maps each element of A to exactly one element of B. Here is one such function, defined by enumerating each value of f(x) for every x A f(s) = 1 f(t) = 2 f(u) = 2 f(v) = 3 f(w) =3 We can also represent that function as a graph, with the elements of A on the left, and the elements of B on the right, as shown in the drawing at right labelled f. We could define another function g in the same way, that also maps each element of A to exactly one element of B. g(s) = 1 g(t) = 2 g(u) = 3 g(v) = 1 g(w) =2 Again, that can be shown as a graph see the graph at right. Here are several important things to know about functions: The notation f: A B is a way of writing that function f maps each element of the set A to exactly one element of the set B. I've been putting the words "each" and "exactly one element" in bold every time they appear to emphasize that these are two requirements of what it means to be a function. If some mapping f does not map "each" element of A, i.e. there is some element x A for which f(x) is not defined, then f is not a function* If some mapping maps some element x A to y B and also to z B, and y z, then f is not a function. (*It is not a function, though it fact it may be a different kind of thing called a partial function you'll learn about partial functions in the reading for Chapter 2, on p. 81).
5 CS40-W13-H07 HANDOUT page 2 Examples of things that are not functions Consider the mappings defined by the graphs shown at right, i.e. h(s) = 1 h(s) = 2 h(t) = 2 h(u) = 2 h(v) = 3 h(w) = 3 j(s) = 1 j(t) = 2 j(u) = 2 j(w) = 3 h is not a function because h(s) maps to both 1 and 2 in set B. This is not allowed. In a function that maps from A to B, for each element x A there must be one and only one value f(a) B. j is not a function because there is no value defined for j(v). This is not permitted for functions. To sum up: The definition of a function f that maps A to B, written f: A B, is that: x A, f(x) B x A, if f(x)=a then b B b a and f(x)=b Putting functions like f(x)=x 2 into this framework As a reminder, here are some traditional notations for certain sets of numbers, i.e. Z = {... -2, -1, 0, 1, 2,... }, the set of all integers N = {0,1,2,... }, the set of all natural numbers (our textbook author includes zero, though some authors don't) R = all real numbers (which as we will see, cannot be listed the same way that sets of integers can be) Note that N Z and Z R With this notation, the function f(x)=x 2 can be considered as any of the following: f : N N f : Z N f : Z Z f : R R However, the f: R Z is NOT a valid way of considering f(x)=x 2. Can you explain why? (I hope so, because I'm going to ask you as one of the in-class exercises. If you don't understand, ask one of your classmates for her/his thoughts on the matter, or as a last resort, ask your TA/Instructor to give you some hints. Functions like f(x)=x 2 as a "special case" of binary relations When a function has a single argument (i.e. it has arity 1, or it maps from a simple set to another set, rather than from a Cartesian product to another set), we can think of the function as a special case of a binary relation. Before we "go there", first consider the cartesian product R R. Every element of R R is an ordered pair (x,y), where x&isinr and y R. That notion should be familiar to you in fact, the set R R corresponds exactly to the idea of the Cartesian plane. This is sometimes called R 2, which is sometimes called "two space", short for "two dimensional space". Perhaps you can now see how the notions of "Cartesian product" and "Cartesian plane" relate to each other! Now, consider: S R R That is, S is a binary relation on the Reals, i.e. a subset of the Cartesian product of the set of Real numbers with itself. Suppose that: S R R, where S= {(x,y) R R y = x 2 } Now we can see that: S corresponds exactly to the function f(x)=x 2 If we plot every point that is an element of S in the Cartesian Plane, we get the plot at right.
6 CS40-W13-H07 HANDOUT page 3 More on functions as a special case of binary relations Please read Example 2.4 at the top of p. 80 before continuing. Did you read it? If so, thanks. If not, why not? I really mean it! Read it! So, my question to you is: Can every binary relation be thought of as a function? If not, then what would we need to show to prove that A given binary relation R is a function? A given binary relation R is NOT a function? Think about these questions before continuing--you may be asked about them later. If you are not confident of your answers, ask in lecture, discussion section, or office hours. Some terms/concepts you need to know from Sections 2.1, 2.2, 2.3: an INITIAL list There may be more items added to this list later. Review the definitions of the following important terms. function domain co-domain "type" of a function range (as different from co-domain) what the notation f: A B means what the expression A B means (without the f: in front) how a tuple can be thought of as a function how an infinite sequence can be thought of as a function how certain binary relations can be thought of as functions (i.e. how we can ask the question: is this binary relation a function, yes or no, and how we determine the answer.) defining a function by cases (e.g. absolute value) what a "partial function" is know an example of a partial function know what the "hack" is to turn a partial function into a total function know how this relates to programming Review the definitions of these functions: floor, ceiling (and the notations used for them in math notation) mod (and the notation used) gcd (greatest common divisor) log Review what composition of functions is. Review the terms: 1-to-1, injective, injection onto, surjective, surjection bijective, bijection
7 CS40-W13-H07 Handout end Retrieved from " This page was last modified on 11 January 2013, at 17:16. Content is available under Attribution-NonCommercial-ShareAlike 3.0 Unported.
W13:Homework:H08. CS40 Foundations of Computer Science W13. From 40wiki
W13:Homework:H08 From 40wiki CS40 Foundations of Computer Science W13 W13:Exams W13:Homework in Class and Web Work W13:Calendar W13:Syllabus and Lecture Notes UCSB-CS40-W13 on Facebook (https://www.facebook.com/groups/ucsb.cs40.w13/)
More informationFunctions. How is this definition written in symbolic logic notation?
functions 1 Functions Def. Let A and B be sets. A function f from A to B is an assignment of exactly one element of B to each element of A. We write f(a) = b if b is the unique element of B assigned by
More informationFunctions 2/1/2017. Exercises. Exercises. Exercises. and the following mathematical appetizer is about. Functions. Functions
Exercises Question 1: Given a set A = {x, y, z} and a set B = {1, 2, 3, 4}, what is the value of 2 A 2 B? Answer: 2 A 2 B = 2 A 2 B = 2 A 2 B = 8 16 = 128 Exercises Question 2: Is it true for all sets
More informationCS16 Midterm Exam 1 E01, 10S, Phill Conrad, UC Santa Barbara Wednesday, 04/21/2010, 1pm-1:50pm
CS16 Midterm Exam 1 E01, 10S, Phill Conrad, UC Santa Barbara Wednesday, 04/21/2010, 1pm-1:50pm Name: Umail Address: @ umail.ucsb.edu Circle Lab section: 9am 10am 11am noon (Link to Printer Friendly-PDF
More information2. Functions, sets, countability and uncountability. Let A, B be sets (often, in this module, subsets of R).
2. Functions, sets, countability and uncountability I. Functions Let A, B be sets (often, in this module, subsets of R). A function f : A B is some rule that assigns to each element of A a unique element
More informationCS16 Midterm Exam 2 E02, 09F, Phill Conrad, UC Santa Barbara Wednesday, 11/18/2009
CS16 Midterm Exam 2 E02, 09F, Phill Conrad, UC Santa Barbara Wednesday, 11/18/2009 Name: Umail Address: @ umail.ucsb.edu Circle Lab section: 8AM 10AM 11AM noon Link to Printer Friendly PDF Version Answer
More informationMeeting 1 Introduction to Functions. Part 1 Graphing Points on a Plane (REVIEW) Part 2 What is a function?
Meeting 1 Introduction to Functions Part 1 Graphing Points on a Plane (REVIEW) A plane is a flat, two-dimensional surface. We describe particular locations, or points, on a plane relative to two number
More informationMITOCW watch?v=4dj1oguwtem
MITOCW watch?v=4dj1oguwtem PROFESSOR: So it's time to examine uncountable sets. And that's what we're going to do in this segment. So Cantor's question was, are all sets the same size? And he gives a definitive
More informationMAT 003 Brian Killough s Instructor Notes Saint Leo University
MAT 003 Brian Killough s Instructor Notes Saint Leo University Success in online courses requires self-motivation and discipline. It is anticipated that students will read the textbook and complete sample
More informationNotes on metric spaces and topology. Math 309: Topics in geometry. Dale Rolfsen. University of British Columbia
Notes on metric spaces and topology Math 309: Topics in geometry Dale Rolfsen University of British Columbia Let X be a set; we ll generally refer to its elements as points. A distance function, or metric
More informationFunctions. Def. Let A and B be sets. A function f from A to B is an assignment of exactly one element of B to each element of A.
Functions functions 1 Def. Let A and B be sets. A function f from A to B is an assignment of exactly one element of B to each element of A. a A! b B b is assigned to a a A! b B f ( a) = b Notation: If
More informationFunctions and Sequences Rosen, Secs. 2.3, 2.4
UC Davis, ECS20, Winter 2017 Discrete Mathematics for Computer Science Prof. Raissa D Souza (slides adopted from Michael Frank and Haluk Bingöl) Lecture 8 Functions and Sequences Rosen, Secs. 2.3, 2.4
More informationCS16 Midterm Exam 2 E02, 10W, Phill Conrad, UC Santa Barbara Tuesday, 03/02/2010
CS16 Midterm Exam 2 E02, 10W, Phill Conrad, UC Santa Barbara Tuesday, 03/02/2010 Name: Umail Address: @ umail.ucsb.edu Circle Lab section: 3PM 4PM 5PM Link to Printer Friendly PDF Version Please write
More informationComputation, Computers, and Programs. Administrivia. Resources. Course texts: Kozen: Introduction to Computability Hickey: Introduction to OCaml
CS20a: Computation, Computers, Programs Instructor: Jason Hickey Email: jyh@cs.caltech.edu Office hours: TR 10-11am TAs: Nathan Gray (n8gray@cs.caltech.edu) Brian Aydemir (emre@cs.caltech.edu) Jason Frantz
More information***PRACTICE EXAM 02 for*** CS16 Midterm Exam 2 E02, 09F, Phill Conrad, UC Santa Barbara Actual exam scheduled for: 11/18/2009
***PRACTICE EXAM 02 for*** CS16 Midterm Exam 2 E02, 09F, Phill Conrad, UC Santa Barbara Actual exam scheduled for: 11/18/2009 Name: Umail Address: @ umail.ucsb.edu Circle Lab section: 8AM 10AM 11AM noon
More informationMath 443/543 Graph Theory Notes
Math 443/543 Graph Theory Notes David Glickenstein September 3, 2008 1 Introduction We will begin by considering several problems which may be solved using graphs, directed graphs (digraphs), and networks.
More informationContinuity and Tangent Lines for functions of two variables
Continuity and Tangent Lines for functions of two variables James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University April 4, 2014 Outline 1 Continuity
More informationGrade 6 Math Circles November 6 & Relations, Functions, and Morphisms
Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Relations Let s talk about relations! Grade 6 Math Circles November 6 & 7 2018 Relations, Functions, and
More informationCS103 Handout 13 Fall 2012 May 4, 2012 Problem Set 5
CS103 Handout 13 Fall 2012 May 4, 2012 Problem Set 5 This fifth problem set explores the regular languages, their properties, and their limits. This will be your first foray into computability theory,
More informationIntroduction to Counting, Some Basic Principles
Introduction to Counting, Some Basic Principles These are the class notes for week. Before we begin, let me just say something about the structure of the class notes. I wrote up all of these class notes
More informationFormal Methods of Software Design, Eric Hehner, segment 1 page 1 out of 5
Formal Methods of Software Design, Eric Hehner, segment 1 page 1 out of 5 [talking head] Formal Methods of Software Engineering means the use of mathematics as an aid to writing programs. Before we can
More informationSurfaces and Partial Derivatives
Surfaces and Partial Derivatives James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 9, 2016 Outline Partial Derivatives Tangent Planes
More informationFIND RECTANGULAR COORDINATES FROM POLAR COORDINATES CALCULATOR
29 June, 2018 FIND RECTANGULAR COORDINATES FROM POLAR COORDINATES CALCULATOR Document Filetype: PDF 464.26 KB 0 FIND RECTANGULAR COORDINATES FROM POLAR COORDINATES CALCULATOR Rectangular to Polar Calculator
More informationMAT 090 Brian Killough s Instructor Notes Strayer University
MAT 090 Brian Killough s Instructor Notes Strayer University Success in online courses requires self-motivation and discipline. It is anticipated that students will read the textbook and complete sample
More informationMATHEMATICS 191, FALL 2004 MATHEMATICAL PROBABILITY Outline #1 (Countability and Uncountability)
MATHEMATICS 191, FALL 2004 MATHEMATICAL PROBABILITY Outline #1 (Countability and Uncountability) Last modified: September 16, 2004 Reference: Apostol, Calculus, Vol. 2, section 13.19 (attached). The aim
More informationCollege Algebra. Cartesian Coordinates and Graphs. Dr. Nguyen August 22, Department of Mathematics UK
College Algebra Cartesian Coordinates and Graphs Dr. Nguyen nicholas.nguyen@uky.edu Department of Mathematics UK August 22, 2018 Agenda Welcome x and y-coordinates in the Cartesian plane Graphs and solutions
More informationIntroduction to Sets and Logic (MATH 1190)
Introduction to Sets and Logic () Instructor: Email: shenlili@yorku.ca Department of Mathematics and Statistics York University Dec 4, 2014 Outline 1 2 3 4 Definition A relation R from a set A to a set
More informationCalculus (Math 1A) Lecture 1
Calculus (Math 1A) Lecture 1 Vivek Shende August 23, 2017 Hello and welcome to class! I am Vivek Shende I will be teaching you this semester. My office hours Starting next week: 1-3 pm on tuesdays; 2-3
More informationEDAA40 At home exercises 1
EDAA40 At home exercises 1 1. Given, with as always the natural numbers starting at 1, let us define the following sets (with iff ): Give the number of elements in these sets as follows: 1. 23 2. 6 3.
More informationMath 443/543 Graph Theory Notes
Math 443/543 Graph Theory Notes David Glickenstein September 8, 2014 1 Introduction We will begin by considering several problems which may be solved using graphs, directed graphs (digraphs), and networks.
More informationThe Language of Sets and Functions
MAT067 University of California, Davis Winter 2007 The Language of Sets and Functions Isaiah Lankham, Bruno Nachtergaele, Anne Schilling (January 7, 2007) 1 The Language of Sets 1.1 Definition and Notation
More informationPre-Algebra Notes Unit One: Variables, Expressions, and Integers
Pre-Algebra Notes Unit One: Variables, Expressions, and Integers Evaluating Algebraic Expressions Syllabus Objective: (.) The student will evaluate variable and numerical expressions using the order of
More informationSurfaces and Partial Derivatives
Surfaces and James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 15, 2017 Outline 1 2 Tangent Planes Let s go back to our simple surface
More informationCS16 Final Exam E03, 10S, Phill Conrad, UC Santa Barbara Wednesday, 06/09/2010
CS16 Final Exam E03, 10S, Phill Conrad, UC Santa Barbara Wednesday, 06/09/2010 Name: Umail Address: @ umail.ucsb.edu Circle Lab section: 9AM 10AM 11AM Noon Link to Printer Friendly PDF Version Please write
More informationLesson 15. Student Outcomes. Lesson Notes. Classwork. Opening (2 minutes) Opening Exercise (3 minutes) (optional)
Lesson 5 Lesson 5: Piecewise Functions Student Outcomes Students examine the features of piecewise functions including the absolute value function and step functions. Students understand that the graph
More informationCCNY Math Review Chapter 2: Functions
CCN Math Review Chapter : Functions Section.1: Functions.1.1: How functions are used.1.: Methods for defining functions.1.3: The graph of a function.1.: Domain and range.1.5: Relations, functions, and
More informationProblem One: A Quick Algebra Review
CS103A Winter 2019 Solutions for Week One Handout 01S Problem One: A Quick Algebra Review In the first week of CS103, we'll be doing a few proofs that will require some algebraic manipulations and reasoning
More information1 MATH 253 LECTURE NOTES for FRIDAY SEPT. 23,1988: edited March 26, 2013.
1 MATH 253 LECTURE NOTES for FRIDAY SEPT. 23,1988: edited March 26, 2013. TANGENTS Suppose that Apple Computers notices that every time they raise (or lower) the price of a $5,000 Mac II by $100, the number
More informationNOTE: All references to Python on this exam mean Python 3, so you should answer accordingly.
Name: (as it would appear on official course roster) Umail address: EXAM: : Midterm Exam ready? date points true Thu 08/24 09:30AM 100 @umail.ucsb.edu 1 You may not collaborate on this exam with anyone.
More informationMA651 Topology. Lecture 4. Topological spaces 2
MA651 Topology. Lecture 4. Topological spaces 2 This text is based on the following books: Linear Algebra and Analysis by Marc Zamansky Topology by James Dugundgji Fundamental concepts of topology by Peter
More informationSkill 1: Multiplying Polynomials
CS103 Spring 2018 Mathematical Prerequisites Although CS103 is primarily a math class, this course does not require any higher math as a prerequisite. The most advanced level of mathematics you'll need
More informationLesson 12: The Graph of the Equation y = f(x)
Classwork In Module 1, you graphed equations such as 4x + y = 10 by plotting the points on the Cartesian coordinate plane that corresponded to all of the ordered pairs of numbers (x, y) that were in the
More informationCMPSCI 250: Introduction to Computation. Lecture #1: Things, Sets and Strings David Mix Barrington 22 January 2014
CMPSCI 250: Introduction to Computation Lecture #1: Things, Sets and Strings David Mix Barrington 22 January 2014 Things, Sets, and Strings The Mathematical Method Administrative Stuff The Objects of Mathematics
More informationLecture 25 : Counting DRAFT
CS/Math 240: Introduction to Discrete Mathematics 4/28/2011 Lecture 25 : Counting Instructor: Dieter van Melkebeek Scribe: Dalibor Zelený DRAFT Today we start the last topic of the course, counting. For
More informationDigital Circuits ECS 371
Digital Circuits ECS 37 Dr. Prapun Suksompong prapun@siit.tu.ac.th Lecture 7 Office Hours: KD 36-7 Monday 9:-:3, :3-3:3 Tuesday :3-:3 Announcement HW2 posted on the course web site Chapter 4: Write down
More informationCS 3512, Spring Instructor: Doug Dunham. Textbook: James L. Hein, Discrete Structures, Logic, and Computability, 3rd Ed. Jones and Barlett, 2010
CS 3512, Spring 2011 Instructor: Doug Dunham Textbook: James L. Hein, Discrete Structures, Logic, and Computability, 3rd Ed. Jones and Barlett, 2010 Prerequisites: Calc I, CS2511 Rough course outline:
More information3. Determine whether f is a function from the set of all bit strings to the set of integers if
Exercises Exercises 1. Why is f not a function from R to R if a) f(x) = 1/x? b) c) 2. Determine whether f is a function from Z to R if a) f(n) = ± n. b). c) f(n) = 1/(n2 4). 3. Determine whether f is a
More informationMath Analysis Chapter 1 Notes: Functions and Graphs
Math Analysis Chapter 1 Notes: Functions and Graphs Day 6: Section 1-1 Graphs Points and Ordered Pairs The Rectangular Coordinate System (aka: The Cartesian coordinate system) Practice: Label each on the
More informationCS1 Lecture 3 Jan. 18, 2019
CS1 Lecture 3 Jan. 18, 2019 Office hours for Prof. Cremer and for TAs have been posted. Locations will change check class website regularly First homework assignment will be available Monday evening, due
More informationCS103 Handout 14 Winter February 8, 2013 Problem Set 5
CS103 Handout 14 Winter 2012-2013 February 8, 2013 Problem Set 5 This fifth problem set explores the regular languages, their properties, and their limits. This will be your first foray into computability
More information2.3: FUNCTIONS. abs( x)
2.3: FUNCTIONS Definition: Let A and B be sets. A function f is a rule that assigns to each element x A exactly one element y B, written y = f (x). A is called the domain of f and f is said to be defined
More informationFunctions and Relations
s and Relations Definitions and Examples E. Wenderholm Department of Computer Science SUNY Oswego c 2016 Elaine Wenderholm All rights Reserved E. Wenderholm s and Relations Outline 1 Java Methods Method
More informationMATH 021 UNIT 2 HOMEWORK ASSIGNMENTS
MATH 021 UNIT 2 HOMEWORK ASSIGNMENTS General Instructions You will notice that most of the homework assignments for a section have more than one part. Usually, the part (A) questions ask for explanations,
More informationLesson #17 Function Introduction
Lesson #17 Function Introduction A.A.37 A.A.40 A.A.41 Define a relation and function Write functions in functional notation Use functional notation to evaluate functions for given values in the domain
More informationJanuary 30, 2019 LECTURE 2: FUNCTIONS OF SEVERAL VARIABLES.
January 30, 2019 LECTURE 2: FUNCTIONS OF SEVERAL VARIABLES 110211 HONORS MULTIVARIABLE CALCULUS PROFESSOR RICHARD BROWN Synopsis Today we begin the course in earnest in Chapter 2, although, again like
More information6th Grade Report Card Mathematics Skills: Students Will Know/ Students Will Be Able To...
6th Grade Report Card Mathematics Skills: Students Will Know/ Students Will Be Able To... Report Card Skill: Use ratio reasoning to solve problems a ratio compares two related quantities ratios can be
More informationComputer Science and Mathematics. Part I: Fundamental Mathematical Concepts Winfried Kurth
Computer Science and Mathematics Part I: Fundamental Mathematical Concepts Winfried Kurth http://www.uni-forst.gwdg.de/~wkurth/csm17_home.htm 1. Mathematical Logic Propositions - can be either true or
More informationThe Size of the Cantor Set
The Size of the Cantor Set Washington University Math Circle November 6, 2016 In mathematics, a set is a collection of things called elements. For example, {1, 2, 3, 4}, {a,b,c,...,z}, and {cat, dog, chicken}
More informationCS 1803 Pair Homework 3 Calculator Pair Fun Due: Wednesday, September 15th, before 6 PM Out of 100 points
CS 1803 Pair Homework 3 Calculator Pair Fun Due: Wednesday, September 15th, before 6 PM Out of 100 points Files to submit: 1. HW3.py This is a PAIR PROGRAMMING Assignment: Work with your partner! For pair
More informationCS583 Lecture 01. Jana Kosecka. some materials here are based on Profs. E. Demaine, D. Luebke A.Shehu, J-M. Lien and Prof. Wang s past lecture notes
CS583 Lecture 01 Jana Kosecka some materials here are based on Profs. E. Demaine, D. Luebke A.Shehu, J-M. Lien and Prof. Wang s past lecture notes Course Info course webpage: - from the syllabus on http://cs.gmu.edu/
More information2/18/14. Uses for Discrete Math in Computer Science. What is discrete? Why Study Discrete Math? Sets and Functions (Rosen, Sections 2.1,2.2, 2.
Why Study Discrete Math? Sets and Functions (Rosen, Sections 2.1,2.2, 2.3) TOPICS Discrete math Set Definition Set Operations Tuples Digital computers are based on discrete units of data (bits). Therefore,
More informationPoint-Set Topology 1. TOPOLOGICAL SPACES AND CONTINUOUS FUNCTIONS
Point-Set Topology 1. TOPOLOGICAL SPACES AND CONTINUOUS FUNCTIONS Definition 1.1. Let X be a set and T a subset of the power set P(X) of X. Then T is a topology on X if and only if all of the following
More informationSOFTWARE ENGINEERING DESIGN I
2 SOFTWARE ENGINEERING DESIGN I 3. Schemas and Theories The aim of this course is to learn how to write formal specifications of computer systems, using classical logic. The key descriptional technique
More informationCMSC 201 Fall 2016 Homework 6 Functions
CMSC 201 Fall 2016 Homework 6 Functions Assignment: Homework 6 Functions Due Date: Wednesday, October 26th, 2016 by 8:59:59 PM Value: 40 points Collaboration: For Homework 6, collaboration is not allowed
More informationDiscrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Midterm 1
CS 70 Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Midterm 1 PRINT Your Name:, (last) SIGN Your Name: (first) PRINT Your Student ID: CIRCLE your exam room: 1 Pimentel 141 Mccone
More informationDiscrete Mathematics Introduction
Discrete Mathematics Introduction Saad Mneimneh 1 Introduction College mathematics will often focus on calculus, and while it is true that calculus is the most important field that started modern mathematics,
More informationMITOCW watch?v=kz7jjltq9r4
MITOCW watch?v=kz7jjltq9r4 PROFESSOR: We're going to look at the most fundamental of all mathematical data types, namely sets, and let's begin with the definitions. So informally, a set is a collection
More informationFrom the Grade 8, High School, Functions Progression Document, pp. 7-8:
Time Frame: Approximately 2-3 weeks Connections to Previous Learning: Students use their knowledge of expressions and equations to evaluate functions and to rewrite when necessary. They also use rigid
More informationCS8 Final Exam E03, 09M, Phill Conrad, UC Santa Barbara 09/10/2009
CS8 Final Exam E03, 09M, Phill Conrad, UC Santa Barbara 09/10/2009 Name: Umail Address: @ umail.ucsb.edu Please write your name only on this page. That allows me to grade your exams without knowing whose
More informationStructure and Interpretation of Computer Programs
CS 6A Fall 206 Structure and Interpretation of Computer Programs Final Solutions INSTRUCTIONS You have hours to complete the exam. The exam is closed book, closed notes, closed computer, closed calculator,
More informationChoose the file menu, and select Open. Input to be typed at the Maple prompt. Output from Maple. An important tip.
MAPLE Maple is a powerful and widely used mathematical software system designed by the Computer Science Department of the University of Waterloo. It can be used for a variety of tasks, such as solving
More informationDiscrete Mathematics Lecture 4. Harper Langston New York University
Discrete Mathematics Lecture 4 Harper Langston New York University Sequences Sequence is a set of (usually infinite number of) ordered elements: a 1, a 2,, a n, Each individual element a k is called a
More informationLecture 1 (Part 1) Introduction/Overview
UMass Lowell Computer Science 91.503 Analysis of Algorithms Prof. Karen Daniels Fall, 2013 Lecture 1 (Part 1) Introduction/Overview Monday, 9/9/13 Web Page Web Page http://www.cs.uml.edu/~kdaniels/courses/alg_503_f13.html
More informationγ(ɛ) (a, b) (a, d) (d, a) (a, b) (c, d) (d, d) (e, e) (e, a) (e, e) (a) Draw a picture of G.
MAD 3105 Spring 2006 Solutions for Review for Test 2 1. Define a graph G with V (G) = {a, b, c, d, e}, E(G) = {r, s, t, u, v, w, x, y, z} and γ, the function defining the edges, is given by the table ɛ
More informationFigure 1.1: This is an illustration of a generic set and its elements.
Chapter 1 Mathematical Review et theory is now generally accepted as the foundation of modern mathematics, and it plays an instrumental role in the treatment of probability. Unfortunately, a simple description
More information: Dimension. Lecturer: Barwick. Wednesday 03 February 2016
18.06.01: Dimension Lecturer: Barwick Wednesday 03 February 2016 What is dimension? Line segments are 1-dimensional; here s one now: Planar regions are 2-dimensional; here s one: Finally, cubes are 3-dimensional:
More information13 th Annual Johns Hopkins Math Tournament Saturday, February 18, 2012 Explorations Unlimited Round Automata Theory
13 th Annual Johns Hopkins Math Tournament Saturday, February 18, 2012 Explorations Unlimited Round Automata Theory 1. Introduction Automata theory is an investigation of the intersection of mathematics,
More information} Evaluate the following expressions: 1. int x = 5 / 2 + 2; 2. int x = / 2; 3. int x = 5 / ; 4. double x = 5 / 2.
Class #10: Understanding Primitives and Assignments Software Design I (CS 120): M. Allen, 19 Sep. 18 Java Arithmetic } Evaluate the following expressions: 1. int x = 5 / 2 + 2; 2. int x = 2 + 5 / 2; 3.
More informationToday s Topics. What is a set?
Today s Topics Introduction to set theory What is a set? Set notation Basic set operations What is a set? Definition: A set is an unordered collection of objects Examples: Sets can contain items of mixed
More informationCardinality of Sets. Washington University Math Circle 10/30/2016
Cardinality of Sets Washington University Math Circle 0/0/06 The cardinality of a finite set A is just the number of elements of A, denoted by A. For example, A = {a, b, c, d}, B = {n Z : n } = {,,, 0,,,
More informationRadicals and Rational Exponents
Radicals and Rational Exponents CHAPTER 9 Purestock/SuperStock Math at Work: Computer Support Specialist OUTLINE Study Strategies: Know Your School 9.1 Radical Expressions and Functions 9.2 Rational Exponents
More informationMath 55 - Spring 04 - Lecture notes # 1 - Jan 20 (Tuesday)
Math 55 - Spring 04 - Lecture notes # 1 - Jan 20 (Tuesday) Name, class, URL (www.cs.berkeley.edu/~demmel/ma55) on board Head TA Mike West speaks on bureaucracy Advertise CS 70 (T Th 2-3:30) as an "honors"
More informationLet A(x) be x is an element of A, and B(x) be x is an element of B.
Homework 6. CSE 240, Fall, 2014 Due, Tuesday October 28. Can turn in at the beginning of class, or earlier in the mailbox labelled Pless in Bryan Hall, room 509c. Practice Problems: 1. Given two arbitrary
More informationMath Analysis Chapter 1 Notes: Functions and Graphs
Math Analysis Chapter 1 Notes: Functions and Graphs Day 6: Section 1-1 Graphs; Section 1- Basics of Functions and Their Graphs Points and Ordered Pairs The Rectangular Coordinate System (aka: The Cartesian
More informationFormal Methods of Software Design, Eric Hehner, segment 24 page 1 out of 5
Formal Methods of Software Design, Eric Hehner, segment 24 page 1 out of 5 [talking head] This lecture we study theory design and implementation. Programmers have two roles to play here. In one role, they
More informationMath Introduction to Advanced Mathematics
Math 215 - Introduction to Advanced Mathematics Number Theory Fall 2017 The following introductory guide to number theory is borrowed from Drew Shulman and is used in a couple of other Math 215 classes.
More informationExtra Practice Problems 2
CS103 Handout 31 Fall 2018 October 29, 2018 Extra Practice Problems 2 Here's a set of a bunch of practice problems you can work through to solidify your understanding of the topics from Problem Sets Three,
More informationCS 101 Computer Science I. CS1101 Computer Science I. Today 1/27/16. Spring Robert Muller Boston College. What this course is about.
1/27/16 CS 101 CS1101 Spring 2016 Robert Muller Boston College Today What this course is about LogisCcs Course administracon 1 Super TA Staff (03 OCaml) Nick Denari Lab 03 Higgins 280 Tuesdays 4PM Meagan
More informationAlgebra 2 Common Core Summer Skills Packet
Algebra 2 Common Core Summer Skills Packet Our Purpose: Completion of this packet over the summer before beginning Algebra 2 will be of great value to helping students successfully meet the academic challenges
More informationAP Calculus. Slide 1 / 213 Slide 2 / 213. Slide 3 / 213. Slide 4 / 213. Slide 4 (Answer) / 213 Slide 5 / 213. Derivatives. Derivatives Exploration
Slide 1 / 213 Slide 2 / 213 AP Calculus Derivatives 2015-11-03 www.njctl.org Slide 3 / 213 Table of Contents Slide 4 / 213 Rate of Change Slope of a Curve (Instantaneous ROC) Derivative Rules: Power, Constant,
More informationCS 242. Fundamentals. Reading: See last slide
CS 242 Fundamentals Reading: See last slide Syntax and Semantics of Programs Syntax The symbols used to write a program Semantics The actions that occur when a program is executed Programming language
More informationDiscrete Mathematics and Probability Theory Fall 2015 Rao Midterm 1
CS 70 Discrete Mathematics and Probability Theory Fall 2015 Rao Midterm 1 PRINT Your Name:, (last) SIGN Your Name: (first) PRINT Your Student ID: CIRCLE your exam room: 2050 VLSB A1 Hearst Annex 120 Latimer
More informationDirect Variations DIRECT AND INVERSE VARIATIONS 19. Name
DIRECT AND INVERSE VARIATIONS 19 Direct Variations Name Of the many relationships that two variables can have, one category is called a direct variation. Use the description and example of direct variation
More information.Math 0450 Honors intro to analysis Spring, 2009 Notes #4 corrected (as of Monday evening, 1/12) some changes on page 6, as in .
0.1 More on innity.math 0450 Honors intro to analysis Spring, 2009 Notes #4 corrected (as of Monday evening, 1/12) some changes on page 6, as in email. 0.1.1 If you haven't read 1.3, do so now! In notes#1
More informationStructure and Interpretation of Computer Programs
CS 61A Fall 2016 Structure and Interpretation of Computer Programs Final INSTRUCTIONS You have 3 hours to complete the exam. The exam is closed book, closed notes, closed computer, closed calculator, except
More informationLecture 7: the quotient topology
Lecture 7: the quotient topology Saul Glasman September 21, 2016 Why couldn t we say that a homeomorphism was just a continuous bijection? Why did we have to explicitly require the inverse to be continuous
More informationCS1 Lecture 3 Jan. 22, 2018
CS1 Lecture 3 Jan. 22, 2018 Office hours for me and for TAs have been posted, locations will change check class website regularly First homework available, due Mon., 9:00am. Discussion sections tomorrow
More information#101 Page: 1 Name: CS32 Midterm Exam. E01, W15, Phill Conrad, UC Santa Barbara
1 # Page: 1 Name: CS32 Midterm E01, W15, Phill Conrad, UC Santa Barbara Wednesday, 04/30/2015, 9:30am 10:45am Name: Umail Address: @ umail.ucsb.edu Please write your name above AND AT THE TOP OF EVERY
More informationIn our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology.
Guide to and Hi everybody! In our first lecture on sets and set theory, we introduced a bunch of new symbols and terminology. This guide focuses on two of those symbols: and. These symbols represent concepts
More informationKOMAR UNIVERSITY OF SCIENCE AND TECHNOLOGY (KUST)
Programming Concepts & Algorithms Course Syllabus Course Title Course Code Computer Department Pre-requisites Course Code Course Instructor Programming Concepts & Algorithms + lab CPE 405C Computer Department
More information