Introduction Session 4. Generate the first N Fibonacci #s 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144,... The nth Fibonacci number is the sum of the.

Slides:



Advertisements
Similar presentations
Polaris Coordinates of a Vector How can we represent a vector? -We plot an arrow: the length proportional to magnitude of vector the line represents the.
Advertisements

MATRIX MULTIPLICATION Brought to you by Tutorial Services – The Math Center.
Homework – Chapter 1 作業解答. Problem 1 Given the Fibonacci number as … where the next Fibonacci number will be the sum of its previous.
ET-314 Week 11 Nov 7, 2014 Topic(s): 19.1 Vectors.
Test practice Multiplication. Multiplication 9x2.
C1 Chapter 6 Arithmetic Series Dr J Frost Last modified: 7 th October 2013.
”assert” and ”retract”
Arithmetic Sequences and Series Unit Definition Arithmetic Sequences – A sequence in which the difference between successive terms is a constant.
Universal Gates Sum of Products Products of Sum
Image Processing Using Cilk 1 Parallel Processing – Final Project Image Processing Using Cilk Tomer Y & Tuval A (pp25)
Polar Coordinates (MAT 170) Sections 6.3
Data Clustering (a very short introduction) Intuition: grouping of data into clusters so that elements from the same cluster are more similar to each other.
General Computer Science for Engineers CISC 106 Lecture 08 James Atlas Computer and Information Sciences 9/21/2009.
Number Patterns. What are they? Number patterns are a non-ending list of numbers that follow some sort of pattern from on number to the next.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
Notes Over 11.3 Geometric Sequences
Honors Precalculus: Do Now Find the nth term of the sequence whose first several terms are given. Find the first 4 terms of the given recursively defined.
Polar Coordinates. Common Coordinate Systems There are two common coordinate systems: Cartesian Rectangular Coordinate SystemPolar Coordinate System.
Fractals – Lesson 1 Introduction to Fractals. CEDS – Study Plus in Cornwall Lesson 1 - Overview 1.What do you know already? 2.What is a fractal? 3.Making.
AN INTRODUCTION TO ELEMENTARY ROW OPERATIONS Tools to Solve Matrices.
Vectors Readings: Chapter 3. Vectors Vectors are the objects which are characterized by two parameters: magnitude (length) direction These vectors are.
Assignment Comments. Report Structure Abstract Write at end Not just a list of contents – Not a to do list – Not a to be done list Summary of article.
Sequences and Summations
Vector Addition – Computational Method Example 1 Slide 3.
Notes Over 11.2 Arithmetic Sequences An arithmetic sequence has a common difference between consecutive terms. The sum of the first n terms of an arithmetic.
Sequences & Series. Sequences  A sequence is a function whose domain is the set of all positive integers.  The first term of a sequences is denoted.
Fibonacci plays the National Lottery An Investigation.
Sequences and Summations Section 2.4. Section Summary Sequences. – Examples: Geometric Progression, Arithmetic Progression Recurrence Relations – Example:
Copyright © 2007 Pearson Education, Inc. Slide , 2, 4, 8, 16 … is an example of a geometric sequence with first term 1 and each subsequent term is.
Sequences & Series Section 13.1 & Sequences A sequence is an ordered list of numbers, called terms. The terms are often arranged in a pattern.
Spot the Pattern Look for the pattern with the sequence of number and write the next 2 numbers in the pattern. 5, 8, 11, 14, , 10,
Week 4 Warm Up ) Geometric or Arithmetic? -2, 4, -8, 16, -32, 64,…
Sec 3.3: Differentiation Rules Example: Constant function.
Meeting 18 Matrix Operations. Matrix If A is an m x n matrix - that is, a matrix with m rows and n columns – then the scalar entry in the i th row and.
Sullivan Algebra and Trigonometry: Section 12.3 Objectives of this Section Write the Augmented Matrix of a System of Linear Equations Write the System.
Sec 3.1: DERIVATIVES of Polynomial and Exponential Example: Constant function.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 5 Number Theory and the Real Number System.
Infinite Geometric Series Recursion & Special Sequences Definitions & Equations Writing & Solving Geometric Series Practice Problems.
What is Matrix Multiplication? Matrix multiplication is the process of multiplying two matrices together to get another matrix. It differs from scalar.
Essential Questions Introduction to Sequences
Introduction Session 1. R as a Giant Calculator Demo: Set 1.
Matrix Multiplication The Introduction. Look at the matrix sizes.
CS 450: COMPUTER GRAPHICS TRANSFORMATIONS SPRING 2015 DR. MICHAEL J. REALE.
Sequences, Series, and Sigma Notation
12.3 – Analyze Geometric Sequences and Series. Geometric Sequence: Ratio of any term to the previous term is constant Common Ratio: Ratio each term is.
Patterns in Sequences. Number patterns Sequences of numbers can have interesting patterns. Here we list the most common patterns and how they are made.
Do Now Solve the inequality and come up with a real world scenario that fits the solution. Also Pick up a textbook.
8.1 – Sequences and Series. Sequences Infinite sequence = a function whose domain is the set of positive integers a 1, a 2, …, a n are the terms of the.
Precalculus Jeopardy Trigonometric Identities VectorsTriangles Logarithms Polar Coordinates Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q.
COMPUTER GRAPHICS AND LINEAR ALGEBRA AN INTRODUCTION.
Robotic Arms and Matrices By Chris Wong and Chris Marino.
Optimal Corridor Analysis (Total Accumulated Surface)
12-1 Organizing Data Using Matrices
Sequences and Series 9.1.
© T Madas.
Solve more difficult number problems mentally
Warm Up Find each product, if possible. 1. AB 2. BA.
Physics 111 Practice Problem Solutions 01 Units, Measurement, Vectors SJ 8th Ed.: Ch , 3.1 – 3.4 Contents: 1-7, 1-9, 1-10, 1-12, 1-15, 1-21* 3-5,
課程大綱 OUTLINE Double Integrals(二重積分) Triple Integrals(三重積分)
Number Patterns.
/s Fig. P3.18, p.72.
Divisibility Rules.
2.2 Introduction to Matrices
Adding & Subtracting Decimals
Divisibility Rules.
Aside: projections onto vectors
TransCAD Working with Matrices 2019/4/29.
Graphing and Introduction to Algebra
LANGUAGE EDUCATION.
Presentation transcript:

Introduction Session 4

Generate the first N Fibonacci #s 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144,... The nth Fibonacci number is the sum of the previous two numbers. In other words, F n =F n-1 +F n-2 F 0 =0, F 1 =1

Generate the first N Fibonacci #s Human language: Generating a list of the first n Fibonacci numbers involves knowing what the value of “n” is. Creating an empty vector called myFibs with n spots Fill spot 1 with 0 and spot 2 with 1 For each spot number, starting with 3, and ending with n, fill that spot with the sum of what’s in the previous two spots Output the list of numbers Programming Language: fibonacci = function(n){ myFibs = rep(0,n) myFibs[1] = 0 myFibs[2] = 1 for(spot in 3:n){ myFibs[spot] = myFibs[spot-1] + myFibs[spot-2] } return(myFibs) }

Polar Coordinates

Matrix Multiplication