XML and Web Services (II/2546)

Slides:



Advertisements
Similar presentations
MAT 105 SPRING 2009 Scientific & Engineering Notation
Advertisements

Dividing Whole Numbers 1.Arrange the numbers as a divisor and a dividend. Example: If 6 people sit at each table at a banquet, how many tables are required.
DIVISION. Division is splitting into equal parts or groups. It is the result of "fair sharing". Division has its own special words to remember.
4-8 Example 2 Divide. Multiply to make the divisor a whole number.
Problem of the Day Problem of the Day Division next.
Multiplying Decimals. Multiplying Decimals Notes Multiply as usual, ignoring the decimal points. Count how many total digits are to the right of the decimal.
Factors Terminology: 3  4 =12
 Binary Binary  Binary Number System Binary Number System  Binary to Decimal Binary to Decimal  Decimal to Binary Decimal to Binary  Octal and Hexadecimal.
division algorithm Before we study divisibility, we must remember the division algorithm. r dividend = (divisor ⋅ quotient) + remainder.
Chapter 16 Binary and Hexadecimal Numbers. §16.2 thru 16.3 – Addition and Subtraction of Binary Numbers Binary = Base 2 Addition and subtraction are similar.
4.4 Decimals and Fractions
4.4 – DIVIDING DECIMALS Catherine Conway Math 081.
Long Multiplication! Foil Method! Example:
Rational Numbers Jeopardy
Dividing Decimals by Whole Numbers Mrs. Sherwood.
Today we will review “Multiplying & Dividing Decimals”
Dividing Decimals by Whole Numbers
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.
L4-3 Notes: Dividing Decimals by Whole Numbers
 When dividing a decimal by a whole number, divide as with whole numbers. Then place the decimal in the quotient directly above its place in the dividend.
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.
+ Division Objective: I can divide multi-digit whole numbers by whole numbers divisors with and without remainders.
Long Division. We are going to try to solve 837 ÷ 27.
Multiples and Factors. Multiples A multiple is formed by multiplying a given number by the counting numbers. The counting numbers are 1, 2, 3, 4, 5, 6,
SAX2 and DOM2 Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Warm-Up Find the value of each expression − (1.9) ÷ 0.3 Which One Doesn’t Belong? (Include your reasoning…)
Partial Quotients.
I CAN USE LONG DIVISION AND SYNTHETIC DIVISION. I CAN APPLY THE FACTOR AND REMAINDER THEOREMS. Lesson 2-3 The Remainder and Factor Theorems.
Chapter 2 Number Systems Consists of a set of symbols called digits and a set of relations such as +, -, x, /.
Dividing Decimals that Terminate Section (3 – 4).
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.
Scientific Notation N SPI Use scientific notation to compute products and quotients.
DIVISION. Standards G4.1M.C2.PO4A. Use multiple strategies to divide whole numbers using 4-digit dividends and divisors from 1 to 12 with remainders.
Converting Decimals to Fractions Goal: use place values to make fractions.
Fast Math Tricks Vedic Math. This tutorial will teach you a technique to divide any number by a single-digit number.
Quick Guide to Adding, Subtracting, Multiplying, and Dividing Decimals
Dividing Decimals Lesson 1-9.
3x + 2 6x3 - 5x2 – 12x – 4 2x2 – 3x – 2 6x3 + 4x2 -9x2 – 12x -9x2 – 6x
Dividing larger Numbers
Different Numeral Systems
5 Rational Numbers: Positive and Negative Decimals.
EXAMPLE 1 Dividing a Decimal by a Whole Number.
Well-formed and Valid XML Documents
168493: XML and Web Services (II/2546)
Convert Decimal to Binary
How do you write 4.3 ÷ 104?.
Dividing Decimals.
Number Systems and Binary Arithmetic
Dividing Decimals by Whole Numbers
Dividing Decimals by Whole Numbers
Dividing Decimals.
Divide a Decimal by a Whole Number
Dividing Decimals.
Dividing Decimals.
Dividing Decimals by Whole Numbers
Digital Electronics and Microprocessors
How is 0.41  10 related to 0.41  100?.
Fractions, Decimals & Percentages
Complete the following calculation:
Dividing a whole number to get decimal
Dividing a decimal by a whole number
Dividing Decimals.
Complete the following calculation:
Algebra 1 Section 9.6.
Quotient: is the answer to dividing
Scientific Notation N SPI Use scientific notation to compute products and quotients.
Dr. Clincy Professor of CS
Long Division.
Divisibility A number is divisible by another number if the quotient is a whole number with no remainder.
Presentation transcript:

168493 XML and Web Services (II/2546) Base 2 to Base 10 Let b be a digit in the number of base 2 Then for a number of base 2, B, that has n digits, we can write them as B = bn-1bn-2..b2b1b0 The total value of B in a decimal number, D, is D = (bn-1x2n-1) + (bn-2x 2n-2) + … + (b2x22) + (b1x21) + (b0x20) 178110: Computer Programming (II/2546) Dept. of Computer Engineering, Khon Kaen U.

178110: Computer Programming (II/2546) Examples: Base 2  Base 10 1 = 1x20 = 1 10 = 1x21 + 0x20 = 2 101 = 1x22 + 0x21 + 1x20 = 4 + 1 = 5 11001 = 1x24 + 1x23 + 0x22 + 0x21 + 1x20 = 16 + 8 + 1 = 25 111111 = 1x25 + 1x24 + 1x23 + 1x22 + 1x21 + 1x20 = 32 + 16 + 8 + 4 + 2 + 1 = 63 178110: Computer Programming (II/2546)

178110: Computer Programming (II/2546) Base 10 to Base 2 D = (bn-1x2n-1) + (bn-2x 2n-2) + … + (b2x22) + (b1x21) + (b0x20) Procedure: Keep dividing D with 2 until the number is less than 2 The answer is the concatenation of final quotient and all remainders 178110: Computer Programming (II/2546)

178110: Computer Programming (II/2546) Examples: Base 10  Base 2 13 = 11012 178110: Computer Programming (II/2546)