# MAT 2170: Laboratory 3

Size: px
Start display at page:

Transcription

2 MAT 2170: Laboratory Design and implement a Java dialog program, SpiralCoords, which calculates the coordinates of a spiral based on the initial length and scaling percentage entered by the user. Even though external documentation isn t required for this project, creating at least a few test cases would be beneficial to helping you solve this problem and ensure your program is correct. The diagram below shows a spiral. Each leg of the spiral gets shorter by a fixed percentage as you move toward the center. In the example shown, the length of BC is 90% of AB, the length of CD is 90% of BC, and so on. A E D B F C The point A appears at the origin of an arbitrarily large window. Given the length of the initial side, AB, and the scaling percentage, we wish to determine the coordinates of points B through F. Your Java program should: prompt for and obtain the length of the initial side prompt for and obtain the scaling percentage calculate and display the coordinates of the six points (use print rather than println, so all coordinates show up neatly in one dialog box) 7. When you have completed all exercises: (a) Submit an electronic copy of your work for this lab. To do this, open a terminal window and give the commands: cd 2170submit lab3 sectionx where X is either 1 (11:00), or 2 (3:00), depending on your section. (b) Publish all of these programs to your web page, listed under Lab 3 as Savings, CircleArea, DistanceSum, and SpiralCoords. (c) Complete the Postlab worksheet. (d) Staple all the program printouts (in order assigned) to the Postlab worksheet, and hand them in at the beginning of Lab 4.

3 Lab 3 Prelab Name: 1. Complete the test suite for the external documentation for the Savings program. Select amounts and interest rates that will test the correctness of your program. Determine the correct answers using a calculator. Problem Statement: Given a dollar amount and annual interest rate from the user, determine the balance of the account at the end of one and two years, assuming annual compounding of interest. Specifications: (a) INPUT: Amount double, non negative; InterestRate double, non negative (b) OUTPUT: Balance 1 double, non negative; Balance 2 double, non negative Test Suite: Amount Interest Rate Year 1 Year General Algorithm: Prompt for and get data Calculate and display balance for first year Calculate and display balance for second year Detailed Algorithm: Prompt for and get data Prompt for and get Amount Prompt for and get Interest Rate Change Interest Rate into decimal equivalent Calculate and display balance for first year Determine Interest for first year, add to Amount Display balance after first year Calculate and display balance for second year Determine Interest for second year (based on updated value), add to Amount Display balance after second year Continued on back

4 2. Complete the external documentation for the CircleArea program by filling in the Problem Statement, Test Suite table, and Detailed Algorithm. Select various radii to test the correctness of your program. Use a calculator to determine the areas in the test suite. (a) Problem Statement: (b) Specifications: i. INPUT: Radius double, non negative ii. OUTPUT: Area double, non negative (c) Test Suite: Radius Area (d) General Algorithm: Prompt for and get Radius Calculate Area Display Area (e) Detailed Algorithm: (Since this is a very simple program, just give the Java statements you plan to use.) Prompt for and get Radius Calculate Area Display Area

5 Lab 3 Postlab Name: Staple printouts for all projects from Lab 3 to this sheet and hand in at the beginning of Lab 4 1. What are the two attributes that define a data type? (a) (b) 2. Circle each of the following which are legal constants in Java. For the ones that are legal, indicate whether they are integers (i) or floating point (f ) constants on the line provided. a) 42 d) -2.3 g) 1,000,000 j) b) 17 e) 20 h) k) 1.1E+11 c) 2+3 f) 2.0 i) l) 1.1X Rewrite the following floating point constants in Java s scientific notation form: (a) (b) (c) (d) Circle each of the following which represent legal Java variable names: a) x e) short i) 12MonthTotal b) formula1 f) tiny j) margin-cost c) average rainfall g) total output k) b4hand d) %correct h) areasonablylongname l) stk depth 5. Indicate the value and type (i or f ) of each of the following expressions: a) 2 + 3, c) 19.0 / 5, e) 19 % 5, b) 19 / 5, d) 3 * 6.0, f) 2 % 7, 6. By applying the appropriate precedence rules, evaluate the following expressions: (a) / 4-3 (b) * (2 * 2-2) % 2 / 2 (c) * ((8 + 7) % 6) + 5 * 4 % 3 * (d) (3 + 4) * ((5 * 6 % 7 * 8) - 9) - 10 Continued on back

6 7. Complete the following table. The object MyNumber is of type int. MyNumber (MyNumber + 5)/ MyNumber (MyNumber + 5)/ Suppose you are putting empty beverage bottles into six-packs in order to return them to the local recycling center. If you have MyNumber bottles to recycle, what does the quantity (MyNumber + 5)/6 represent? Write your answer as a simple English statement involving the number of bottles and the number of six-pack containers involved. 9. Determine the number of yards, feet, and inches we can obtain from the total inches given: Total Inches Yards Feet Inches

### Scanner sc = new Scanner(System.in); // scanner for the keyboard. Scanner sc = new Scanner(System.in); // scanner for the keyboard

INPUT & OUTPUT I/O Example Using keyboard input for characters import java.util.scanner; class Echo{ public static void main (String[] args) { Scanner sc = new Scanner(System.in); // scanner for the keyboard

### Chapter 2: Elements of Java

Chapter 2: Elements of Java Basic components of a Java program Primitive data types Arithmetic expressions Type casting. The String type (introduction) Basic I/O statements Importing packages. 1 Introduction

1 2 Introduction to Java Applications 2.2 First Program in Java: Printing a Line of Text 2 Application Executes when you use the java command to launch the Java Virtual Machine (JVM) Sample program Displays

### Negative Integral Exponents. If x is nonzero, the reciprocal of x is written as 1 x. For example, the reciprocal of 23 is written as 2

4 (4-) Chapter 4 Polynomials and Eponents P( r) 0 ( r) dollars. Which law of eponents can be used to simplify the last epression? Simplify it. P( r) 7. CD rollover. Ronnie invested P dollars in a -year

### APPLICATIONS AND MODELING WITH QUADRATIC EQUATIONS

APPLICATIONS AND MODELING WITH QUADRATIC EQUATIONS Now that we are starting to feel comfortable with the factoring process, the question becomes what do we use factoring to do? There are a variety of classic

### Algebra 1: Basic Skills Packet Page 1 Name: Integers 1. 54 + 35 2. 18 ( 30) 3. 15 ( 4) 4. 623 432 5. 8 23 6. 882 14

Algebra 1: Basic Skills Packet Page 1 Name: Number Sense: Add, Subtract, Multiply or Divide without a Calculator Integers 1. 54 + 35 2. 18 ( 30) 3. 15 ( 4) 4. 623 432 5. 8 23 6. 882 14 Decimals 7. 43.21

### MBA Jump Start Program

MBA Jump Start Program Module 2: Mathematics Thomas Gilbert Mathematics Module Online Appendix: Basic Mathematical Concepts 2 1 The Number Spectrum Generally we depict numbers increasing from left to right

### MAT116 Project 2 Chapters 8 & 9

MAT116 Project 2 Chapters 8 & 9 1 8-1: The Project In Project 1 we made a loan workout decision based only on data from three banks that had merged into one. We did not consider issues like: What was the

### ALGEBRA 2/TRIGONOMETRY

ALGEBRA /TRIGONOMETRY The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION ALGEBRA /TRIGONOMETRY Thursday, January 9, 015 9:15 a.m to 1:15 p.m., only Student Name: School Name: The possession

### MATH 110 Landscape Horticulture Worksheet #4

MATH 110 Landscape Horticulture Worksheet #4 Ratios The math name for a fraction is ratio. It is just a comparison of one quantity with another quantity that is similar. As a Landscape Horticulturist,

### Moving from CS 61A Scheme to CS 61B Java

Moving from CS 61A Scheme to CS 61B Java Introduction Java is an object-oriented language. This document describes some of the differences between object-oriented programming in Scheme (which we hope you

### Math Review. for the Quantitative Reasoning Measure of the GRE revised General Test

Math Review for the Quantitative Reasoning Measure of the GRE revised General Test www.ets.org Overview This Math Review will familiarize you with the mathematical skills and concepts that are important

476 CHAPTER 7 Graphs, Equations, and Inequalities 7. Quadratic Equations Now Work the Are You Prepared? problems on page 48. OBJECTIVES 1 Solve Quadratic Equations by Factoring (p. 476) Solve Quadratic

### Chapter One Introduction to Programming

Chapter One Introduction to Programming 1-1 Algorithm and Flowchart Algorithm is a step-by-step procedure for calculation. More precisely, algorithm is an effective method expressed as a finite list of

### Free Pre-Algebra Lesson 55! page 1

Free Pre-Algebra Lesson 55! page 1 Lesson 55 Perimeter Problems with Related Variables Take your skill at word problems to a new level in this section. All the problems are the same type, so that you can

### ALGEBRA 2/TRIGONOMETRY

ALGEBRA /TRIGONOMETRY The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION ALGEBRA /TRIGONOMETRY Tuesday, January 8, 014 1:15 to 4:15 p.m., only Student Name: School Name: The possession

### Calculating Area, Perimeter and Volume

Calculating Area, Perimeter and Volume You will be given a formula table to complete your math assessment; however, we strongly recommend that you memorize the following formulae which will be used regularly

### IRA EXAMPLES. This topic has two examples showing the calculation of the future value an IRA (Individual Retirement Account).

IRA EXAMPLES This topic has two examples showing the calculation of the future value an IRA (Individual Retirement Account). Definite Counting Loop Example IRA After x Years This first example illustrates

### COMPETENCY TEST SAMPLE TEST. A scientific, non-graphing calculator is required for this test. C = pd or. A = pr 2. A = 1 2 bh

BASIC MATHEMATICS COMPETENCY TEST SAMPLE TEST 2004 A scientific, non-graphing calculator is required for this test. The following formulas may be used on this test: Circumference of a circle: C = pd or

### EXCEL Tutorial: How to use EXCEL for Graphs and Calculations.

EXCEL Tutorial: How to use EXCEL for Graphs and Calculations. Excel is powerful tool and can make your life easier if you are proficient in using it. You will need to use Excel to complete most of your

### Percent, Sales Tax, & Discounts

Percent, Sales Tax, & Discounts Many applications involving percent are based on the following formula: Note that of implies multiplication. Suppose that the local sales tax rate is 7.5% and you purchase

### Perimeter, Area, and Volume

Perimeter, Area, and Volume Perimeter of Common Geometric Figures The perimeter of a geometric figure is defined as the distance around the outside of the figure. Perimeter is calculated by adding all

### MTH 092 College Algebra Essex County College Division of Mathematics Sample Review Questions 1 Created January 17, 2006

MTH 092 College Algebra Essex County College Division of Mathematics Sample Review Questions Created January 7, 2006 Math 092, Elementary Algebra, covers the mathematical content listed below. In order

### How do you compare numbers? On a number line, larger numbers are to the right and smaller numbers are to the left.

The verbal answers to all of the following questions should be memorized before completion of pre-algebra. Answers that are not memorized will hinder your ability to succeed in algebra 1. Number Basics

### Section 7.1 Solving Right Triangles

Section 7.1 Solving Right Triangles Note that a calculator will be needed for most of the problems we will do in class. Test problems will involve angles for which no calculator is needed (e.g., 30, 45,

### YOU CAN COUNT ON NUMBER LINES

Key Idea 2 Number and Numeration: Students use number sense and numeration to develop an understanding of multiple uses of numbers in the real world, the use of numbers to communicate mathematically, and

### Postulate 17 The area of a square is the square of the length of a. Postulate 18 If two figures are congruent, then they have the same.

Chapter 11: Areas of Plane Figures (page 422) 11-1: Areas of Rectangles (page 423) Rectangle Rectangular Region Area is measured in units. Postulate 17 The area of a square is the square of the length

### CP Lab 2: Writing programs for simple arithmetic problems

Computer Programming (CP) Lab 2, 2015/16 1 CP Lab 2: Writing programs for simple arithmetic problems Instructions The purpose of this Lab is to guide you through a series of simple programming problems,

### Perimeter is the length of the boundary of a two dimensional figure.

Section 2.2: Perimeter and Area Perimeter is the length of the boundary of a two dimensional figure. The perimeter of a circle is called the circumference. The perimeter of any two dimensional figure whose

### A. The answer as per this document is No, it cannot exist keeping all distances rational.

Rational Distance Conor.williams@gmail.com www.unsolvedproblems.org: Q. Given a unit square, can you find any point in the same plane, either inside or outside the square, that is a rational distance from

### ALGEBRA I (Common Core) Wednesday, August 13, 2014 8:30 to 11:30 a.m., only

ALGEBRA I (COMMON CORE) The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION ALGEBRA I (Common Core) Wednesday, August 13, 2014 8:30 to 11:30 a.m., only Student Name: School Name: The

### JDK 1.5 Updates for Introduction to Java Programming with SUN ONE Studio 4

JDK 1.5 Updates for Introduction to Java Programming with SUN ONE Studio 4 NOTE: SUN ONE Studio is almost identical with NetBeans. NetBeans is open source and can be downloaded from www.netbeans.org. I

### MATHCOUNTS TOOLBOX Facts, Formulas and Tricks

MATHCOUNTS TOOLBOX Facts, Formulas and Tricks MATHCOUNTS Coaching Kit 40 I. PRIME NUMBERS from 1 through 100 (1 is not prime!) 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 II.

### Perimeter. 14ft. 5ft. 11ft.

Perimeter The perimeter of a geometric figure is the distance around the figure. The perimeter could be thought of as walking around the figure while keeping track of the distance traveled. To determine

### Lab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++)

Lab 2 - CMPS 1043, Computer Science I Introduction to File Input/Output (I/O) Projects and Solutions (C++) (Revised from http://msdn.microsoft.com/en-us/library/bb384842.aspx) * Keep this information to

### Introduction to Python

Caltech/LEAD Summer 2012 Computer Science Lecture 2: July 10, 2012 Introduction to Python The Python shell Outline Python as a calculator Arithmetic expressions Operator precedence Variables and assignment

### Solutions to Exercises, Section 5.1

Instructor s Solutions Manual, Section 5.1 Exercise 1 Solutions to Exercises, Section 5.1 1. Find all numbers t such that ( 1 3,t) is a point on the unit circle. For ( 1 3,t)to be a point on the unit circle

### Review of Scientific Notation and Significant Figures

II-1 Scientific Notation Review of Scientific Notation and Significant Figures Frequently numbers that occur in physics and other sciences are either very large or very small. For example, the speed of

### SECTION P.5 Factoring Polynomials

BLITMCPB.QXP.0599_48-74 /0/0 0:4 AM Page 48 48 Chapter P Prerequisites: Fundamental Concepts of Algebra Technology Eercises Critical Thinking Eercises 98. The common cold is caused by a rhinovirus. The

### GEOMETRIC SEQUENCES AND SERIES

4.4 Geometric Sequences and Series (4 7) 757 of a novel and every day thereafter increase their daily reading by two pages. If his students follow this suggestion, then how many pages will they read during

### FACTORING OUT COMMON FACTORS

278 (6 2) Chapter 6 Factoring 6.1 FACTORING OUT COMMON FACTORS In this section Prime Factorization of Integers Greatest Common Factor Finding the Greatest Common Factor for Monomials Factoring Out the

### Formulas STEM 11. Two mathematical formulas that students at this level of mathematics are familiar with are:

Formulas STEM 11 One definition of the word formula is a conventionalized statement expressing some fundamental principle. Adding the word mathematical to formula we can define a mathematical formula as

### Law of Cosines. If the included angle is a right angle then the Law of Cosines is the same as the Pythagorean Theorem.

Law of Cosines In the previous section, we learned how the Law of Sines could be used to solve oblique triangles in three different situations () where a side and two angles (SAA) were known, () where

### 10.2 Series and Convergence

10.2 Series and Convergence Write sums using sigma notation Find the partial sums of series and determine convergence or divergence of infinite series Find the N th partial sums of geometric series and

### A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions

A Second Course in Mathematics Concepts for Elementary Teachers: Theory, Problems, and Solutions Marcel B. Finan Arkansas Tech University c All Rights Reserved First Draft February 8, 2006 1 Contents 25

### History of U.S. Measurement

SECTION 11.1 LINEAR MEASUREMENT History of U.S. Measurement The English system of measurement grew out of the creative way that people measured for themselves. Familiar objects and parts of the body were

### Student Involvement: Middle / Secondary Laboratory Safety Activities

5. Students prepare worksheets using MSDSs of chemicals they will use in the science lab following Table 24 Student Practice in Reading an MSDS, Pg 100, Science Laboratory Safety Manual S&SCS. Science

### Introduction to Java. CS 3: Computer Programming in Java

Introduction to Java CS 3: Computer Programming in Java Objectives Begin with primitive data types Create a main class with helper methods Learn how to call built-in class methods and instance methods

### The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION INTEGRATED ALGEBRA. Thursday, August 16, 2012 8:30 to 11:30 a.m.

INTEGRATED ALGEBRA The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION INTEGRATED ALGEBRA Thursday, August 16, 2012 8:30 to 11:30 a.m., only Student Name: School Name: Print your name

### 7.4A/7.4B STUDENT ACTIVITY #1

7.4A/7.4B STUDENT ACTIVITY #1 Write a formula that could be used to find the radius of a circle, r, given the circumference of the circle, C. The formula in the Grade 7 Mathematics Chart that relates the

### 4. How many integers between 2004 and 4002 are perfect squares?

5 is 0% of what number? What is the value of + 3 4 + 99 00? (alternating signs) 3 A frog is at the bottom of a well 0 feet deep It climbs up 3 feet every day, but slides back feet each night If it started

### Logarithmic and Exponential Equations

11.5 Logarithmic and Exponential Equations 11.5 OBJECTIVES 1. Solve a logarithmic equation 2. Solve an exponential equation 3. Solve an application involving an exponential equation Much of the importance

### Characteristics of the Four Main Geometrical Figures

Math 40 9.7 & 9.8: The Big Four Square, Rectangle, Triangle, Circle Pre Algebra We will be focusing our attention on the formulas for the area and perimeter of a square, rectangle, triangle, and a circle.

### Example of a Java program

Example of a Java program class SomeNumbers static int square (int x) return x*x; public static void main (String[] args) int n=20; if (args.length > 0) // change default n = Integer.parseInt(args[0]);

### Geometric Series and Annuities

Geometric Series and Annuities Our goal here is to calculate annuities. For example, how much money do you need to have saved for retirement so that you can withdraw a fixed amount of money each year for

### of surface, 569-571, 576-577, 578-581 of triangle, 548 Associative Property of addition, 12, 331 of multiplication, 18, 433

Absolute Value and arithmetic, 730-733 defined, 730 Acute angle, 477 Acute triangle, 497 Addend, 12 Addition associative property of, (see Commutative Property) carrying in, 11, 92 commutative property

### 2nd Semester Geometry Final Exam Review

Class: Date: 2nd Semester Geometry Final Exam Review Multiple Choice Identify the choice that best completes the statement or answers the question. 1. The owner of an amusement park created a circular

### Circles: Circumference and Area Lesson Plans

Circles: Circumference and Area Lesson Plans A set of lessons for year 7. Lesson 1: Circumference of the circle and Pi Lesson 2: Area of the circle Lesson 3: Consolidation and Practice Lesson 1: Circumference

Advanced GMAT Math Questions Version Quantitative Fractions and Ratios 1. The current ratio of boys to girls at a certain school is to 5. If 1 additional boys were added to the school, the new ratio of

### Session 29 Scientific Notation and Laws of Exponents. If you have ever taken a Chemistry class, you may have encountered the following numbers:

Session 9 Scientific Notation and Laws of Exponents If you have ever taken a Chemistry class, you may have encountered the following numbers: There are approximately 60,4,79,00,000,000,000,000 molecules

### Chapter 2 Factors: How Time and Interest Affect Money

Chapter 2 Factors: How Time and Interest Affect Money Session 4-5-6 Dr Abdelaziz Berrado 1 Topics to Be Covered in Today s Lecture Section 2: How Time and Interest Affect Money Single-Payment Factors (F/P

### Chapter 2 Elementary Programming

Chapter 2 Elementary Programming 2.1 Introduction You will learn elementary programming using Java primitive data types and related subjects, such as variables, constants, operators, expressions, and input

### MAT12X Intermediate Algebra

MAT12X Intermediate Algebra Workshop I - Exponential Functions LEARNING CENTER Overview Workshop I Exponential Functions of the form y = ab x Properties of the increasing and decreasing exponential functions

### 16 21 Linear vs. Exponential.notebook May 14, 2014. LT 1c: I can compare linear vs. exponential change.

LT 1c: I can compare linear vs. exponential change. The Situation: You have \$1,000 saved. Now, you need to figure out which bank you want to invest your money in. You can choose from the following two

### Interest Rates. Countrywide Building Society. Savings Growth Data Sheet. Gross (% per annum)

Interest Rates (% per annum) Countrywide Building Society This is the rate of simple interest earned in a year (before deducting tax). Dividing by 12 gives the monthly rate of interest. Annual Equivalent

### MATH REVIEW SHEETS BEGINNING ALGEBRA MATH 60

MATH REVIEW SHEETS BEGINNING ALGEBRA MATH 60 A Summar of Concepts Needed to be Successful in Mathematics The following sheets list the ke concepts which are taught in the specified math course. The sheets

### 43 Perimeter and Area

43 Perimeter and Area Perimeters of figures are encountered in real life situations. For example, one might want to know what length of fence will enclose a rectangular field. In this section we will study

### 5.1 FACTORING OUT COMMON FACTORS

C H A P T E R 5 Factoring he sport of skydiving was born in the 1930s soon after the military began using parachutes as a means of deploying troops. T Today, skydiving is a popular sport around the world.

### Common Core Unit Summary Grades 6 to 8

Common Core Unit Summary Grades 6 to 8 Grade 8: Unit 1: Congruence and Similarity- 8G1-8G5 rotations reflections and translations,( RRT=congruence) understand congruence of 2 d figures after RRT Dilations

### Chapter 3. Input and output. 3.1 The System class

Chapter 3 Input and output The programs we ve looked at so far just display messages, which doesn t involve a lot of real computation. This chapter will show you how to read input from the keyboard, use

### Area and Circumference

4.4 Area and Circumference 4.4 OBJECTIVES 1. Use p to find the circumference of a circle 2. Use p to find the area of a circle 3. Find the area of a parallelogram 4. Find the area of a triangle 5. Convert

### Computer Science 1 CSci 1100 Lecture 3 Python Functions

Reading Computer Science 1 CSci 1100 Lecture 3 Python Functions Most of this is covered late Chapter 2 in Practical Programming and Chapter 3 of Think Python. Chapter 6 of Think Python goes into more detail,

### BP2SAN From Business Processes to Stochastic Automata Networks

BP2SAN From Business Processes to Stochastic Automata Networks Kelly Rosa Braghetto Department of Computer Science University of São Paulo kellyrb@ime.usp.br March, 2011 Contents 1 Introduction 1 2 Instructions

### Rational Exponents. Squaring both sides of the equation yields. and to be consistent, we must have

8.6 Rational Exponents 8.6 OBJECTIVES 1. Define rational exponents 2. Simplify expressions containing rational exponents 3. Use a calculator to estimate the value of an expression containing rational exponents

### How To Solve Factoring Problems

05-W4801-AM1.qxd 8/19/08 8:45 PM Page 241 Factoring, Solving Equations, and Problem Solving 5 5.1 Factoring by Using the Distributive Property 5.2 Factoring the Difference of Two Squares 5.3 Factoring

### Informatica e Sistemi in Tempo Reale

Informatica e Sistemi in Tempo Reale Introduction to C programming Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa October 25, 2010 G. Lipari (Scuola Superiore Sant Anna)

### Scales of the Universe

29:50 Astronomy Lab Stars, Galaxies, and the Universe Name Partner(s) Date Grade Category Max Points Points Received On Time 5 Printed Copy 5 Lab Work 90 Total 100 Scales of the Universe 1. Introduction

### Florida Math 0028. Correlation of the ALEKS course Florida Math 0028 to the Florida Mathematics Competencies - Upper

Florida Math 0028 Correlation of the ALEKS course Florida Math 0028 to the Florida Mathematics Competencies - Upper Exponents & Polynomials MDECU1: Applies the order of operations to evaluate algebraic

### Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.

Name: Class: Date: Exam #1 - Prep True/False Indicate whether the statement is true or false. 1. Programming is the process of writing a computer program in a language that the computer can respond to

### Pizza! Pizza! Assessment

Pizza! Pizza! Assessment 1. A local pizza restaurant sends pizzas to the high school twelve to a carton. If the pizzas are one inch thick, what is the volume of the cylindrical shipping carton for the

### Dimensional Analysis and Exponential Models

MAT 42 College Mathematics Module XP Dimensional Analysis and Exponential Models Terri Miller revised December 3, 200. Dimensional Analysis The purpose of this section is to convert between various types

### first complete "prior knowlegde" -- to refresh knowledge of Simple and Compound Interest.

ORDINARY SIMPLE ANNUITIES first complete "prior knowlegde" -- to refresh knowledge of Simple and Compound Interest. LESSON OBJECTIVES: students will learn how to determine the Accumulated Value of Regular

### The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION MATHEMATICS B. Thursday, January 29, 2004 9:15 a.m. to 12:15 p.m.

The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION MATHEMATICS B Thursday, January 9, 004 9:15 a.m. to 1:15 p.m., only Print Your Name: Print Your School s Name: Print your name and

### WORK SCHEDULE: MATHEMATICS 2007

, K WORK SCHEDULE: MATHEMATICS 00 GRADE MODULE TERM... LO NUMBERS, OPERATIONS AND RELATIONSHIPS able to recognise, represent numbers and their relationships, and to count, estimate, calculate and check

### This Unit: Floating Point Arithmetic. CIS 371 Computer Organization and Design. Readings. Floating Point (FP) Numbers

This Unit: Floating Point Arithmetic CIS 371 Computer Organization and Design Unit 7: Floating Point App App App System software Mem CPU I/O Formats Precision and range IEEE 754 standard Operations Addition

### Binary Number System. 16. Binary Numbers. Base 10 digits: 0 1 2 3 4 5 6 7 8 9. Base 2 digits: 0 1

Binary Number System 1 Base 10 digits: 0 1 2 3 4 5 6 7 8 9 Base 2 digits: 0 1 Recall that in base 10, the digits of a number are just coefficients of powers of the base (10): 417 = 4 * 10 2 + 1 * 10 1

### Friday, January 29, 2016 9:15 a.m. to 12:15 p.m., only

ALGEBRA /TRIGONOMETRY The University of the State of New York REGENTS HIGH SCHOOL EXAMINATION ALGEBRA /TRIGONOMETRY Friday, January 9, 016 9:15 a.m. to 1:15 p.m., only Student Name: School Name: The possession

### a. all of the above b. none of the above c. B, C, D, and F d. C, D, F e. C only f. C and F

FINAL REVIEW WORKSHEET COLLEGE ALGEBRA Chapter 1. 1. Given the following equations, which are functions? (A) y 2 = 1 x 2 (B) y = 9 (C) y = x 3 5x (D) 5x + 2y = 10 (E) y = ± 1 2x (F) y = 3 x + 5 a. all

### Summit Public Schools Summit, New Jersey Grade Level / Content Area: Mathematics Length of Course: 1 Academic Year Curriculum: AP Computer Science A

Summit Public Schools Summit, New Jersey Grade Level / Content Area: Mathematics Length of Course: 1 Academic Year Curriculum: AP Computer Science A Developed By Brian Weinfeld Course Description: AP Computer

### Java Basics: Data Types, Variables, and Loops

Java Basics: Data Types, Variables, and Loops If debugging is the process of removing software bugs, then programming must be the process of putting them in. - Edsger Dijkstra Plan for the Day Variables

### 9.2 Summation Notation

9. Summation Notation 66 9. Summation Notation In the previous section, we introduced sequences and now we shall present notation and theorems concerning the sum of terms of a sequence. We begin with a

### Keystone National High School Placement Exam Math Level 1. Find the seventh term in the following sequence: 2, 6, 18, 54

1. Find the seventh term in the following sequence: 2, 6, 18, 54 2. Write a numerical expression for the verbal phrase. sixteen minus twelve divided by six Answer: b) 1458 Answer: d) 16 12 6 3. Evaluate

### Geometry - Calculating Area and Perimeter

Geometry - Calculating Area and Perimeter In order to complete any of mechanical trades assessments, you will need to memorize certain formulas. These are listed below: (The formulas for circle geometry

### Rules of Exponents. Math at Work: Motorcycle Customization OUTLINE CHAPTER

Rules of Exponents CHAPTER 5 Math at Work: Motorcycle Customization OUTLINE Study Strategies: Taking Math Tests 5. Basic Rules of Exponents Part A: The Product Rule and Power Rules Part B: Combining the

### SECTION 1-6 Quadratic Equations and Applications

58 Equations and Inequalities Supply the reasons in the proofs for the theorems stated in Problems 65 and 66. 65. Theorem: The complex numbers are commutative under addition. Proof: Let a bi and c di be

### TEST A CHAPTER 6, EQUATIONS, INEQUALITIES, PROBLEM SOLVING. 1. Factor x 2-5x + 6. 2. Factor x 2-4x - 5.

TEST A CHAPTER 6, EQUATIONS, INEQUALITIES, PROBLEM SOLVING. Factor x 2-5x + 6. 2. Factor x 2-4x - 5. 3. Solve: (x + 2)(x - 3) = 0 x(x - 3)(x + 4) = 0 4. Solve by factoring: x 2 + x + 2 = 0. 5. Solve by

### SAT Math Facts & Formulas Review Quiz

Test your knowledge of SAT math facts, formulas, and vocabulary with the following quiz. Some questions are more challenging, just like a few of the questions that you ll encounter on the SAT; these questions