More Maths Programming Guides.

Slides:



Advertisements
Similar presentations
Mod arithmetic.
Advertisements

Using the TI 83 Plus Calculator
MEAP Review: MULTI-DIGIT MULTIPLICATION And Division.
4-8 Example 2 Divide. Multiply to make the divisor a whole number.
Converting Mixed and Improper Fractions
Factors Terminology: 3  4 =12
Integers: Multiplication & Division
Mixed and Improper Fractions Math 6 th Grade Finley.
You can't take the square root of a negative number, right? When we were young and still in Algebra I, no numbers that, when multiplied.
Solving Equations Medina1 With Decimal & Fractions.
4.4 – DIVIDING DECIMALS Catherine Conway Math 081.
Add, Subtract, Multiply, and Divide Decimals
When dividing a decimal by a whole number, place the decimal point in the quotient directly above the decimal point in the dividend. Then divide as you.
Writing a Fraction as a Decimal EXAMPLE 1 Lighthouses At one time, 31 out of the 50 states in the United States had lighthouses. This can be written as.
5. Divide 4723 by 5. Long Division: Steps in Dividing Whole Numbers Example: 4716  5 STEPS 1. The dividend is The divisor is 5. Write.
Integers All whole numbers and their opposites including the number 0.
OPERATIONS USING FRACTIONS. 1. Add, subtract, multiply and divide fractions with and without a calculator. 2. Convert between equivalent forms of fractions.
EXAMPLE 1 Dividing a Fraction by a Fraction a = = 3 4 1, or b. – – = = 7 (– 2) 9 – 4 = 1 4 – 2, or.
3.2 – Mixed number notation
Divide. Evaluate power – 3 = – 3 EXAMPLE – 3 = 3 2 – – 3 = 6 – 3 Multiply. Evaluate expressions Multiply and divide from.
Dividing Decimals by a Whole Number 3.6 ÷ 3.
177 8 Start by setting up the problem like this. It looks just like the traditional long division method, except for the long line that is drawn to the.
Partial Quotients.
Arithmetic Expressions Addition (+) Subtraction (-) Multiplication (*) Division (/) –Integer –Real Number Mod Operator (%) Same as regular Depends on the.
Dividing Decimals Module 5 Lesson 4 GET READY TO WRITE NOTES.
Dividing a Decimal by a Decimal. Dividing Whole Numbers 12 ÷ 2 = 120 ÷ 20 = 1200 ÷ 200 = ÷ 2000 = Multiply both 12 and 2 by 10 Multiply.
Addition, Subtraction, Multiplication, Division by a whole number, and Division by a decimal.
Complex Number System Reals Rationals (fractions, decimals) Integers (…, -1, -2, 0, 1, 2, …) Whole (0, 1, 2, …) Natural (1, 2, …) Irrationals.
Basic Math skills Lesson 6: Dividing Whole Numbers p
Division Division Problems Do you have problems with division problems? Here is a guide to help you.
Complex Number System Reals Rationals (fractions, decimals) Integers (…, -1, -2, 0, 1, 2, …) Whole (0, 1, 2, …) Natural (1, 2, …) Irrationals.
Divide decimals What is the answer to these divisions? 6 ÷ 3 In each case the answer is 2. The answer to a division is not changed if each number is multiplied.
Quick Guide to Adding, Subtracting, Multiplying, and Dividing Decimals
Copyright © Cengage Learning. All rights reserved. Functions 1 Basic Concepts.
INTEGERS Absolute Value Numbers and the Number Line Addition Subtraction Multiplication and Division Add/Subtract Matrices.
Interesting Integers – Part Dos
3x + 2 6x3 - 5x2 – 12x – 4 2x2 – 3x – 2 6x3 + 4x2 -9x2 – 12x -9x2 – 6x
Dividing larger Numbers
5.2 The Integers.
EXAMPLE 1 Dividing a Decimal by a Whole Number.
Calculation Strategies
Assignment statement and Arithmetic operation 2
Warm-up: Do you remember how to do long division? Try this: (without a calculator!)
Dividing Decimals by Whole Numbers
Domain 1: The Number System
Lesson How do you add and subtract fractions?
Divide a Decimal by a Whole Number
In this tutorial you will be able to follow along step by step on how to solve basic operations involving fractions.
The Integer Song.
Dividing Decimals by Whole Numbers
Chapter 3 Test Review.
MATH TERMS Terms we need to know!.
Fractions, Decimals & Percentages
Divide the number in C by 10.
in a math class far, far away..
Troubleshooting Division
Fractions Mixed Numbers
Converting Mixed and Improper Fractions
Short Division.
Dividing a whole number to get decimal
Dividing a decimal by a whole number
Division Dividing 3 and 4 Digits by 2 Digits.
Quotient: is the answer to dividing
Fractions V Mixed Numbers
Sets and Subsets Cornell Notes
Chapter 1 Whole Numbers.
Operations with Integers
Introduction To Number Systems
Mr. Peter Richard Complex Numbers Using the TI 83 Plus Calculator
Presentation transcript:

More Maths Programming Guides

More Maths Division If you add, subtract or multiply integers, the result will always be an integer. However, if you divide, the answer may be fractional / decimal, and this is not always useful to a programmer. An Ordinary (real) division is done using the ‘/’ operator. The result is a real number. So that programs can deal with the ‘whole’ number part of a division, which is an integer, languages have an operator to perform a ‘Quotient’ (integer) division. This is done using the operators ‘DIV’, ‘%’ or ‘\’, depending on the language. Due to the above, programs may then need to deal with the remainder (also an integer). Remainder (Modulo Arithmetic) division is performed using the operators ‘MOD’ or ‘//’, depending on the language.

More Maths Quotient and Modulo Division Examples Here is an example of how these division operators can be used to give a user friendly result to a division The ‘//’ operator worked out the whole number part of the division. The ‘%’ operator worked out the remainder part of the division.