Package schoolmath. R topics documented: February 20, Type Package
|
|
- Gordon Hampton
- 7 years ago
- Views:
Transcription
1 Type Package Package schoolmath February 20, 2015 Title Functions and datasets for math used in school Version 0.4 Date Author, Josef Wienand Maintainer Depends R (>= 2.10) This package contains functions and datasets for math taught in school. A main focus is set to prime-calculation License GPL (>= 2) Repository CRAN Date/Publication :35:33 NeedsCompilation no R topics documented: schoolmath-package cancel.fraction decimal2fraction gcd is.decimal is.even is.negative is.odd is.positive is.prim is.real.positive is.whole prime.factor primes primlist scm
2 2 cancel.fraction Inde 13 schoolmath-package Functions and datasets for math used in school Details This package contains functions and datasets for math taught in school. A main focus is set to prime-calculation Package: schoolmath Type: Package Version: 0.4 Date: License: GPL version 2 or newer, Josef Wienand Maintainer: <schlarmann@produnis.de> cancel.fraction cancel fractions to their simplest form This function cancels a fraction to its simplest form, using greatest common divisor cancel.fraction(numerator, denominator) numerator denominator fraction s numerator fraction s denominator
3 decimal2fraction 3 gcd ## to cancel fraction 42/56 type: cancel.fraction(42, 56) decimal2fraction convert a decimal-number into fraction This function converts a decimal number into a fraction decimal2fraction(decimal, period = 0) decimal period the decimal number to be converted, given without an repeating ending if the decimal places have an repeating ending (period), set the period here. See eamples. ## converting decimal2fraction( ) ## converting a number with decimal period, e.g decimal2fraction(12.123, 4)
4 4 is.decimal gcd Greatest common divisor of two numbers This function gives the greatest common divisor of two numbers gcd(, y) y first number second number scm gcd(42, 56) is.decimal check wether a vector contains numbers with decimal places This function checks, wether a vector contains numbers with decimal places. It returns TRUE or FALSE is.decimal() a number or vector to be checked
5 is.even 5 is.whole is.decimal(3) # this will return FALSE is.decimal(2.01) # this will return TRUE <- c(1,2,3,4,5.5, 6.03, 23.07) is.decimal() is.even check wether numbers of a vector are even This function checks wether the numbers of a vector are even. It returns TRUE/FALSE is.even() A number or vector to be checked is.odd is.even(3) is.even(2) # this will return FALSE # this will return TRUE <- c(1,2,3,4,5, 6, 7) is.even()
6 6 is.odd is.negative check wether numbers of a vector are negative This function checks wether the numbers of a vector are negative. It returns TRUE/FALSE is.negative() A number or vector to be checked is.positive is.real.positive is.negative(3) is.negative(-2) # this will return FALSE # this will return TRUE <- c(-1, -2, 3.02, 4, -5.2, 6, -7) is.negative() is.odd check wether numbers of a vector are odd This function checks wether the numbers of a vector are odd. It returns TRUE/FALSE is.odd() A number or vector to be checked
7 is.positive 7 is.even is.odd(2) is.odd(3) # this will return FALSE # this will return TRUE <- c(1,2,3,4,5, 6, 7) is.odd() is.positive check wether numbers of a vector are positive This function checks wether the numbers of a vector are positive. It returns TRUE/FALSE. is.positive() A number or vector to be checked is.negative is.real.positive is.positive(-3) is.positive(2) # this will return FALSE # this will return TRUE <- c(-1, -2, 3.02, 4, -5.2, 6, -7) is.positive()
8 8 is.real.positive is.prim check wether a vector contains prime-numbers This function checks, wether a vector contains prime-numbers. It returns TRUE or FALSE is.prim(y) y a number or vector to be checked primes is.prim(8) # this will return FALSE is.prim(11) # this will return TRUE <- c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11) is.prim() is.real.positive check wether numbers of a vector are real positive This function checks wether the numbers of a vector are positive. It returns TRUE/FALSE. Real positive means, that zero is included as a positive number. is.real.positive()
9 is.whole 9 A number or vector to be checked is.negative is.positive is.real.positive(-3) is.real.positive(0) # this will return FALSE # this will return TRUE <- c(0, -1, -2, 3.02, 4, -5.2, 6, -7) is.real.positive() is.whole check wether a vector contains numbers with decimal places This function checks, wether a vector contains whole numbers without decimal places. It returns TRUE or FALSE is.whole() a number or vector to be checked is.decimal
10 10 primes is.whole(3.12) is.whole(2) # this will return FALSE # this will return TRUE <- c(1, 2, 3, 4, 5.5, 6.03, 23.07) is.whole() prime.factor giving prime-factors of a number This function calculates the prime-factors of a number prime.factor(n) n the number to be checked prime.factor(21) prime.factor(100) primes generate prime-numbers This function generates prime-numbers, which can be found between a start- and an end-number. primes(start = 12, end = 9999)
11 primlist 11 start end start-number end-number is.prim primes(12,150) # list prime-numbers between 12 and 150 primlist prime-numbers between 1 and This is a list of prime-numbers between 1 and data(primlist) Format a vector containing a list of prime-numbers between 1 and scm calculating the smallest common multiple of two numbers This function calculates the smallest common multiple (least common multiple) of two numbers scm(, y)
12 12 scm y first number second number gcd scm(3528, 3780)
13 Inde Topic datasets primlist, 11 Topic logic is.decimal, 4 is.even, 5 is.negative, 6 is.odd, 6 is.positive, 7 is.prim, 8 is.real.positive, 8 is.whole, 9 Topic math cancel.fraction, 2 decimal2fraction, 3 gcd, 4 prime.factor, 10 primes, 10 scm, 11 Topic package schoolmath-package, 2 schoolmath-package, 2 scm, 4, 11 cancel.fraction, 2 decimal2fraction, 3 gcd, 3, 4, 12 is.decimal, 4, 9 is.even, 5, 7 is.negative, 6, 7, 9 is.odd, 5, 6 is.positive, 6, 7, 9 is.prim, 8, 11 is.real.positive, 6, 7, 8 is.whole, 5, 9 prime.factor, 10 primes, 8, 10 primlist, 11 schoolmath (schoolmath-package), 2 13
3 cups ¾ ½ ¼ 2 cups ¾ ½ ¼. 1 cup ¾ ½ ¼. 1 cup. 1 cup ¾ ½ ¼ ¾ ½ ¼. 1 cup. 1 cup ¾ ½ ¼ ¾ ½ ¼
cups cups cup Fractions are a form of division. When I ask what is / I am asking How big will each part be if I break into equal parts? The answer is. This a fraction. A fraction is part of a whole. The
More informationSolution Guide Chapter 14 Mixing Fractions, Decimals, and Percents Together
Solution Guide Chapter 4 Mixing Fractions, Decimals, and Percents Together Doing the Math from p. 80 2. 0.72 9 =? 0.08 To change it to decimal, we can tip it over and divide: 9 0.72 To make 0.72 into a
More informationMATH-0910 Review Concepts (Haugen)
Unit 1 Whole Numbers and Fractions MATH-0910 Review Concepts (Haugen) Exam 1 Sections 1.5, 1.6, 1.7, 1.8, 2.1, 2.2, 2.3, 2.4, and 2.5 Dividing Whole Numbers Equivalent ways of expressing division: a b,
More informationHow 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
More informationPREPARATION FOR MATH TESTING at CityLab Academy
PREPARATION FOR MATH TESTING at CityLab Academy compiled by Gloria Vachino, M.S. Refresh your math skills with a MATH REVIEW and find out if you are ready for the math entrance test by taking a PRE-TEST
More informationPackage retrosheet. April 13, 2015
Type Package Package retrosheet April 13, 2015 Title Import Professional Baseball Data from 'Retrosheet' Version 1.0.2 Date 2015-03-17 Maintainer Richard Scriven A collection of tools
More informationCOMPSCI 210. Binary Fractions. Agenda & Reading
COMPSCI 21 Binary Fractions Agenda & Reading Topics: Fractions Binary Octal Hexadecimal Binary -> Octal, Hex Octal -> Binary, Hex Decimal -> Octal, Hex Hex -> Binary, Octal Animation: BinFrac.htm Example
More informationParamedic Program Pre-Admission Mathematics Test Study Guide
Paramedic Program Pre-Admission Mathematics Test Study Guide 05/13 1 Table of Contents Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 Page 7 Page 8 Page 9 Page 10 Page 11 Page 12 Page 13 Page 14 Page 15 Page
More informationIntroduction to Fractions, Equivalent and Simplifying (1-2 days)
Introduction to Fractions, Equivalent and Simplifying (1-2 days) 1. Fraction 2. Numerator 3. Denominator 4. Equivalent 5. Simplest form Real World Examples: 1. Fractions in general, why and where we use
More information47 Numerator Denominator
JH WEEKLIES ISSUE #22 2012-2013 Mathematics Fractions Mathematicians often have to deal with numbers that are not whole numbers (1, 2, 3 etc.). The preferred way to represent these partial numbers (rational
More informationPackage empiricalfdr.deseq2
Type Package Package empiricalfdr.deseq2 May 27, 2015 Title Simulation-Based False Discovery Rate in RNA-Seq Version 1.0.3 Date 2015-05-26 Author Mikhail V. Matz Maintainer Mikhail V. Matz
More informationGrade 7/8 Math Circles Fall 2012 Factors and Primes
1 University of Waterloo Faculty of Mathematics Centre for Education in Mathematics and Computing Grade 7/8 Math Circles Fall 2012 Factors and Primes Factors Definition: A factor of a number is a whole
More informationFRACTIONS. The student will be able to: Essential Fraction Vocabulary
FRACTIONS The student will be able to:. Perform basic operations with common fractions: addition, subtraction, multiplication, and division. Common fractions, such as /, /, and /, are used on the GED Test
More informationPackage sendmailr. February 20, 2015
Version 1.2-1 Title send email using R Package sendmailr February 20, 2015 Package contains a simple SMTP client which provides a portable solution for sending email, including attachment, from within
More informationIntroduce Decimals with an Art Project Criteria Charts, Rubrics, Standards By Susan Ferdman
Introduce Decimals with an Art Project Criteria Charts, Rubrics, Standards By Susan Ferdman hundredths tenths ones tens Decimal Art An Introduction to Decimals Directions: Part 1: Coloring Have children
More informationAdding and Subtracting Fractions. 1. The denominator of a fraction names the fraction. It tells you how many equal parts something is divided into.
Tallahassee Community College Adding and Subtracting Fractions Important Ideas:. The denominator of a fraction names the fraction. It tells you how many equal parts something is divided into.. The numerator
More informationSummary Of Mental Maths Targets EYFS Yr 6. Year 3. Count from 0 in multiples of 4 & 8, 50 & 100. Count back in 100s, 10s, 1s eg.
Autumn 1 Say the number names in order to 10. Read and write from 1 to 20 in numerals and words. Count in steps of 2, 3, and 5 from 0, and in tens from any number, forward and backward. Count from 0 in
More informationMaths Workshop for Parents 2. Fractions and Algebra
Maths Workshop for Parents 2 Fractions and Algebra What is a fraction? A fraction is a part of a whole. There are two numbers to every fraction: 2 7 Numerator Denominator 2 7 This is a proper (or common)
More informationToday s Topics. Primes & Greatest Common Divisors
Today s Topics Primes & Greatest Common Divisors Prime representations Important theorems about primality Greatest Common Divisors Least Common Multiples Euclid s algorithm Once and for all, what are prime
More informationSIMPLIFYING ALGEBRAIC FRACTIONS
Tallahassee Community College 5 SIMPLIFYING ALGEBRAIC FRACTIONS In arithmetic, you learned that a fraction is in simplest form if the Greatest Common Factor (GCF) of the numerator and the denominator is
More informationScientific Notation. Section 7-1 Part 2
Scientific Notation Section 7-1 Part 2 Goals Goal To write numbers in scientific notation and standard form. To compare and order numbers using scientific notation. Vocabulary Scientific Notation Powers
More informationMath Circle Beginners Group October 18, 2015
Math Circle Beginners Group October 18, 2015 Warm-up problem 1. Let n be a (positive) integer. Prove that if n 2 is odd, then n is also odd. (Hint: Use a proof by contradiction.) Suppose that n 2 is odd
More informationAnswers to Basic Algebra Review
Answers to Basic Algebra Review 1. -1.1 Follow the sign rules when adding and subtracting: If the numbers have the same sign, add them together and keep the sign. If the numbers have different signs, subtract
More informationLESSON PLANS FOR PERCENTAGES, FRACTIONS, DECIMALS, AND ORDERING Lesson Purpose: The students will be able to:
LESSON PLANS FOR PERCENTAGES, FRACTIONS, DECIMALS, AND ORDERING Lesson Purpose: The students will be able to: 1. Change fractions to decimals. 2. Change decimals to fractions. 3. Change percents to decimals.
More informationNumber of Divisors. Terms. Factors, prime factorization, exponents, Materials. Transparencies Activity Sheets Calculators
of Divisors Purpose: Participants will investigate the relationship between the prime-factored form of a number and its total number of factors. Overview: In small groups, participants will generate the
More informationPackage BioFTF. February 18, 2016
Version 1.0-0 Date 2016-02-15 Package BioFTF February 18, 2016 Title Biodiversity Assessment Using Functional Tools Author Fabrizio Maturo [aut, cre], Francesca Fortuna [aut], Tonio Di Battista [aut] Maintainer
More informationPrimes. Name Period Number Theory
Primes Name Period A Prime Number is a whole number whose only factors are 1 and itself. To find all of the prime numbers between 1 and 100, complete the following exercise: 1. Cross out 1 by Shading in
More informationPackage pdfetch. R topics documented: July 19, 2015
Package pdfetch July 19, 2015 Imports httr, zoo, xts, XML, lubridate, jsonlite, reshape2 Type Package Title Fetch Economic and Financial Time Series Data from Public Sources Version 0.1.7 Date 2015-07-15
More informationPackage polynom. R topics documented: June 24, 2015. Version 1.3-8
Version 1.3-8 Package polynom June 24, 2015 Title A Collection of Functions to Implement a Class for Univariate Polynomial Manipulations A collection of functions to implement a class for univariate polynomial
More informationMath 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
More informationGrade 5 Mathematics Curriculum Guideline Scott Foresman - Addison Wesley 2008. Chapter 1: Place, Value, Adding, and Subtracting
Grade 5 Math Pacing Guide Page 1 of 9 Grade 5 Mathematics Curriculum Guideline Scott Foresman - Addison Wesley 2008 Test Preparation Timeline Recommendation: September - November Chapters 1-5 December
More informationModuMath Basic Math Basic Math 1.1 - Naming Whole Numbers Basic Math 1.2 - The Number Line Basic Math 1.3 - Addition of Whole Numbers, Part I
ModuMath Basic Math Basic Math 1.1 - Naming Whole Numbers 1) Read whole numbers. 2) Write whole numbers in words. 3) Change whole numbers stated in words into decimal numeral form. 4) Write numerals in
More informationGrade 6 Math Circles March 10/11, 2015 Prime Time Solutions
Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Lights, Camera, Primes! Grade 6 Math Circles March 10/11, 2015 Prime Time Solutions Today, we re going
More informationChapter 4. Polynomial and Rational Functions. 4.1 Polynomial Functions and Their Graphs
Chapter 4. Polynomial and Rational Functions 4.1 Polynomial Functions and Their Graphs A polynomial function of degree n is a function of the form P = a n n + a n 1 n 1 + + a 2 2 + a 1 + a 0 Where a s
More informationMath 96--Calculator and Exponent Key and Root Key--page 1
Math 96--Calculator a Eponent Ke a Root Ke--page 1 Part A--Eponent Ke, using fractions. We alread know that a fraction eponent represents a radical. Sometimes when we work with a fractional eponent, the
More informationPackage gazepath. April 1, 2015
Type Package Package gazepath April 1, 2015 Title Gazepath Transforms Eye-Tracking Data into Fixations and Saccades Version 1.0 Date 2015-03-03 Author Daan van Renswoude Maintainer Daan van Renswoude
More informationElementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.
Elementary Number Theory and Methods of Proof CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.edu/~cse215 1 Number theory Properties: 2 Properties of integers (whole
More information8 Primes and Modular Arithmetic
8 Primes and Modular Arithmetic 8.1 Primes and Factors Over two millennia ago already, people all over the world were considering the properties of numbers. One of the simplest concepts is prime numbers.
More informationPackage httprequest. R topics documented: February 20, 2015
Version 0.0.10 Date 2014-09-29 Title Basic HTTP Request Author Eryk Witold Wolski, Andreas Westfeld Package httprequest February 20, 2015 Maintainer Andreas Westfeld HTTP
More informationSIMPLIFYING SQUARE ROOTS EXAMPLES
SIMPLIFYING SQUARE ROOTS EXAMPLES 1. Definition of a simplified form for a square root The square root of a positive integer is in simplest form if the radicand has no perfect square factor other than
More informationIntroduction to fractions A fraction is the ratio of two whole numbers, i.e. one whole number divided by another whole number:
Fractions & Percentages Topics Covered: Fractions Simplifying fractions Equivalent fractions Improper fractions & mixed numers Operations with Fractions (addition, sutraction, multiplication, division)
More informationSequential Skills. Strands and Major Topics
Sequential Skills This set of charts lists, by strand, the skills that are assessed, taught, and practiced in the Skills Tutorial program. Each Strand ends with a Mastery Test. You can enter correlating
More informationPackage CIFsmry. July 10, 2016. Index 6
Type Package Package CIFsmry July 10, 2016 Title Weighted summary of cumulative incidence functions Version 1.0.1.1 Date 2013-10-10 Author Jianing Li Maintainer Jianing Li Depends R(>= 3.0.1)
More informationFraction Vocabulary. It is important that vocabulary terms are taught to students.
Rational Numbers Fractions Decimals Percents It is important for students to know how these 3 concepts relate to each other and how they can be interchanged. Fraction Vocabulary It is important that vocabulary
More informationAccentuate the Negative: Homework Examples from ACE
Accentuate the Negative: Homework Examples from ACE Investigation 1: Extending the Number System, ACE #6, 7, 12-15, 47, 49-52 Investigation 2: Adding and Subtracting Rational Numbers, ACE 18-22, 38(a),
More informationMath Workshop October 2010 Fractions and Repeating Decimals
Math Workshop October 2010 Fractions and Repeating Decimals This evening we will investigate the patterns that arise when converting fractions to decimals. As an example of what we will be looking at,
More information26 Integers: Multiplication, Division, and Order
26 Integers: Multiplication, Division, and Order Integer multiplication and division are extensions of whole number multiplication and division. In multiplying and dividing integers, the one new issue
More informationThe Euclidean Algorithm
The Euclidean Algorithm A METHOD FOR FINDING THE GREATEST COMMON DIVISOR FOR TWO LARGE NUMBERS To be successful using this method you have got to know how to divide. If this is something that you have
More informationQuick Reference ebook
This file is distributed FREE OF CHARGE by the publisher Quick Reference Handbooks and the author. Quick Reference ebook Click on Contents or Index in the left panel to locate a topic. The math facts listed
More information8 Divisibility and prime numbers
8 Divisibility and prime numbers 8.1 Divisibility In this short section we extend the concept of a multiple from the natural numbers to the integers. We also summarize several other terms that express
More informationFractions to decimals
Worksheet.4 Fractions and Decimals Section Fractions to decimals The most common method of converting fractions to decimals is to use a calculator. A fraction represents a division so is another way of
More information15 Prime and Composite Numbers
15 Prime and Composite Numbers Divides, Divisors, Factors, Multiples In section 13, we considered the division algorithm: If a and b are whole numbers with b 0 then there exist unique numbers q and r such
More information1.2 Linear Equations and Rational Equations
Linear Equations and Rational Equations Section Notes Page In this section, you will learn how to solve various linear and rational equations A linear equation will have an variable raised to a power of
More informationAn Introduction to Number Theory Prime Numbers and Their Applications.
East Tennessee State University Digital Commons @ East Tennessee State University Electronic Theses and Dissertations 8-2006 An Introduction to Number Theory Prime Numbers and Their Applications. Crystal
More informationConverting from Fractions to Decimals
.6 Converting from Fractions to Decimals.6 OBJECTIVES. Convert a common fraction to a decimal 2. Convert a common fraction to a repeating decimal. Convert a mixed number to a decimal Because a common fraction
More informationCopy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any.
Algebra 2 - Chapter Prerequisites Vocabulary Copy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any. P1 p. 1 1. counting(natural) numbers - {1,2,3,4,...}
More informationIntegers, I, is a set of numbers that include positive and negative numbers and zero.
Grade 9 Math Unit 3: Rational Numbers Section 3.1: What is a Rational Number? Integers, I, is a set of numbers that include positive and negative numbers and zero. Imagine a number line These numbers are
More informationGrade 7 & 8 Math Circles October 19, 2011 Prime Numbers
1 University of Waterloo Faculty of Mathematics Centre for Education in Mathematics and Computing Grade 7 & 8 Math Circles October 19, 2011 Prime Numbers Factors Definition: A factor of a number is a whole
More informationDecimals and other fractions
Chapter 2 Decimals and other fractions How to deal with the bits and pieces When drugs come from the manufacturer they are in doses to suit most adult patients. However, many of your patients will be very
More informationTraining Manual. Pre-Employment Math. Version 1.1
Training Manual Pre-Employment Math Version 1.1 Created April 2012 1 Table of Contents Item # Training Topic Page # 1. Operations with Whole Numbers... 3 2. Operations with Decimal Numbers... 4 3. Operations
More informationFactor Trees. Objective To provide experiences with finding the greatest common factor and the least common multiple of two numbers.
Factor Trees Objective To provide experiences with finding the greatest common factor and the least common multiple of two numbers. www.everydaymathonline.com epresentations etoolkit Algorithms Practice
More informationPackage uptimerobot. October 22, 2015
Type Package Version 1.0.0 Title Access the UptimeRobot Ping API Package uptimerobot October 22, 2015 Provide a set of wrappers to call all the endpoints of UptimeRobot API which includes various kind
More informationAlgebra Practice Problems for Precalculus and Calculus
Algebra Practice Problems for Precalculus and Calculus Solve the following equations for the unknown x: 1. 5 = 7x 16 2. 2x 3 = 5 x 3. 4. 1 2 (x 3) + x = 17 + 3(4 x) 5 x = 2 x 3 Multiply the indicated polynomials
More informationAddition Methods. Methods Jottings Expanded Compact Examples 8 + 7 = 15
Addition Methods Methods Jottings Expanded Compact Examples 8 + 7 = 15 48 + 36 = 84 or: Write the numbers in columns. Adding the tens first: 47 + 76 110 13 123 Adding the units first: 47 + 76 13 110 123
More informationThe Fundamental Theorem of Arithmetic
The Fundamental Theorem of Arithmetic 1 Introduction: Why this theorem? Why this proof? One of the purposes of this course 1 is to train you in the methods mathematicians use to prove mathematical statements,
More informationMATHEMATICAL INDUCTION. Mathematical Induction. This is a powerful method to prove properties of positive integers.
MATHEMATICAL INDUCTION MIGUEL A LERMA (Last updated: February 8, 003) Mathematical Induction This is a powerful method to prove properties of positive integers Principle of Mathematical Induction Let P
More informationLINEAR INEQUALITIES. less than, < 2x + 5 x 3 less than or equal to, greater than, > 3x 2 x 6 greater than or equal to,
LINEAR INEQUALITIES When we use the equal sign in an equation we are stating that both sides of the equation are equal to each other. In an inequality, we are stating that both sides of the equation are
More informationProgress Check 6. Objective To assess students progress on mathematical content through the end of Unit 6. Looking Back: Cumulative Assessment
Progress Check 6 Objective To assess students progress on mathematical content through the end of Unit 6. Looking Back: Cumulative Assessment The Mid-Year Assessment in the Assessment Handbook is a written
More informationIntroduction to Programming (in C++) Loops. Jordi Cortadella, Ricard Gavaldà, Fernando Orejas Dept. of Computer Science, UPC
Introduction to Programming (in C++) Loops Jordi Cortadella, Ricard Gavaldà, Fernando Orejas Dept. of Computer Science, UPC Example Assume the following specification: Input: read a number N > 0 Output:
More informationLesson 3.1 Factors and Multiples of Whole Numbers Exercises (pages 140 141)
Lesson 3.1 Factors and Multiples of Whole Numbers Exercises (pages 140 141) A 3. Multiply each number by 1, 2, 3, 4, 5, and 6. a) 6 1 = 6 6 2 = 12 6 3 = 18 6 4 = 24 6 5 = 30 6 6 = 36 So, the first 6 multiples
More informationPackage fractional. February 15, 2016
Type Package Title Vulgar Fractions in R Version 0.1.3 Author Bill Venables Package fractional February 15, 2016 Maintainer Bill Venables The main function of this package allows
More informationGREATEST COMMON DIVISOR
DEFINITION: GREATEST COMMON DIVISOR The greatest common divisor (gcd) of a and b, denoted by (a, b), is the largest common divisor of integers a and b. THEOREM: If a and b are nonzero integers, then their
More informationExample. Introduction to Programming (in C++) Loops. The while statement. Write the numbers 1 N. Assume the following specification:
Example Introduction to Programming (in C++) Loops Assume the following specification: Input: read a number N > 0 Output: write the sequence 1 2 3 N (one number per line) Jordi Cortadella, Ricard Gavaldà,
More informationPackage pesticides. February 20, 2015
Type Package Package pesticides February 20, 2015 Title Analysis of single serving and composite pesticide residue measurements Version 0.1 Date 2010-11-17 Author David M Diez Maintainer David M Diez
More informationThe Crescent Primary School Calculation Policy
The Crescent Primary School Calculation Policy Examples of calculation methods for each year group and the progression between each method. January 2015 Our Calculation Policy This calculation policy has
More informationRoman Numerals. Symbol Decimal Value I One (1) V Five (5) X Ten (10) L Fifty (50) C Hundred (100) D Five Hundred (500) M Thousand (1000)
Roman Numerals Pre-requisite: Number System, Addition and Subtraction. Target Audience: Standard V to Standard VII. In Syllabus Standard V. Revision Standard VI & VII. Symbol Decimal Value I One (1) V
More informationChapter 11 Number Theory
Chapter 11 Number Theory Number theory is one of the oldest branches of mathematics. For many years people who studied number theory delighted in its pure nature because there were few practical applications
More information1004.6 one thousand, four AND six tenths 3.042 three AND forty-two thousandths 0.0063 sixty-three ten-thousands Two hundred AND two hundreds 200.
Section 4 Decimal Notation Place Value Chart 00 0 0 00 000 0000 00000 0. 0.0 0.00 0.000 0.0000 hundred ten one tenth hundredth thousandth Ten thousandth Hundred thousandth Identify the place value for
More informationFRACTIONS COMMON MISTAKES
FRACTIONS COMMON MISTAKES 0/0/009 Fractions Changing Fractions to Decimals How to Change Fractions to Decimals To change fractions to decimals, you need to divide the numerator (top number) by the denominator
More informationCONTENTS. Please note:
CONTENTS Introduction...iv. Number Systems... 2. Algebraic Expressions.... Factorising...24 4. Solving Linear Equations...8. Solving Quadratic Equations...0 6. Simultaneous Equations.... Long Division
More informationTests for Divisibility, Theorems for Divisibility, the Prime Factor Test
1 Tests for Divisibility, Theorems for Divisibility, the Prime Factor Test Definition: Prime numbers are numbers with only two factors, one and itself. For example: 2, 3, and 5. Definition: Composite numbers
More information6.2 Permutations continued
6.2 Permutations continued Theorem A permutation on a finite set A is either a cycle or can be expressed as a product (composition of disjoint cycles. Proof is by (strong induction on the number, r, of
More informationCS 103X: Discrete Structures Homework Assignment 3 Solutions
CS 103X: Discrete Structures Homework Assignment 3 s Exercise 1 (20 points). On well-ordering and induction: (a) Prove the induction principle from the well-ordering principle. (b) Prove the well-ordering
More informationPackage MDM. February 19, 2015
Type Package Title Multinomial Diversity Model Version 1.3 Date 2013-06-28 Package MDM February 19, 2015 Author Glenn De'ath ; Code for mdm was adapted from multinom in the nnet package
More informationWelcome to Basic Math Skills!
Basic Math Skills Welcome to Basic Math Skills! Most students find the math sections to be the most difficult. Basic Math Skills was designed to give you a refresher on the basics of math. There are lots
More informationPROPERTIES OF ELLIPTIC CURVES AND THEIR USE IN FACTORING LARGE NUMBERS
PROPERTIES OF ELLIPTIC CURVES AND THEIR USE IN FACTORING LARGE NUMBERS A ver important set of curves which has received considerabl attention in recent ears in connection with the factoring of large numbers
More informationChapter 1: Order of Operations, Fractions & Percents
HOSP 1107 (Business Math) Learning Centre Chapter 1: Order of Operations, Fractions & Percents ORDER OF OPERATIONS When finding the value of an expression, the operations must be carried out in a certain
More informationPreviously, you learned the names of the parts of a multiplication problem. 1. a. 6 2 = 12 6 and 2 are the. b. 12 is the
Tallahassee Community College 13 PRIME NUMBERS AND FACTORING (Use your math book with this lab) I. Divisors and Factors of a Number Previously, you learned the names of the parts of a multiplication problem.
More information3.3 Addition and Subtraction of Rational Numbers
3.3 Addition and Subtraction of Rational Numbers In this section we consider addition and subtraction of both fractions and decimals. We start with addition and subtraction of fractions with the same denominator.
More informationCore Maths C3. Revision Notes
Core Maths C Revision Notes October 0 Core Maths C Algebraic fractions... Cancelling common factors... Multipling and dividing fractions... Adding and subtracting fractions... Equations... 4 Functions...
More informationSAMPLE TEST PAPER-1 COMMON APTITUDE TEST (CAT) 2012
SAMPLE TEST PAPER-1 COMMON APTITUDE TEST (CAT) 2012 CLASS V MATHS Q1. Tick ( ) the correct answer (1.) The sum of place values of 9 and 1 in 479810 is (a.) 9010 (b.) 9001 (c.) 9100 (d.) 1900 (2.) The number
More informationExponents, Radicals, and Scientific Notation
General Exponent Rules: Exponents, Radicals, and Scientific Notation x m x n = x m+n Example 1: x 5 x = x 5+ = x 7 (x m ) n = x mn Example : (x 5 ) = x 5 = x 10 (x m y n ) p = x mp y np Example : (x) =
More information23. RATIONAL EXPONENTS
23. RATIONAL EXPONENTS renaming radicals rational numbers writing radicals with rational exponents When serious work needs to be done with radicals, they are usually changed to a name that uses exponents,
More informationPackage TSfame. February 15, 2013
Package TSfame February 15, 2013 Version 2012.8-1 Title TSdbi extensions for fame Description TSfame provides a fame interface for TSdbi. Comprehensive examples of all the TS* packages is provided in the
More informationPackage bigdata. R topics documented: February 19, 2015
Type Package Title Big Data Analytics Version 0.1 Date 2011-02-12 Author Han Liu, Tuo Zhao Maintainer Han Liu Depends glmnet, Matrix, lattice, Package bigdata February 19, 2015 The
More informationExponents. Exponents tell us how many times to multiply a base number by itself.
Exponents Exponents tell us how many times to multiply a base number by itself. Exponential form: 5 4 exponent base number Expanded form: 5 5 5 5 25 5 5 125 5 625 To use a calculator: put in the base number,
More informationFRACTION WORKSHOP. Example: Equivalent Fractions fractions that have the same numerical value even if they appear to be different.
FRACTION WORKSHOP Parts of a Fraction: Numerator the top of the fraction. Denominator the bottom of the fraction. In the fraction the numerator is 3 and the denominator is 8. Equivalent Fractions: Equivalent
More informationDecimals Adding and Subtracting
1 Decimals Adding and Subtracting Decimals are a group of digits, which express numbers or measurements in units, tens, and multiples of 10. The digits for units and multiples of 10 are followed by a decimal
More informationMATH 13150: Freshman Seminar Unit 10
MATH 13150: Freshman Seminar Unit 10 1. Relatively prime numbers and Euler s function In this chapter, we are going to discuss when two numbers are relatively prime, and learn how to count the numbers
More informationMath 0306 Final Exam Review
Math 006 Final Exam Review Problem Section Answers Whole Numbers 1. According to the 1990 census, the population of Nebraska is 1,8,8, the population of Nevada is 1,01,8, the population of New Hampshire
More information