User Tools

Site Tools


haas:spring2014:cprog:projects:vertcross

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
haas:spring2014:cprog:projects:vertcross [2014/03/13 09:34] – [Multiplying two three-digit numbers together] wedgehaas:spring2014:cprog:projects:vertcross [2014/03/13 09:42] (current) – [Multiplying two double digit numbers together] wedge
Line 77: Line 77:
       4        1         1       4        1         1
               2         0               2         0
 +              
 +      4+2      1         1
 +      
 +      6        1         1
                              
               = 611               = 611
Line 92: Line 96:
   * multiply crosswise the two left-most columns (thousands)   * multiply crosswise the two left-most columns (thousands)
   * multiply vertically the left-most column (ten thousands)   * multiply vertically the left-most column (ten thousands)
 +
 +Note the stretching/expanding approach that is taken here-- with each successive place, the range of columns involved in that position's calculation grows (including an additional column to the left with each position), until all columns are involved, then we shrink it progressively one column at a time (removing columns from the right) as we wane down to a single column on the left.
  
 Let's look at 123 x 234: Let's look at 123 x 234:
Line 105: Line 111:
  2x1               + 0  ten thousands (sum of 2 carry out of 0)  2x1               + 0  ten thousands (sum of 2 carry out of 0)
  
- We then take the sums from each operation and place them as appropriate in their position in the final number (ones place is furthest on the right).+  We then take the sums from each operation and place them as appropriate 
 + in their position in the final number (ones place is furthest on the right).
  
  123 x 234 = 28782  123 x 234 = 28782
haas/spring2014/cprog/projects/vertcross.1394703275.txt.gz · Last modified: 2014/03/13 09:34 by wedge