๐ŸŒฑ 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

  1. Save figures to Figures/ directory: Use fullfile('Figures', 'kt.png') instead of saving directly to the root directory. This keeps the workspace organized and matches homework expectations.
  2. Print steady-state summary: Add a fprintf block that reports k* 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)