Find a minimum of the function

Assignment Help Other Subject
Reference no: EM131188707

Part A-

1. To Do

We all have those days when there are a bajillion things to do, and we don't know how we're going to get it all done. Sonner than later we miss the tasks that we needed to do!

So for this assignment, you should create a ToDo list. It should at least be able to do the following things:

  • Add an item to the To-Do list
  • Delete an item from the To-Do list
  • Print the To-Do list
  • All the To-Do's should be written to a file so that you can load it later.

2. Find your weight on other Planets

Before we get into assignment question, lets understand the difference between Weight and Mass.

  • Mass is a measurement of the amount of matter something contains, while Weight is the measurement of the pull of gravity on an object.
  • Mass is measured by using a balance comparing a known amount of matter to an unknown amount of matter. Weight is measured on a scale.
  • The Mass of an object doesn't change when an object's location changes. Weight, on the otherhand does change with location.

Part B-

1. Find a minimum of the function f(x) = x3/3-2x2+3x+1 on an interval [0, 3.5]

2. Find a minimum of the function f(x, y) = x4+y4 - x2 y + x y2 numerically starting at the initial point x=1, y=0 (feel free to reuse the code from the lecture notebook). See how different choices of the initial point might affect the results (report any other point of local minima which the solution can return).

Optimization problem:

F(x)→min(max)

x∗=argmin(max)XF(x)

Common family of iterative optimization methods is known as "gradient descent":

xj+1 = xj-(+)λj?F(xj),

where ∇F(x) denotes a gradient vector of F in the point x, while λj are certain real positive numbers picked up with respect to F(xj+1)<(>)F(xj).

Optimization example.

Consider several points on the map and look for a such a centroid location that sum of distances from it to the given points is minimal:

i√(xi-x∗)2+(yi-y∗)2→min.

Attachment:- Assignment.rar

Reference no: EM131188707

How can autobiography be unified and disjointed

Franklin intended Autobiography to be unified work; he drew up outline and tried to stick with it. In what ways does book seem to be unified and in what ways disjointed?

List and analyze methods of alternative dispute resolution

List and analyze methods of alternative dispute resolution and determine which would be most effective in resolving genuine disputes that arise with consumers who may make pur

Discribe the transportation security administration

Write a minimum of 250 words with an explanation of whether you think the Transportation Security Administration organization will survive. Please cite your references and u

What is social disorganization

what is social disorganization? how does social disorganization relate to organized crime and its evolution? how well does social disorganization meet the criteria for organiz

Lab project excerpt

“For the last three years, Louisiana College has administered a newly-developed BASE (Belief Assessment of Spiritual Essentials) exam to incoming freshmen to determine how wel

Describe the role or position of the human services

Describe the role or position of the human services professional interviewed.List and describe the range or types of services the agency/organization provides.Describe the po

Do you agree with the proposed policy solutions

State your position on the issue. Do you agree with the proposed policy solutions? Why or why not? Recommend your own policy solution, if you do not agree with any of the pr

Which of the following as a troubling trend in psychiatry

Which of the following is not a criticism brought up by prominent psychiatrists against the DSM 5? What does Scull say about the brain's sensitivity to psychosocial and sensor

Reviews

Write a Review

 
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