🌱 Week 7 Homework β€” Feedback

Student: Klea Lushaj
Assignment: Solow Model with Technological & Population Growth


βœ… Overall Assessment

Result: βœ… More than 50% Correct

Excellent submission. The helper function is clean, all required scenarios are simulated once and stored, and both transition plots include steady-state benchmarks. Appreciated the additional diagnostics (output levels, technology paths, half-life calculations) and the well-structured console summary.


πŸ” 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 returned, final period set.
3 Law of motion divides by (1+n)(1+g) βœ… Implemented in loop.
4 Technology path updates with (1+g) βœ… Included before law of motion update.
5 Main script sets required parameters (Ξ±, Ξ΄, s, T=80, k0, A0) βœ… Matches instructions exactly.
6 Scenario matrix includes (0,0), (0.01,0.02), (0.02,0.03) βœ… Stored in scenarios.
7 Reuses simulation outputs for later steps βœ… Saves paths into k_all, y_all, etc.
8 Plot k_t for the three scenarios βœ… Left subplot shows trajectories.
9 Add steady-state reference lines on k_t plot βœ… Uses coloured dashed yline.
10 Plot y_t/A_t for the three scenarios βœ… Right subplot handles y/A.
11 Add steady-state reference lines on y_t/A_t plot βœ… Dashed lines for (y/A)*.
12 Save figures to Figures/ (PNG/PDF) βœ… Saved as fig1_week7.png, fig2_week7.png.
13 Provide steady-state summary (table or print) βœ… Printed k*, (y/A)*, effective depreciation.
14 Interpretation answers both homework questions βœ… Console discussion covers steady state & convergence speed.
15 Code hygiene (comments, no cd, folder guard) βœ… Clear sections, no absolute paths.

Score: 15/15 tasks fully correct β†’ βœ…


πŸ“ˆ Evidence & Highlights

```41:88:docs/week7/Homework submissions/week_7 Klea Lushaj/homework_week_7.m [k, y, c, A] = simulate_growth_tech(alpha, s, delta, n, g, k0, A0, T); k_all(:, i) = k; y_per_eff_worker(:, i) = y ./ A; … yline(k_steady(i), [colors{i}, β€˜β€“β€™], β€˜LineWidth’, 1.5, β€˜HandleVisibility’, β€˜off’);


```17:30:docs/week7/Homework submissions/week_7 Klea Lushaj/simulate_growth_tech.m
    for t = 1:T-1
        A(t+1) = (1 + g) * A(t);
        k(t+1) = (s * k(t)^alpha + (1 - delta) * k(t)) / ((1 + n) * (1 + g));
        y(t+1) = A(t+1) * k(t+1)^alpha;
        c(t+1) = (1 - s) * y(t+1);
    end

πŸ’‘ Suggestions for Improvement

Only optional polish ideas:

  1. Export the multi-panel figures as high-resolution PNG/PDF directly from the script (you already saved single images, but calling exportgraphics on the figure handles layout scaling).
  2. Include the half-life results in the printed interpretation block so the written summary references the calculated numbers explicitly.

🧾 Summary

Great jobβ€”complete implementation plus thoughtful extensions. Figures, prints, and interpretation all align with the Week 7 brief.

Grade: βœ… (More than 50% correct)