This project explores optimal control through LQR tuning and simulation-based optimization methods. It includes applications such as control gain selection for dynamic systems and constrained resource extraction using direct methods.

This repository contains MATLAB implementations and LaTeX writeups for two optimal control tasks:
- LQR Design – Includes gain tuning, pole analysis, rise-time targeting, and finite-horizon Riccati integration (Parts a–d).
- Nonlinear Resource Extraction – Solves a constrained optimal control problem using direct optimization with control discretization and state simulation.
- Run all MATLAB scripts in order to generate the required plots (
.pdf). - Upload the provided LaTeX file and the exported plots into Overleaf.
- Compile the LaTeX document to produce the final report.