๐ฑ Week 7 Homework โ Feedback
๐ฑ Week 7 Homework โ Feedback
Student: Lorenzo Ilari
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 efficiently, and both plots include steady-state reference lines. The code is well-organized with proper structure and clear comments. The figures are saved to the correct directory. The only minor gap is the lack of a printed steady-state summary, though the interpretation is present.
๐ 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 scenarios. |
| 7 | Reuses simulation outputs for later steps | โ ๏ธ | Re-runs function for second plot. |
| 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 colored dashes. |
| 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 colored lines. |
| 12 | Save figures to Figures/ (PNG/PDF) |
โ | Saved to Figures/ as PNG. |
| 13 | Provide steady-state summary (table or print) | โ | No numerical output of k*/(y/A)*. |
| 14 | Interpretation answers both homework questions | โ ๏ธ | Interpretation missing (no comments in submission). |
| 15 | Code hygiene (comments, no cd, folder guard) |
โ | Clean structure, mkdir guard included. |
Score: 12/15 tasks fully correct, 2/15 partial, 1/15 missing โ โ
๐ Evidence & Highlights
24:26:docs/week7/Homework submissions/LorenzoIlari2016625/w7_homework_solution.m
kstar = ( s / (delta + n + g + n*g) )^( 1/(1 - alpha) );
yline(kstar, '--', 'Color', colors(j,:), 'LineWidth', 1.2);
end
...
yAstar = kstar^alpha;
yline(yAstar, '-', 'Color', colors(j,:), 'LineWidth', 1.2);
๐ก Suggestions for Improvement
- Add interpretation comments: The homework asks for comments on how
nandgaffect steady-state levels and convergence speed. Please add a comment section addressing both questions. - Print steady-state summary: Add a
fprintfblock that reportsk*and(y/A)*for each scenario. This will provide quantitative backing for your interpretation. - Store simulation results: Consider storing the simulation outputs in arrays during the first loop to avoid re-running the function for the second plot.
๐งพ Summary
Excellent implementation with complete visual deliverables. Adding interpretation comments and a quantitative summary will make this submission complete.
Grade: โ (More than 50% correct)