Steepest ascent-randomized steepest ascent

Assignment Help Engineering Mathematics
Reference no: EM13867635

Problem-1

1.1. Write a program that will find the maxima of the following function using Golden section search algorithm starting from xl = -4 and xu = 1. Your function should take xl , xu, and number of iterations as input parameters. Also plot the graph estimated maxima Vs. iteration number and true error Vs. iteration number.

f(x) = x3 - 10 * x

1.2. Develop a bracketing algorithm to find the maxima of the above function that will generate two random candidate points x1 and x2 with in the bound xl and xu, such that x1 is in the upper half of the bound and x2 is in the lower half of the bound. Then after the algorithm will choose new bounds (xlower and xupper) exactly like in Golden search. Then again two new random candidate points will be generated with in the bound new xl and new xu and the process keeps going till a defined number of iterations.Your function should take xl , xu, and number of iterations as input parameters. Plot the graph estimated maxima Vs. iteration number and true error Vs. iteration number. Also state for this problem was Golden search better or the random bracket search better?

2a. Steepest ascent

Write a Mathematica code to find the maxima of the following multidimensional function using optimal steepest ascent technique. Your function should take the initial starting point and number of iterations as input parameters. Plot the function and the search path on a same graph. [Hint use ContourPlot to plot the function ListLinePlot to draw the search path over the contour]?

f(x, y) = 2xy + 2x - x2 - 2y2

2b. Randomized Steepest ascent

Now repeat the above exercise by moving in the steepest ascent direction with a step size h, which will be user defined. Again plot the function and the search path on a same graph. Which technique you think converges faster to the maxima for this given problem?.

Extra credit

Given a sphere of radius 10 units with 3 particles that interact with each other with in the sphere. The energy of the system for a given configuration of these particles is given by

1190_sphere of radius.jpg

where rij represents the distance between the particles i and j.

Use Mathematica in-built optimization library NMinimize to find out the minimum energy configuration state of this system. Note the particles cannot go outside the sphere neither two particles can occupy the same position with in the sphere. Can you think of a practical application of this simple demonstration.

Reference no: EM13867635

Questions Cloud

Understanding of the methods and techniques : This unit enables learners to develop an understanding of the methods and techniques used to create civil engineering structures and the skills needed to solve problems associated with civil engineering activities
How many employee accumulated less than three thousand miles : How many employees accumulated less than 3,000 miles? Convert the frequency distribution to a cumulative frequency distribution.
Conceptual model for a sales force organization audit : Conceptual Model for a Sales Force Organization Audit
What is the purpose of the system unit : What is the purpose of the system unit? List and define five primary components of the motherboard. List and define the three primary subunits of the CPU
Steepest ascent-randomized steepest ascent : 1.1. Write a program that will find the maxima of the following function using Golden section search algorithm starting from xl = -4 and xu = 1. Your function should take xl , xu, and number of iterations as input parameters. Also plot the graph e..
Analyze your behaviour by constructing a description : Analyze your behaviour by constructing a description of yourself as a consumer - Draw upon your consumption behaviour to describe yourself.
Primary financial investment decision tool of npv : How do sensitivity analysis, scenario analysis, decision tree analysis, and computer simulations assist in making the financial investment decisions? How do these relate to our primary financial investment decision tool of NPV?
Develop a cumulative frequency polygon : Convert the frequency distribution to a cumulative frequency distribution. Develop a cumulative frequency polygon. About 60 percent of the orders were filled in less than how many days?
What should ceo barges invest in before she moves forward : What should CEO Barges invest in before she moves forward to create a plan for change? Explain why she should make this essential investment of time and money

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  Prime number theorem

Dirichlet series

  Proof of bolzano-weierstrass to prove the intermediate value

Every convergent sequence contains either an increasing, or a decreasing subsequence.

  Antisymmetric relations

How many relations on A are both symmetric and antisymmetric?

  Distributed random variables

Daily Airlines fies from Amsterdam to London every day. The price of a ticket for this extremely popular flight route is $75. The aircraft has a passenger capacity of 150.

  Prepare a system of equations

How much money will Dave and Jane raise for charity

  Managing ashland multicomm services

This question is asking you to compare the likelihood of your getting 4 or more subscribers in a sample of 50 when the probability of a subscription has risen from 0.02 to 0.06.]  Talk about the comparison of probabilities in your explanation.

  Skew-symmetric matrices

Skew-symmetric matrices

  Type of taxes and rates in spokane wa

Describe the different type of taxes and their rates in Spokane WA.

  Stratified random sample

Suppose that in the four player game, the person who rolls the smallest number pays $5.00 to the person who rolls the largest number. Calculate each player's expected gain after one round.

  Find the probability density function

Find the probability density function.

  Develop a new linear programming for an aggregate production

Linear programming applied to Aggregate Production Planning of Flat Screen Monitor

  Discrete-time model for an economy

Discrete-time model for an economy

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd