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

  Why is planet earth capable of sustaining life

Why is planet Earth capable of sustaining life, but Mars is not? How is the Earth's magnetic field important to us? What would happen if it suddenly disappeared

  Anthrax case will never be truly closed

What is the basis for the belief that anthrax case will never be truly closed?

  Write an annotated bibliography summarising six articles

Research and Assessment Report (1500 words) Write an Annotated Bibliography summarising six (6) recent research journal articles (2005 onwards) relating to mathematics learning difficulties or disabilities.

  Explain importance of moving the disabled muscles passively

Following an injury to a nerve, the muscles it supplies with motor nerve fibers may become paralyzed. How would you explain to a patient the importance of moving the disabled muscles passively or contracting them with electrical stimulation

  Positive or negative impact on health care delivery

There is considerable discussion of whether or not legal and legislative processes have had a positive or negative impact on health care delivery at local, state, and national levels. What do you think?

  How would you determine what motivates employees

In terms of Maslow's hierarchy, what motivates you? How would you determine what motivates employees

  Understanding the brain capability to store information

In brief how have the Atkinson and Shiffrin's information processing modal model of memory and the Baddeley and Hitch's working memory model

  Difference between training and education in military

DIFFERENCE BETWEEN TRAINING AND EDUCATION IN THE MILITARY

  Is that conclusion reasonable

A newspaper article recently reported that couples who live together before marriage are less likely to stay married than are couples who don't live together before marriage. The article suggested that people who want to have long- lasting marriag..

  Determine the standard error of the proportion

There are 500 employees in a firm, 45% of whom are female. Asample of 60 employees is selected randomly. determine the standard error of the proportion.

  Describe the trends in representation of minorities

Describe the trends in representation of minorities and women in local politics and the impact of their participation.

  Explain what is posttraumatic growth

In your own words explain what is posttraumatic growth, and how does it differ from resilience

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