L23_Wed_Mar_17_filled

L23_Wed_Mar_17_filled - MAE3811Sp. 2010 Mahoney1 Last Time...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
MAE3811–Sp. 2010 Mahoney–1 Last Time… I just introduced you all to the final “kid friendly” charge/chip [ but really M & M and paycheck/bill ] model of the integers… Example: 2 - - 3 = 5 MAE3811–Sp. 2010 Mahoney–2 The Consequences for Pencil and Paper Algorithms When Adding two positive integers or two negative integers together, the affect appears to be regular addition so the pencil and paper algorithms of whole numbers will apply to negative integers. Observe, if b > a, then a – b and b – a produce __________ __answers. Examples: Universal Subtraction Algorithm: For any two numbers, 1. consider the number with the larger magnitude (absolute value), 2. Perform the whole number subtraction of the absolute value of the smaller magnitude number from the larger (its guarranteed to have an answer) 3. If the larger magnitude number from step 1) was positve, your answe is positive, otherwise it was negative and so your answer is negative. Example:
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/22/2011 for the course MAE 3811 taught by Professor Mahoney during the Spring '11 term at University of Florida.

Page1 / 5

L23_Wed_Mar_17_filled - MAE3811Sp. 2010 Mahoney1 Last Time...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online