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

  Determine the interior-closure and boundary

(1)  Determine the interior, closure, and boundary of each set. (a)   The filled-in ellipse in R2, R = {(x, y) : x2 + 3y2

  Standard deviation for the average time issues

What is the probability that a randomly selected fertilized chicken egg hatches in less than 20 days?

  What is the level of significance

Suppose you are a sociologist in Rock Springs, Wyoming, and a random sample of police files showed that of 38 arrests last month, 26 were of males aged 15 to 34 years. Use a 1% level of significance to test the claim that the population proportion..

  Central role in fast fourier transforms

They play a central role in Fast Fourier Transforms and in digital signal processing, among other things.) It is easy to see that Bay is a vector space of functions.

  Clocks sell for euro45 radios for euro60 and toasters for

a company produces three electrical products-clocks radios and toasters. these products have the following resource

  Draw a state diagram mealy and check for redundancies

Draw a State Diagram Mealy and check for redundancies and then assign binary State Identifiers.

  Average of customers waiting in line

1. A research study performed at checkout lines at Publix Supermarket in South Florida revealed that between 4pm and 7pm on weekdays there is an average of 4 customers waiting in line. What is the probability that you visit a Publix today during t..

  Determine a critical value

For problem below, state the null and the alternative hypothesis, determine a critical value, present a test statistic, and provide a p-value and your decision. Use (Type 1 error rate of  =.05)

  Explain difference between descriptive statistics

In your answer also describe and explain the difference between descriptive statistics and inferential statistics.

  Calculate the average sublimation flux

Air at 1 atm flows at a Reynolds number of 50,000 normal to a long, circular, 1-in.-diameter cylinder made of naphthalene. Using the physical properties of Example 3.14 for a temperature of 100oC, calculate the average sublimation flux in kmol/s-m..

  Multiplicative lcgs-compute zi

how can solve that Consider the LCG defined by m = 16, a = 5, c = 3, and Z0 = 7. Compute until Z19 and verify that when i = 16, the exact the same order will show up. Show all results in a table.

  Additive noise channel with the ternary valued noise

Problem: A Bernoulli( 2/1 ) distributed signal X is transmitted over an additive noise channel with the ternary valued noise W:

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