Stem and leaf theory
Lets
start with a definition to stem and leaf plot.
A Stem and Leaf Plot is a special table where each data value is split into a "stem" (the first digit or digits) and a "leaf" (usually the last digit) [1]
Lets
take an example to make it more clear. If you have the following table to
represent the stems and leafs:
stem
|
leafs
|
1
|
2 3 5 6 7
|
2
|
1 1 0
|
3
|
0
|
4
|
9 8 2
|
The
way we would read this table is:
For
the first row:
12 13 15 16 17
The
second row
21 21 20
The
third row
30
The
fourth row
49 48 42
The red numbers
are the stems and the blue ones are the leafs. The stems will be the TENS
place value where the leafs will be the ONES place value. This
piece of information is important because it will help us in the calculation of stems and leafs.
Now that you got
an idea about the stems and leafs let go and make a program to calculate it.
[1]- https://www.mathsisfun.com/data/stem-leaf-plots.html
0 comments:
Post a Comment