Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use Julia pro to solve those question Problem 3 (30%) a) Plot f(x) = - cos(10x); b) Use Hessian method to compute the minimum

Please use Julia pro to solve those question

image text in transcribed

Problem 3 (30%) a) Plot f(x) = - cos(10x); b) Use Hessian method to compute the minimum of f(x) in the interval of (-11, 1); c) Use any method from Julia for the minimization of f(x); d) Comment on rate to the minimum as a function of the initial point. If you choose the initial point randomly (uniform) in the (-11,1) interval, how often do you converge to the minimum? Problem 4 (40%) Using Rosenbrock function with a = 1 and b = 100; plot the distance of the kth iterate and the minimum, i.e., d(x(K), Xmin), using x0 = (-1,1) for the following methods: 1. Gradient descent; 2. Conjugate gradient; 3. Momentum; 4. Nesterov momentum; 5. Hyper Nesterov. For each method, show x(k) in a separate contour plot of the Rosenbrock function. [Hint: choose kmax = 100] SA X Ai Ae Pr Ps DO tv Problem 3 (30%) a) Plot f(x) = - cos(10x); b) Use Hessian method to compute the minimum of f(x) in the interval of (-11, 1); c) Use any method from Julia for the minimization of f(x); d) Comment on rate to the minimum as a function of the initial point. If you choose the initial point randomly (uniform) in the (-11,1) interval, how often do you converge to the minimum? Problem 4 (40%) Using Rosenbrock function with a = 1 and b = 100; plot the distance of the kth iterate and the minimum, i.e., d(x(K), Xmin), using x0 = (-1,1) for the following methods: 1. Gradient descent; 2. Conjugate gradient; 3. Momentum; 4. Nesterov momentum; 5. Hyper Nesterov. For each method, show x(k) in a separate contour plot of the Rosenbrock function. [Hint: choose kmax = 100] SA X Ai Ae Pr Ps DO tv

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learn To Program Databases With Visual Basic 6

Authors: John Smiley

1st Edition

1902745035, 978-1902745039

More Books

Students also viewed these Databases questions

Question

LO12.1 List the characteristics of pure monopoly.

Answered: 1 week ago