please help me
1. Write two separate MATLAB codes, one using Newton's method, and the other using Conjugate Gradient method (discussed in the class) to find the minimum of the following function: f(x1, x2) = 100(x2 – x3)2 + (1 – Xı)2 = (a) Write down the analytical procedure and show the calculations for first two iterations using both the methods, separately. (b) Discuss the results obtained using the Newton's method (effect of initial guess, iterations required for convergence, final solution obtained etc.). Attach the code with the submission. (c) Discuss the results obtained using the Conjugate Gradient method (effect of initial guess, iterations required for convergence, final solution obtained etc.). Attach the code with the submission. (d) Plot 2D contours of the function in the domain -4 < x1 = 4, and -3 < x2 < 6, and mark the optimum solution graphically. (e) Solve the minimization problem using an inbuilt function in Matlab and verify your solution.
1. Write two separate MATLAB codes, one using Newton's method, and the other using Conjugate Gradient method (discussed
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
1. Write two separate MATLAB codes, one using Newton's method, and the other using Conjugate Gradient method (discussed
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!