Skip to content

Commit 73c3d61

Browse files
committed
feat: including average data and charts
1 parent 57eae72 commit 73c3d61

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed
16.2 KB
Loading
13.9 KB
Loading

allhands/spring2025/weekeleven/teamthree/index.qmd

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,35 @@ TODO: include the output from `systemsense` on your own laptop
124124
| Titus | 8 | `0.000234000` | `0.000093900` | `0.000076800` | `0.000076700` | `0.000083500` | 14 | memoization | 15 | 5 |
125125
| Titus | 9 | `0.000225300` | `0.000178000` | `0.000190900` | `0.000207500` | `0.000186000` | 28 | memoization | 15 | 5 |
126126

127+
## Averages
128+
129+
The following table averages out the data in the table above, grouping them by the `Quantity` and `Approach` columns.
130+
131+
| Average Time | Quantity | Approach | Runs | Repeats |
132+
| ------------: | -------: | ----------- | :--: | :-----: |
133+
| `0.000007536` | 7 | iterative | 15 | 5 |
134+
| `0.000009418` | 14 | iterative | 15 | 5 |
135+
| `0.000017121` | 28 | iterative | 15 | 5 |
136+
| `0.000060102` | 7 | recursive | 15 | 5 |
137+
| `0.001653598` | 14 | recursive | 15 | 5 |
138+
| `1.190864052` | 28 | recursive | 15 | 5 |
139+
| `0.000028342` | 7 | memoization | 15 | 5 |
140+
| `0.000062747` | 14 | memoization | 15 | 5 |
141+
| `0.000111318` | 28 | memoization | 15 | 5 |
142+
127143
# Charts
128144

129-
TODO: include charts, if necessary
145+
## Iterative and Memoization
146+
147+
This is a chart using the values in the `Averages` table above, for the Iterative and Memoization approaches.
148+
149+
![Line Graph with Time on the Vertical Axis and Approach on the Horizontal Axis for Iterative and Memoization](./images/chart_im.png)
150+
151+
## Recursive
152+
153+
This is a chart using the values in the `Averages` table above, for the Recursive approach.
154+
155+
![Line Graph with Time on the Vertical Axis and Approach on the Horizontal Axis for Recursive](./images/chart_r.png)
130156

131157
# Results
132158

0 commit comments

Comments
 (0)