๐ฑ Week 7 Homework โ Feedback
๐ฑ Week 7 Homework โ Feedback
Student: Giovanni Di Miele
Assignment: Solow Model with Technological & Population Growth
โ Overall Assessment
Result: โ More than 50% Correct
Excellent submission with complete implementation. The helper function is correctly used, all scenarios are simulated and stored efficiently, and both plots include steady-state reference lines. The code is well-organized with proper preallocation and clear structure. The only minor issue is that figures are saved to the root directory instead of Figures/. The interpretation is concise but addresses both homework questions.
๐ Task-by-Task Checklist
| # | Requirement | Status | Notes |
|---|---|---|---|
| 1 | Separate simulate_growth_tech.m helper with correct signature |
โ | Provided with four outputs. |
| 2 | Helper preallocates arrays and final values | โ | Column vectors, final period handled. |
| 3 | Law of motion divides by (1+n)(1+g) |
โ | Correct implementation. |
| 4 | Technology path updates with (1+g) |
โ | Included in loop. |
| 5 | Main script sets required parameters (ฮฑ, ฮด, s, T=80, k0, A0) |
โ | Matches homework specification. |
| 6 | Scenario matrix includes (0,0), (0.01,0.02), (0.02,0.03) |
โ | Stored in cases. |
| 7 | Reuses simulation outputs for later steps | โ | Stores results in cell arrays (K_all, yA_all). |
| 8 | Plot k_t for the three scenarios |
โ | Figure 1 shows all paths. |
| 9 | Add steady-state reference lines on k_t plot |
โ | Uses yline with labels. |
| 10 | Plot y_t/A_t for the three scenarios |
โ | Figure 2 implemented. |
| 11 | Add steady-state reference lines on y_t/A_t plot |
โ | Uses yline with labels. |
| 12 | Save figures to Figures/ (PNG/PDF) |
โ ๏ธ | Saves to root directory, not Figures/. |
| 13 | Provide steady-state summary (table or print) | โ ๏ธ | Steady states calculated but not printed. |
| 14 | Interpretation answers both homework questions | โ | Clear discussion of steady-state and convergence. |
| 15 | Code hygiene (comments, no cd, folder guard) |
โ | Well-structured, no absolute paths. |
Score: 13/15 tasks fully correct, 2/15 partial โ โ
๐ Evidence & Highlights
49:51:docs/week7/Homework submissions/week7_hw_sol Giovanni Di Miele/week7_homework.m
for j = 1:size(cases,1)
yline(kstars(j), '--', sprintf('k* (%s)', labels{j}));
end
...
for j = 1:size(cases,1)
yline(yAstars(j), '--', sprintf('(y/A)* (%s)', labels{j}));
end
๐ก Suggestions for Improvement
- Save figures to
Figures/directory: Usefullfile('Figures', 'kt.png')instead of saving directly to the root directory. This keeps the workspace organized and matches homework expectations. - Print steady-state summary: Add a
fprintfblock that reportsk*and(y/A)*for each scenario. You already calculate these values (kstars,yAstars), so just print them.
๐งพ Summary
Outstanding submission with complete implementation, proper steady-state overlays, and clear interpretation. Moving figure exports to Figures/ and adding a printed summary are the only remaining polish items.
Grade: โ (More than 50% correct)