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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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