π± Week 7 Homework β Feedback
π± 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:
- Export the multi-panel figures as high-resolution PNG/PDF directly from the script (you already saved single images, but calling
exportgraphicson the figure handles layout scaling). - 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)