Https://www.youtube.com/watch?v=a0YrCABCOEY.

Slides:



Advertisements
Similar presentations
Math 191: Mathematics and Geometry for Designers Lecture Notes Based on The Book Mathematics in Our World by Allan G. Bluman.
Advertisements

LESSON 4-1 DIVISIBILITY.
WHAT ARE OPERATIONS ??? ALTHOUGH NUMBERS ARE THE MOST IMPORTANT PART OF MATH, WE WOULDN’T BE ABLE TO DO ANYTHING WITH THEM WITHOUT OPERATIONS! + - x.
The Fundamental Property of Rational Expressions
Algebra Problems… Solutions Algebra Problems… Solutions © 2007 Herbert I. Gross Set 4 By Herb I. Gross and Richard A. Medeiros next.
Copyright © 2005 Pearson Education, Inc. 5.3 The Rational Numbers.
College Algebra Fifth Edition
The Game of Algebra or The Other Side of Arithmetic The Game of Algebra or The Other Side of Arithmetic © 2007 Herbert I. Gross by Herbert I. Gross & Richard.
© 2012 Common Core, Inc. All rights reserved. commoncore.org NYS COMMON CORE MATHEMATICS CURRICULUM Exemplar Module Analysis Grade 8 – Module 1.
Algebra Problems… Solutions Algebra Problems… Solutions © 2007 Herbert I. Gross Set 2 By Herbert I. Gross and Richard A. Medeiros next.
Arithmetic of Positive Integer Exponents © Math As A Second Language All Rights Reserved next #10 Taking the Fear out of Math 2 8 × 2 4.
Real Numbers and Algebraic Expressions
Problem Determination Your mind is your most important tool!
Edexcel GCSE Maths Spec B – Modular: Booster C © Pearson Education This document may have been altered from the original. To demonstrate how to simplify.
Base: the number that is multiplied Power: the number that is expressed as the exponent Exponent: tell how many times the base is used as a factor Standard.
Prime Numbers A whole number greater than 1 whose only whole number factors are 1 and itself
Exponents and Squares Numbers and Operations. Exponents and Powers Power – the result of raising a base to an exponent. Ex. 3 2 Base – the number being.
Ch 1.3 – Order of Operations
ORDER OF OPERATIONS x 2 Evaluate the following arithmetic expression: x 2 Each student interpreted the problem differently, resulting in.
Chapter Twenty-ThreeModern Programming Languages1 Formal Semantics.
Quiz Time!! Clear your desk (except for pencil, calculator, and paper - if you want).
CONFIDENTIAL1 Good Afternoon! Today we will be learning about Number stories & expressions Let’s warm up : Simplify. Follow the order of operations:- 1)
Algebra Problems… Solutions Algebra Problems… Solutions © 2007 Herbert I. Gross Set 10 By Herbert I. Gross and Richard A. Medeiros next.
Multiplication and other Math Concepts Math The more you use math, the more you realize how all the parts of math are connected to each other like pieces.
Exponents. What we want is to see the child in pursuit of knowledge, and not knowledge in pursuit of the child. George Bernard Shaw.
Warm-up, 3/28 Compute: 1. 2 x 2 x 2 x 2 = 2. 3 x 3 x 3 = 3. 2 x 2 x 3 x 3 x 3 = 4. 5 x 5 x 2 x 2 = 5. 2 x 2 x 4 =
Topic 4 Real Numbers Rational Numbers To express a fraction as a decimal, divide the numerator by the denominator.
CONFIDENTIAL1 Good Afternoon! Today we will be learning about Review of Expressions, Variables, equations & Functions Let’s warm up : 1) Simplify: 4 x.
Math 010 online work that was due today at the start of class: Gateway Homework #2 (turn in worksheet now, while I take roll) Section 1.4/1.5 Online Homework.
CS 151: Digital Design Chapter 4: Arithmetic Functions and Circuits
Algebra is a branch of mathematics that uses letters and symbols to represent numbers. It behaves the same way arithmetic does when it comes to addition,
Variables and Expressions Order of Operations Real Numbers and the Number Line Objective: To solve problems by using the order of operations.
ADD To get next term Have a common difference Arithmetic Sequences Geometric Sequences MULTIPLY to get next term Have a common ratio.
Powers and Exponents Intro to Algebra Farris.  I can write and evaluate expressions using exponents.
1.8 Dividing Real Numbers Objectives To Divide Real Numbers To evaluate algebraic expressions involving multiplication and division.
Slide Copyright © 2009 Pearson Education, Inc. Welcome to MM 150 Survey of Mathematics.
Thinking about programming
WARM UP The least common denominator of the fractions and is
EGR 2261 Unit 11 Pointers and Dynamic Variables
Thinking Mathematically
Introduction How long does a car traveling at 70 mph take to travel 88 miles, in hours? How many terms are in the expression: 36x + 27xy – 18y – 9? 5 word.
Assignment and Arithmetic expressions
Thinking about programming
2x - 7 Expression 4x 4x + 7 Y – 3 3 / w = 7 2 X 2x=10 +
Computer Architecture CST 250
“A man with a watch knows what time it is
Copyright 2012, 2008, 2004, 2000 Pearson Education, Inc.
Notes Over 2.1 Function {- 3, - 1, 1, 2 } { 0, 2, 5 }
FOUR RULES OF WHOLE NUMBERS
Turing Machines (TM) Deterministic Turing Machine (DTM)
Procedural versus Functional Programming
Lecture 15 (Notes by P. N. Hilfinger and R. Bodik)
Chapter Five: Nondeterministic Finite Automata
Graphs, Linear Equations, and Functions
Rules of evaluation The value of a number is itself.
Copyright © Cengage Learning. All rights reserved.
Expressions and Assignment
Introduction How long does a car traveling at 70 mph take to travel 88 miles, in hours? How many terms are in the expression: 36x + 27xy – 18y – 9? 5 word.
A mathematical phase containing numbers.
Exponents and Order of Operations
A mathematical phase containing numbers.
Lecture 5 Binary Operation Boolean Logic. Binary Operations Addition Subtraction Multiplication Division.
The Order of Operations Unit 1 Lesson 3
Functions and Tables.
IB Exam Paper 1 – 90 minutes You read 4 to 5 articles
GSE Coordinate Algebra
Definitions Identifying Parts.
Rules of evaluation The value of a number is itself.
FUNCTION MACHINES This is a function machine: Input output
Recognize the Operation
Presentation transcript:

https://www.youtube.com/watch?v=a0YrCABCOEY

Boathouses and Houseboats https://xkcd.com/2043/

Texts and their denotations 7.5 17 CS17 cs17 + * (a b c) (+ 3 7) (a (b c d) e) (* (+ 1 2) 4) The number seven and a half. The number seventeen. The symbol CS17. The symbol cs17 (which is different). The symbol +. The symbol *. The list consisting of three symbols: a, b, and c. The list consisting of: the symbol + and numbers 3 and 7. The list consisting of: the symbol a, the list consisting of symbols b, c, and d, and the symbol e. The list consisting of: the symbol *, the list consisting of symbol + and numbers 1 and 2, and the number 4.

Rules of evaluation The value of a number is itself. The value of a Boolean is itself. The value of a symbol is the data object it is bound to. The value of a list is obtained as follows: First evaluate each item in the list. The first item should evaluate to a procedure. Apply the procedure to the values of the rest of the items. The result of the procedure application is the value of the list.

Examples (in arithmetic) The symbol + is bound to the addition procedure. The symbol * is bound to the multiplication procedure. The symbol / is bound to the division procedure. The symbol - is bound to the subtraction procedure.

Rules of evaluation The value of a number is itself. The value of a Boolean is itself. The value of a symbol is the data object it is bound to. The value of a list is obtained as follows: First evaluate each item in the list. The first item should evaluate to a procedure. Apply the procedure to the values of the rest of the items. The result of the procedure application is the value of the list. Questions: What does bound to mean? What is a procedure? What does it mean to apply a procedure?

Is there something wrong with that definition? What is an expression? A number, or a Boolean, or a symbol, or a list consisting of one or more items, such that each item is an expression, and the value of the first item is a procedure. Is there something wrong with that definition?

Richard Stallman’s GNU project “GNU” is defined as “GNU is not Unix” Richard Stallman started the open-source software movement. Linux is based, technically and philosophically, on GNU. [GNU is] a technical means to a social end. By Thesupermat - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=37264906

Open Source https://xkcd.com/344/

Other recursive/inductive definitions A LISP data object is a symbol, number, or Boolean, or a list whose items are LISP data objects. A Foo is “#”, or “*” followed by a Foo, followed by “-”. LISP data objects Quiz: How can you tell whether ************# - - - - - - - - - - is a Foo?

Recursive/Inductive definition of expression A number, or a Boolean, or a symbol, or a list consisting of one or more items, such that each item is an expression, and the value of the first item is a procedure. Those items in the list are called subexpressions of whole expression.

Evaluation versus a function Even for a legal input, evaluation can FAIL! A symbol might not be bound to anything. A procedure itself could fail, which causes evaluation to fail.

Rules of evaluation The value of a number is itself. The value of a Boolean is itself. The value of a symbol is the data object it is bound to. The value of a list is obtained as follows: First evaluate each item in the list. The first item should evaluate to a procedure. Apply the procedure to the values of the rest of the items. The result of the procedure application is the value of the list. Each procedure has a rule as to what inputs it can be applied to. Examples: The addition procedure can only be applied to numbers. The division procedure can only be applied to numbers, and all but the first must be nonzero.

Functions represented as machines 13 7 10 Add 3 16 10 23 For a function, for any legal input there is an output. We say a function is total.

Health Get sleep. The main benefit of caffeine is staving off the effects of caffeine withdrawal. Get exercise. At least move around every thirty minutes. Treat others in the community with respect and kindness. If you are sick, take care of yourself (rest up; let the course staff know if you need extension) others (if you are contagious, don’t come to class or lab or TA hours or professor hours) University has resources to help you if you are stressed, etc.