# CS-257L Nonimperative Programming: Scheme!

Size: px
Start display at page:

Transcription

1 CS-257L Nonimperative Programming: Scheme! Instructor: Joel Castellanos Web: Office: Farris Engineering Center (FEC room 321 Scheme Vectors Vectors applied in the Chaos Game Vectors to define Matrix Quiz Friday Bring to class a short (2 to 5 minute demo of a cool / novel / artistic l- system drawn by your l-system scheme code. Content: May show off whatever extra credit you did. May be a new l-system that you make up. May be an l-system you find on the Internet or in a book and draw with your Scheme software. Content format: May be a JPEG or PNG image. May be a few PowerPoint slides. May be running scheme code. Media: Your laptop connected to the projector USB drive. 2 1

2 Scheme Vectors (define x ref x 2 -set! x 2 33 x #4( #5( #5( Vectors of Objects: Pens (define penvector (instantiate pen% ("RoyalBlue" 4 'solid (instantiate pen% ("DarkOrchid" 4 'solid (instantiate pen% ("MediumSeaGreen" 4 'solid (instantiate pen% ("Crimson" 4 'solid (instantiate pen% ("OrangeRed" 4 'solid (define getpen (lambda (idx -ref penvector idx 4 2

3 Vectors of Objects: Vertices ;Vertices of equilateral triangle (ChaosGame (- 1.0 (sin (/ pi 3.0 (define getx (lambda (idx -ref -ref vertexvector idx 0 (define gety (lambda (idx -ref -ref vertexvector idx 1 5 Sierpiński Triangle via Chaos Game 1. Define the vertices of an equilateral triangle inscribed in a unit square. 2. Choose a random point, p 0, within the unit square. 3. Choose a random vertex v i of the equilateral triangle. 4. Iteratively define p i to be the midpoint of the line segment with endpoints p i-1 and v i. 5. Excepting the first few points, the set {p i, p i+1,... p n } form the Sierpiński Triangle. 6 3

4 Sierpiński Triangle: World to Screen ;Since the triangle is inscribed in a unit square, ;The only offset needed is the border. (set! scale (- (- (min drawwidth drawheight border border (define getscreenx (lambda (x (+ (floor (* x scale border (define getscreeny (lambda (y (+ (floor (* y scale border 7 Sierpiński Triangle: plot-ball (define plot-ball (lambda (dc x y idx (send dc set-pen (getpen idx (send dc draw-ellipse (- (getscreenx x 3 (- (getscreeny y

5 Sierpiński Triangle: DrawVertexies (define DrawVertexies (lambda (dc (do ((i 0 (+ i 1 ((>= i vertexcount (plot-ball dc (getx i (gety i i (send dc set-pen pen-black (let ((ii (modulo (+ i 1 vertexcount (plot-line dc (getx i (gety i (getx ii (gety ii 9 Sierpiński Triangle: Main Loop (do ((i 0 (+ i 1 ((> i (sleep.001 (set! idx (inexact->exact (floor (* (random vertexcount (set! x (/ (+ x (getx idx 2 (set! y (/ (+ y (gety idx 2 (plot dc x y 10 5

6 Chaos Game First 10 Points (ChaosGame ;Vertices of ;Equilateral Triangle (- 1.0 (sin (/ pi ;points 0 Points are colored green blue or violet to match the color of the next randomly chosen vertex. 11 Chaos Game Equilateral Triangle (ChaosGame ;Vertices of ;Equilateral Triangle (- 1.0 (sin (/ pi ;points 12 6

7 Chaos Game Regular Pentagon (ChaosGame ;Vertices of ;regular pentagon ;points 13 Lists as Function Arguments (define faa (lambda ( (define mylist '("Abby" "Bill" "Carl" (baa mylist (display mylist (newline (define baa (lambda (locallist (set! locallist '("Abby" "ZZZZZ" "Carl" (display locallist (newline (faa (Abby ZZZZZ Carl (Abby Bill Carl 14 7

8 Vectors as Function Arguments (define foo (lambda ( (define myvector "Abby" "Bill" "Carl" (boo myvector (display myvector (newline (define boo (lambda (localvector -set! localvector 1 "XXXXX" (display localvector (newline (foo #(Abby XXXXX Carl #(Abby XXXXX Carl 15 Vector - Copy by Reference (define fun (lambda (myvector1 (define myvector2 myvector1 -set! myvector2 1 "YYYYY" (display myvector1 (newline (display myvector2 (newline (fun "Abby" "Bill" "Carl" #(Abby YYYYY Carl #(Abby YYYYY Carl 16 8

9 Vector - Copy by Value (define fun (lambda (myvector1 (define myvector2 (apply vector ->list myvector1 -set! myvector2 1 "YYYYY" (display myvector1 (newline (display myvector2 (newline (fun "Abby" "Bill" "Carl" #(Abby Bill Carl #(Abby YYYYY Carl 17 Nested Vectors (define f1 (lambda (myvector1 (define myvector2 (apply vector ->list myvector1 (define myvector3 (apply vector ->list myvector1 -set! myvector set! -ref myvector (display myvector1 (newline (display myvector2 (newline (display myvector3 (newline (f #(#(1 2 #(333 8 #(11 12 (apply uses #(#(77 88 #(333 8 #(11 12 Flat Recursion not #(#(1 2 #(333 8 #(11 12 Deep Recursion 18 9

10 copyvectoroforderedpairsbyvalue (define copyvectoroforderedpairsbyvalue (lambda (source sink (define x 0 (define y 0 (do ((i 0 (+ i 1 ((>= i -length source (set! x -ref -ref source i 0 (set! y -ref -ref source i 1 -set! -ref sink i 0 x -set! -ref sink i 1 y (define v (define v (copyvectoroforderedpairsbyvalue v1 v2 -set! -ref v (display v1 (newline (display v2 (newline #(#(1 2 #(7 8 #(#(333 2 #(7 8 What are possible errors? 19 Matrix ;Defines a 2D Matrix class. (define matrix (lambda (columns rows (define myvector (make-vector (+ 1 (* rows columns 0 ;Save the number of rows in myvector[0] ;This is needed for referencing elements. -set! myvector 0 rows myvector 20 10

11 Matrix Setting an Element ;Use analogous syntax to -set!... (define matrix-set! (lambda (myvector x y value (define rows -ref myvector 0 -set! myvector (+ (+ (* rows x y 1 value 21 Matrix Reading an Element ;Use analogous syntax to -ref... (define matrix-ref (lambda (myvector x y (define rows -ref myvector 0 -ref myvector (+ (+ (* rows x y

### CS 351: Design of Large Programs.

Welcome to CS 351 Design of Large Programs Instructor: Joel Castellanos e-mail: joel@unm.edu Web: http://cs.unm.edu/~joel/ Office: Electrical and Computer Engineering building (ECE). Room 233 1/18/2017

### Fun with Fractals and Functions. CHAMP at University of Houston March 2, 2015 Houston, Texas

Fun with Fractals and Functions CHAMP at University of Houston March 2, 2015 Houston, Texas Alice Fisher afisher@rice.edu Director of Technology Applications & Integration at Rice University School Mathematics

### Parameters and Objects

Parameters and Objects CS + ENGLISH Enrich your computer science skills with the understanding of human experiences, critical thinking, and creativity taught in English. More info: english.stanford.edu/csenglish

### Symmetric Fractals. Seeking Sangaku Ramanujan, Hardy, and Ono

Symmetric Fractals Seeking Sangaku Ramanujan, Hardy, and Ono Published by the Mathematical Association of America : : November 2016 Figure 1. Clockwise from far left, the Sierpinski triangle, the Koch

### Helpful Hint When you are given a frieze pattern, you may assume that the pattern continues forever in both directions Notes: Tessellations

A pattern has translation symmetry if it can be translated along a vector so that the image coincides with the preimage. A frieze pattern is a pattern that has translation symmetry along a line. Both of

### Computer and Programming: Lab 1

01204111 Computer and Programming: Lab 1 Name ID Section Goals To get familiar with Wing IDE and learn common mistakes with programming in Python To practice using Python interactively through Python Shell

### CS 105: Introduction to Computer Programming (using JavaScript) Quiz: Khan Academy: Intro to While Loop

CS 05: Introduction to Computer Programming (using JavaScript) Loops Instructor: Joel Castellanos e-mail: joel@unm.edu Web: http://cs.unm.edu/~joel/ Office: Farris Engineering Center 39 0/8/207 Quiz: Khan

### CS 152: Data Structures with Java Hello World with the IntelliJ IDE

CS 152: Data Structures with Java Hello World with the IntelliJ IDE Instructor: Joel Castellanos e-mail: joel.unm.edu Web: http://cs.unm.edu/~joel/ Office: Electrical and Computer Engineering building

### Pick a number. Conditionals. Boolean Logic Relational Expressions Logical Operators Numerical Representation Binary. CS Conditionals 1

Conditionals Boolean Logic Relational Expressions Logical Operators Numerical Representation Binary CS105 04 Conditionals 1 Pick a number CS105 04 Conditionals 2 Boolean Expressions An expression that

### CISC 1600, Lab 3.1: Processing

CISC 1600, Lab 3.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using OpenProcessing, a site for building processing sketches online using processing.js. 1.1. Go to https://www.openprocessing.org/class/57767/

### Graphics: Legacy Library

Graphics: Legacy Library Version 5.1 February 14, 2011 (require graphics/graphics) The viewport graphics library is a relatively simple toolbox of graphics commands. The library is not very powerful; it

### The Many Lessons in Fractals

The Many Lessons in Fractals Lisa Oberbroeckling loberbro@loyola.edu MAA Mathfest Washington, D.C. L. Oberbroeckling (Loyola U MD) Fractals Mathfest, 05 Aug 2015 1 / 15 Course Programming in Mathematics

### 7) Are HD and HA the same line?

Review for Exam 2 Math 123 SHORT ANSWER. You must show all work to receive full credit. Refer to the figure to classify the statement as true or false. 7) Are HD and HA the same line? Yes 8) What is the

### FRACTALS AND THE SIERPINSKI TRIANGLE

FRACTALS AND THE SIERPINSKI TRIANGLE Penelope Allen-Baltera Dave Marieni Richard Oliveira Louis Sievers Hingham High School Marlborough High School Ludlow High School Trinity High School The purpose of

### CISC 1600, Lab 2.1: Processing

CISC 1600, Lab 2.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using Sketchpad, a site for building processing sketches online using processing.js. 1.1. Go to http://cisc1600.sketchpad.cc

### Review Interior Angle Sum New: Exterior Angle Sum

Review Interior Angle Sum New: Exterior Angle Sum QUIZ: Prove that the diagonal connecting the vertex angles of a kite cut the kite into two congruent triangles. 1 Interior Angle Sum Formula: Some Problems

### Grade 6 Math Circles. Shapeshifting

Faculty of Mathematics Waterloo, Ontario N2L 3G1 Plotting Grade 6 Math Circles October 24/25, 2017 Shapeshifting Before we begin today, we are going to quickly go over how to plot points. Centre for Education

### Creating. an Illustration. Illustrator 9.0. Objectives

U B nit Creating an Illustration Objectives Plan your illustration Work with palettes Draw with the Paintbrush Tool Scale objects Distort an object Choose colors from the Web Swatch library Use the Transform

### CHAOS Chaos Chaos Iterate

CHAOS Chaos is a program that explores data analysis. A sequence of points is created which can be analyzed via one of the following five modes: 1. Time Series Mode, which plots a time series graph, that

### In this lesson, students build fractals and track the growth of fractal measurements using tables and equations. Enduring Understanding

LessonTitle: Fractal Functions Alg 5.8 Utah State Core Standard and Indicators Algebra Standards 2, 4 Process Standards 1-5 Summary In this lesson, students build fractals and track the growth of fractal

### About Finish Line Mathematics 5

Table of COntents About Finish Line Mathematics 5 Unit 1: Big Ideas from Grade 1 7 Lesson 1 1.NBT.2.a c Understanding Tens and Ones [connects to 2.NBT.1.a, b] 8 Lesson 2 1.OA.6 Strategies to Add and Subtract

### EASY INTERACTIVE WHITEBOARD

EASY INTERACTIVE WHITEBOARD CONNECT COMPUTER/TURN ON PROJECTOR LAPTOP For the projectors in the labs, a computer is connected. These instructions are for you to connect a laptop computer to the projector.

### MAKE GEOMETRIC CONSTRUCTIONS

MAKE GEOMETRIC CONSTRUCTIONS KEY IDEAS 1. To copy a segment, follow the steps given: Given: AB Construct: PQ congruent to AB 1. Use a straightedge to draw a line, l. 2. Choose a point on line l and label

### CS-259 Computer Programming Fundamentals Arrays

CS-9 Computer Programming Fundamentals Arrays int a = new int[]; Instructor: Joel Castellanos e-mail: joel@unm.edu And in such indexes, although small pricks To their subsequent volumes, there is seen

### Discovering. Algebra. An Investigative Approach. Condensed Lessons for Make-up Work

Discovering Algebra An Investigative Approach Condensed Lessons for Make-up Work CONDENSED L E S S O N 0. The Same yet Smaller Previous In this lesson you will apply a recursive rule to create a fractal

### What is a tessellation???? Give an example... Daily Do from last class Homework Answers 10 7 These are similar: What does y =? x =?

Daily Do from last class Homework Answers 10 7 These are similar: What does y =? x =? 36 74 0 78 0 154 o 44 48 54 o y x 154 o 78 0 12 74 0 9 1. 8 ft 2. 21m 3. 21 ft 4. 30cm 5. 6mm 6. 16 in 7. yes 9 = 7

### Circles and Polygons Long-Term Memory Review Review 1 (Note: Figures are not drawn to scale.)

Review 1 (Note: Figures are not drawn to scale.) 1. Fill in the lank: In circle below, the angle shown is a/an angle. 2. The measure of a central angle and the measure of the arc that it intersects are

### THE JAVASCRIPT ARTIST 15/10/2016

THE JAVASCRIPT ARTIST 15/10/2016 Objectives Learn how to program with JavaScript in a fun way! Understand the basic blocks of what makes a program. Make you confident to explore more complex features of

### 2.) From the set {A, B, C, D, E, F, G, H}, produce all of the four character combinations. Be sure that they are in lexicographic order.

Discrete Mathematics 2 - Test File - Spring 2013 Exam #1 1.) RSA - Suppose we choose p = 5 and q = 11. You're going to be sending the coded message M = 23. a.) Choose a value for e, satisfying the requirements

### Note: For all questions, answer (E) NOTA means none of the above answers is correct. Unless otherwise specified, all angles are measured in degrees.

Note: For all questions, answer means none of the above answers is correct. Unless otherwise specified, all angles are measured in degrees. 1. The three angles of a triangle have measures given by 3 5,

### INSTRUCTIONS FOR THE USE OF THE SUPER RULE TM

INSTRUCTIONS FOR THE USE OF THE SUPER RULE TM NOTE: All images in this booklet are scale drawings only of template shapes and scales. Preparation: Your SUPER RULE TM is a valuable acquisition for classroom

### 2D Drawing Primitives

THE SIERPINSKI GASKET We use as a sample problem the drawing of the Sierpinski gasket an interesting shape that has a long history and is of interest in areas such as fractal geometry. The Sierpinski gasket

### acute angle An angle with a measure less than that of a right angle. Houghton Mifflin Co. 2 Grade 5 Unit 6

acute angle An angle with a measure less than that of a right angle. Houghton Mifflin Co. 2 Grade 5 Unit 6 angle An angle is formed by two rays with a common end point. Houghton Mifflin Co. 3 Grade 5 Unit

### 2013 Four-by-Four Competition Thursday, January 31st, Round Four-by-Four Competition Thursday, January 31st, 2013.

Round 1 Round 1 1. What is the sum of the terms of an infinite geometric sequence with first term 2016 and common ratio? 2. In how many distinguishable ways can five extra copies of your sided house key

### PYP 5C s Maths Daily Lesson Plan 2012/2013 Strand: Space and Shape (2-D and 3-D shapes)

Day/ Date Monday/ October 8 th, 2012 To know the vocabulary used to describe 2D and 3D shapes Use the proper vocabulary for 2D shapes (corner, sides, parallel, lines of symmetry, angles acute, obtuse,

### : Intro Programming for Scientists and Engineers Assignment 1: Turtle Graphics

Assignment 1: Turtle Graphics Page 1 600.112: Intro Programming for Scientists and Engineers Assignment 1: Turtle Graphics Peter H. Fröhlich phf@cs.jhu.edu Joanne Selinski joanne@cs.jhu.edu Due Date: Wednesdays

### Constructions Quiz Review November 29, 2017

Using constructions to copy a segment 1. Mark an endpoint of the new segment 2. Set the point of the compass onto one of the endpoints of the initial line segment 3. djust the compass's width to the other

### Special Lines and Constructions of Regular Polygons

Special Lines and Constructions of Regular Polygons A regular polygon with a center A is made up of congruent isosceles triangles with a principal angle A. The red line in the regular pentagon below is

### 2nd Grade. 2D Shapes - Part 1 Angles and Sides. Slide 1 / 117 Slide 2 / 117. Slide 3 / 117. Slide 4 / 117. Slide 6 / 117.

Slide 1 / 117 Slide 2 / 117 2nd Grade Geometry Presentation 1 2015-11-30 www.njctl.org Slide 3 / 117 Table of ontents Presentation 1 2 Shapes - Sides and ngles - Part 1 2 Shapes - Part 2 Lab: 2 Shapes

### 2017 SOLUTIONS (PRELIMINARY VERSION)

SIMON MARAIS MATHEMATICS COMPETITION 07 SOLUTIONS (PRELIMINARY VERSION) This document will be updated to include alternative solutions provided by contestants, after the competition has been mared. Problem

### PLC Papers Created For:

PLC Papers Created For: Year 10 Topic Practice Papers: Polygons Polygons 1 Grade 4 Look at the shapes below A B C Shape A, B and C are polygons Write down the mathematical name for each of the polygons

### Construction Instructions. Construct the perpendicular bisector of a line segment. Or, construct the midpoint of a line segment.

Construction Instructions Construct the perpendicular bisector of a line segment. Or, construct the midpoint of a line segment. 1.) Begin with line segment XY. 2.) Place the compass at point X. Adjust

### 12-6 Exercises KEYWORD: MG7 12-6

THINK AND DISCUSS 1. Explain how you can identify a frieze pattern that has glide reflection symmetry. 2. Is it possible to tessellate a plane using circles? Why or why not? 3. GET ORGANIZED Copy and complete

### Unit 10 Study Guide: Plane Figures

Unit 10 Study Guide: Plane Figures *Be sure to watch all videos within each lesson* You can find geometric shapes in art. Whether determining the amount of leading or the amount of glass needed for a piece

### The University of British Columbia Final Examination - December 02, 2014 Mathematics 308. Closed book examination. No calculators.

The University of British Columbia Final Examination - December 02, 2014 Mathematics 308 Closed book examination. No calculators. Time: 2.5 hours Last Name First Signature Student Number No books, notes,

### Geometry 10 and 11 Notes

Geometry 10 and 11 Notes Area and Volume Name Per Date 10.1 Area is the amount of space inside of a two dimensional object. When working with irregular shapes, we can find its area by breaking it up into

### Beaumont Middle School Design Project April May 2014 Carl Lee and Craig Schroeder

Beaumont Middle School Design Project April May 2014 Carl Lee and Craig Schroeder 1 2 SketchUp 1. SketchUp is free, and you can download it from the website www.sketchup.com. For some K12 use, see www.sketchup.com/3dfor/k12-education.

### CSE 167: Lecture #17: Procedural Modeling. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

CSE 167: Introduction to Computer Graphics Lecture #17: Procedural Modeling Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011 Announcements Important dates: Final project outline

### Instant Insanity Instructor s Guide Make-it and Take-it Kit for AMTNYS 2006

Instant Insanity Instructor s Guide Make-it and Take-it Kit for AMTNYS 2006 THE KIT: This kit contains materials for two Instant Insanity games, a student activity sheet with answer key and this instructor

### 1 Getting started with Processing

cis3.5, spring 2009, lab II.1 / prof sklar. 1 Getting started with Processing Processing is a sketch programming tool designed for use by non-technical people (e.g., artists, designers, musicians). For

### EEN118 LAB TWO. 1. A Five-Pointed Star.

EEN118 LAB TWO The purpose of this lab is to get practice with defining and using your own functions. The essence of good structured programming is to split large problems into smaller and smaller sub-problems.

### Math 366 Lecture Notes Section 11.4 Geometry in Three Dimensions

Math 366 Lecture Notes Section 11.4 Geometry in Three Dimensions Simple Closed Surfaces A simple closed surface has exactly one interior, no holes, and is hollow. A sphere is the set of all points at a

### Warm-up for Integrated Geometry and Algebra II

Summer Assignment Warm-up for Integrated Geometry and Algebra II Who should complete this packet? Students who will be taking Integrated Geometry and Algebra II in the fall of 018. Due Date: The first

### Polycom VisualBoard Technology Application

[Type the document title] User s Guide Polycom VisualBoard Technology Application Document Version 2.0 July 2013 3725-65174-002/A Polycom Document Title 1 Trademark Information POLYCOM and the names and

### INTERACTIVE WHITEBOARDS: SMART Board Overview

INTERACTIVE WHITEBOARDS: SMART Board Overview SMART Notebook Basic 2 SMART Board Equipment The SMART interactive whiteboard uses several main components. They include: THE BOARD The SMART Board has a touch-

### SCHEME 8. 1 Introduction. 2 Primitives COMPUTER SCIENCE 61A. March 23, 2017

SCHEME 8 COMPUTER SCIENCE 61A March 2, 2017 1 Introduction In the next part of the course, we will be working with the Scheme programming language. In addition to learning how to write Scheme programs,

### 3 Dimensional Solids. Table of Contents. 3 Dimensional Solids Nets Volume Prisms and Cylinders Pyramids, Cones & Spheres

Table of Contents 3 Dimensional Solids Nets Volume Prisms and Cylinders Pyramids, Cones & Spheres Surface Area Prisms Pyramids Cylinders Spheres More Practice/ Review 3 Dimensional Solids Polyhedron A

### NUMERICAL INTEGRATION AND FUNCTION FUNCTIONS

NUMERICAL INTEGRATION AND FUNCTION FUNCTIONS The arguments of functions previously considered had constants, or vector or matrix variables as arguments. In this section we will see how to set up a function

### Euclid s Muse Directions

Euclid s Muse Directions First: Draw and label three columns on your chart paper as shown below. Name Picture Definition Tape your cards to the chart paper (3 per page) in the appropriate columns. Name

### 2. A straightedge can create straight line, but can't measure. A ruler can create straight lines and measure distances.

5.1 Copies of Line Segments and Angles Answers 1. A drawing is a rough sketch and a construction is a process to create an exact and accurate geometric figure. 2. A straightedge can create straight line,

### NUMB3RS Activity: I It Itera Iteration. Episode: Rampage

Teacher Page 1 NUMB3RS Activity: I It Itera Iteration Topic: Iterative processes Grade Level: 9-12 Objective: Examine random iterative processes and their outcomes Time: about 45 minutes Materials: TI-83/84

### Mathematics 350 Section 6.3 Introduction to Fractals

Mathematics 350 Section 6.3 Introduction to Fractals A fractal is generally "a rough or fragmented geometric shape that is self-similar, which means it can be split into parts, each of which is (at least

### Google SketchUp Design Exercise 1

Google SketchUp Design Exercise 1 The first thing students like to do in SketchUp is make a basic house and try out different colors and materials. They also love making windows and doors, and trying out

### In this lecture we will briefly examine a few new controls, introduce the concept of scope, random numbers, and drawing simple graphics.

Additional Controls, Scope, Random Numbers, and Graphics CS109 In this lecture we will briefly examine a few new controls, introduce the concept of scope, random numbers, and drawing simple graphics. Combo

### Go to Grade 5 Everyday Mathematics Sample Lesson

McGraw-Hill makes no representations or warranties as to the accuracy of any information contained in this McGraw-Hill Material, including any warranties of merchantability or fitness for a particular

### Fun with Fractals Saturday Morning Math Group

Fun with Fractals Saturday Morning Math Group Alistair Windsor Fractals Fractals are amazingly complicated patterns often produced by very simple processes. We will look at two different types of fractals

Using Google SketchUp Mike Bailey mjb@cs.oregonstate.edu http://cs.oregonstate.edu/~mjb/sketchup What is Google SketchUp? Google SketchUp is a program which lets you sketch in 3D. It is excellent for creating

### Chapter 2 QUIZ. Section 2.1 The Parallel Postulate and Special Angles

Chapter 2 QUIZ Section 2.1 The Parallel Postulate and Special Angles (1.) How many lines can be drawn through point P that are parallel to line? (2.) Lines and m are cut by transversal t. Which angle corresponds

### YEAR 9 MATHS. Monday Wednesday Thursday - - Friday Introduce: 10A Distance between two points 10A.1. WEEK 3 Coordinate Geometry.

WEEK 3 Coordinate Geometry WEEK 4 Coordinate Geometry WEEK 5 Coordinate Geometry WEEK 6 Coordinate Geometry WEEK 7 Coordinate Geometry WEEK 8 Coordinate Geometry Monday Wednesday Thursday - - Friday Introduce:

### Unit 8 Syllabus: Surface Area & Volume

Date Period Day Unit 8 Syllabus: Surface Area & Volume Topic 1 Space Figures and Cross Sections Surface Area and Volume of Spheres 3 Surface Area of Prisms and Cylinders Surface Area of Pyramids and Cones

### Lecture 1. Course Overview Types & Expressions

Lecture 1 Course Overview Types & Expressions CS 1110 Spring 2012: Walker White Outcomes: Basics of (Java) procedural programming Usage of assignments, conditionals, and loops. Ability to write recursive

### Sketching graphs of polynomials

Sketching graphs of polynomials We want to draw the graphs of polynomial functions y = f(x). The degree of a polynomial in one variable x is the highest power of x that remains after terms have been collected.

### Grade 8 Math WORKBOOK UNIT 1 : POLYGONS. Are these polygons? Justify your answer by explaining WHY or WHY NOT???

Grade 8 Math WORKBOOK UNIT 1 : POLYGONS Are these polygons? Justify your answer by explaining WHY or WHY NOT??? a) b) c) Yes or No Why/Why not? Yes or No Why/Why not? Yes or No Why/Why not? a) What is

### Version 5.0. Alexander Friedman and Jamie Raymond. June 6, 2010

PLoT: Graph Plotting Version 5.0 Alexander Friedman and Jamie Raymond June 6, 2010 PLoT (a.k.a. PLTplot) provides a basic interface for producing common types of plots such as line and vector field plots

### Rhombic Hexacontahedron in Google SketchUp

Check out this cool-looking shape: You can read more about it here: http://mathworld.wolfram.com/rhombichexecontahedron.html. It looks sort of complicated, and I ll admit it takes a number of steps to

### Common Core State Standards High School Geometry Constructions

ommon ore State Standards High School Geometry onstructions HSG.O..12 onstruction: opying a line segment HSG.O..12 onstruction: opying an angle HSG.O..12 onstruction: isecting a line segment HSG.O..12

### Puzzle page. Mathematical Misfits three dimensional. Dual polygons. Puzzle page

1997 2009, Millennium Mathematics Project, University of Cambridge. Permission is granted to print and copy this page on paper for non commercial use. For other uses, including electronic redistribution,

### Finding Perimeters and Areas of Regular Polygons

Finding Perimeters and Areas of Regular Polygons Center of a Regular Polygon - A point within the polygon that is equidistant from all vertices. Central Angle of a Regular Polygon - The angle whose vertex

### krl gl drlrpcj cpr ougei tm arjgrvr tfct wfgef tfry wgqf tm ar tpur.

CS-105 Cryptogram Game Instructor: Joel Castellanos e-mail: joel@unm.edu Web: http://cs.unm.edu/~joel/ Office: Farris Engineering Center (FEC) room 319 krl gl drlrpcj cpr ougei tm arjgrvr tfct wfgef tfry

### Exam 1 Format, Concepts, What you should be able to do, and Sample Problems

CSSE 120 Introduction to Software Development Exam 1 Format, Concepts, What you should be able to do, and Sample Problems Page 1 of 6 Format: The exam will have two sections: Part 1: Paper-and-Pencil o

### Excel Formulas & Functions I CS101

Excel Formulas & Functions I CS101 Topics Covered Use statistical functions Use cell references Use AutoFill Write formulas Use the RANK.EQ function Calculation in Excel Click the cell where you want to

Using Google SketchUp Mike Bailey mjb@cs.oregonstate.edu http://cs.oregonstate.edu/~mjb/sketchup What is Google SketchUp? Google SketchUp is a program which lets you sketch in 3D. It is excellent for creating

### SCHEME 7. 1 Introduction. 2 Primitives COMPUTER SCIENCE 61A. October 29, 2015

SCHEME 7 COMPUTER SCIENCE 61A October 29, 2015 1 Introduction In the next part of the course, we will be working with the Scheme programming language. In addition to learning how to write Scheme programs,

### Draw beautiful and intricate patterns with Python Turtle, while learning how to code with Python.

Raspberry Pi Learning Resources Turtle Snowflakes Draw beautiful and intricate patterns with Python Turtle, while learning how to code with Python. How to draw with Python Turtle 1. To begin, you will

### CONSTRUCTING CONGRUENT LINE SEGMENTS

NME: 1. Given: Task: Construct a segment congruent to. CONSTRUCTING CONGRUENT LINE SEGMENTS B a) Draw a new, longer segment with your straightedge. b) Place an endpoint on the left side of the new segment

### Polygons and Angles: Student Guide

Polygons and Angles: Student Guide You are going to be using a Sphero to figure out what angle you need the Sphero to move at so that it can draw shapes with straight lines (also called polygons). The

### Applications. segment CD. 1. Find the area of every square that can be drawn by connecting dots on a 3 dot-by-3 dot grid.

Applications. Find the area of every square that can be drawn by connecting dots on a 3 dot-by-3 dot grid.. On dot paper, draw a hexagon with an area of 6 square units. 3. On dot paper, draw a square with

### Quadratic: the time that it takes to sort an array is proportional to the. square of the number of elements.

ITEC 136 Business Programming Concepts Week 12, Part 01 Overview 1 Week 12 Overview Week 11 review Associative Arrays Common Array Operations Inserting shifting elements right Removing shifting elements

### Control Flow: Loop Statements

Control Flow: Loop Statements A loop repeatedly executes a of sub-statements, called the loop body. Python provides two kinds of loop statements: a for-loop and a while-loop. This exercise gives you practice

### Day 1: Introduction to MATLAB and Colorizing Images CURIE Academy 2015: Computational Photography Sign-Off Sheet

Day 1: Introduction to MATLAB and Colorizing Images CURIE Academy 2015: Computational Photography Sign-Off Sheet NAME: NAME: Part 1.1 Part 1.2 Part 1.3 Part 2.1 Part 2.2 Part 3.1 Part 3.2 Sign-Off Milestone

### COS226 - Spring 2018 Class Meeting # 13 March 26, 2018 Inheritance & Polymorphism

COS226 - Spring 2018 Class Meeting # 13 March 26, 2018 Inheritance & Polymorphism Ibrahim Albluwi Composition A GuitarString has a RingBuffer. A MarkovModel has a Symbol Table. A Symbol Table has a Binary

### n! = 1 * 2 * 3 * 4 * * (n-1) * n

The Beauty and Joy of Computing 1 Lab Exercise 9: Problem self-similarity and recursion Objectives By completing this lab exercise, you should learn to Recognize simple self-similar problems which are

### University of Massachusetts Lowell : Organization of Programming Languages Spring 2004 Problem Set 4. Henderson Picture Language

University of Massachusetts Lowell 91.301: Organization of Programming Languages 91.301 Spring 2004 Problem Set 4 Henderson Picture Language Issued: Thursday, 4 March 2004 Due: Thursday, 11 March 2004;

### (the bubble footer is automatically inserted in this space)

Page 1 of 12 Name: Email ID: CS 2150 Final Exam You MUST write your name and e-mail ID on EACH page and bubble in your userid at the bottom of EACH page including this page. If you are still writing when

### Shape & Space Part C: Transformations

Name: Homeroom: Shape & Space Part C: Transformations Student Learning Expectations Outcomes: I can describe and analyze position and motion of objects and shapes by Checking for Understanding identifying

This guide will help you with many of the basics of operation for your Epson 485wi BrightLink Projector with interactive functionality. If you need further assistance with questions, you can refer to the

### USING THE TIERED CLASSROOM MULTIMEDIA EQUIPMENT Rooms

USING THE TIERED CLASSROOM MULTIMEDIA EQUIPMENT Rooms 0005 0030 0035 EQUIPMENT OVERVIEW Most functions in this room are controlled by the touchscreen AMX controller. To connect your laptop, there is a

### Computer Science AP/X CSCI-140/242 Polygons Lab 2 8/30/2018

Computer Science AP/X CSCI-140/242 Polygons Lab 2 8/30/2018 1 Implementation You will now implement a program that handles the general case of drawing polygons of decreasing sides, recursively. 1.1 Program