Submit the algorithm in pseudocode (or any computer language) to minimize f(x) by finding vector x using gradient-based optimization

Optimization

Submit the algorithm in pseudocode (or any computer language) to minimize f(x) by finding vector x using gradient-based optimization: f(x) = 0.5  ||A  x − b||^2, where A, x, and b are some vectors.