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

Questions Cloud

Determine the magnitudes of the support reactions at a and c : The homogeneous 18-kg pulley is attached to the bar ABC with a pin at B. The mass of the bar is negligible. The cable running over the pulley carries a tension of 600 N. Determine the magnitudes of the support reactions at A and C.
Compare the italian renaissance and the northern renaissance : Comment on the Restoration controversy using da Vinci's "Last Supper" and Michelangelo's "Sistine Chapel Ceiling." After restoration, whose work is it?
Draw a conceptual data model for your database : Draw a conceptual data model (entity-relationship model diagram) for your database. There should be at least four entities with their relations. Clearly describe and explain all the symbols you use for your ER model diagram.
Calculate the magnitude of the electric field at ground : Calculate the magnitude of the electric field at the ground a distance of 5.0m from the wire.
Find a minimum of the function : Find a minimum of the function f(x) = x3/3-2x2+3x+1 on an interval [0, 3.5] 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)
Cobb-douglas production function : Show that if this is true (ie that both factors of production are 'rewarded' according to their marginal products) and we add together the total value of real income to all units of labour and the total value of real income to all units of capital..
Distinguish between demand-pull inflation and cost-push : Distinguish between demand-pull inflation and cost-push inflation. Which of the two types is most likely to be associated with a negative GDP gap? What is core inflation? Why is it calculated?
How you feel knowing that thousands of users simply copying : Violation of your copyright privileges, and how you feel knowing that thousands of users are simply copying and sharing your composition, for which they might have paid for otherwise.
Quantity after the technological improvement : An improvement in the technology of air travel has occurred which affects both classes equally. Draw a suitable diagram to illustrate and discuss the effect on the equilibrium price and quantity of business class and economy class tickets. From th..

Reviews

Write a Review

Other Subject Questions & Answers

  Administration of correctional facilities

Considering the institutional impediments for the administration of correctional facilities presented in your text (politics, budgets, consent decrees, size of the departments, bureaucracy, etc.), identify the most important goals of prison administr..

  Beliefs in everyday life

Describe a belief that you would continue to believe even if solid logical evidence was supplied which demonstrated your belief could not possibly be true.

  Differential curricula and extracurricular activities

In what respects did various strands of the "new psychology" emerging in the Progressive Era provide support for innovations in schooling, including differential curricula and extracurricular activities

  No cover sheet is requiredchoose an african american and

no cover sheet is required.choose an african american and have the person approved by the professor. make sure that

  What are the most distinctive landmarks of african culture

What are the most distinctive landmarks of African culture? How do these reflect the preservation of cultural values? Explain why we call the Age of the Baroque an era of piety and extravagance? Use specific examples from the readings to support your..

  Developing a classroom plan

For the Final Project, you will demonstrate your understanding of the material in this course by developing a classroom plan for either an infant/toddler childcare facility or for a preschool classroom, based on Piaget's Stage Theory.

  What do you consider most crucial element in green design

What do you consider the most crucial element in green design? Why? It's worst? Define each term as it relates to sustainable construction.

  Pollutants can harm ecosystem function and may also harm

pollutants can harm ecosystem function and may also harm human health.give 1 example of an environmental pollutant that

  The main safe traffic considerations within the workplace

Outline the main safe traffic considerations within the workplace List the main legal provisions as per OSHA 2005 relating to vehicle lifts

  Behaviors and qualities best associated

Seeking out the ideas of others, seeking consensus in settling disputes, and going out of your way to help others are behaviors and qualities best associated with _.

  Find a peer-reviewed journal article

1) Use the online library to find a peer-reviewed journal article that uses qualitative methods.

  What would happen if a species within a population were

what would happen if a species within a population were suddenly split into 2 groups by an earthquake creating a

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