(* ::Package:: *)

(************************************************************************)
(* This file was generated automatically by the Mathematica front end.  *)
(* It contains Initialization cells from a Notebook file, which         *)
(* typically will have the same name as this file except ending in      *)
(* ".nb" instead of ".m".                                               *)
(*                                                                      *)
(* This file is intended to be loaded into the Mathematica kernel using *)
(* the package loading commands Get or Needs.  Doing so is equivalent   *)
(* to using the Evaluate Initialization Cells menu command in the front *)
(* end.                                                                 *)
(*                                                                      *)
(* DO NOT EDIT THIS FILE.  This entire file is regenerated              *)
(* automatically each time the parent Notebook file is saved in the     *)
(* Mathematica front end.  Any changes you make to this file will be    *)
(* overwritten.                                                         *)
(************************************************************************)



Clear[x,y,Easy]
Easy[{x_,y_},0]:=(x-1)^2+4 (x-y)^2 + x - 3 y
Do[
Easy[{x_,y_},n]=D[Easy[{x,y},n-1],{{x,y}}],
{n,1,2}
]


Clear[x,y,Rosen]
Rosen[{x_,y_},0]:=(x-1)^2+100(y-x^2)^2
Do[
Rosen[{x_,y_},n]=D[Rosen[{x,y},n-1],{{x,y}}],
{n,1,2}
]


Clear[x,y,SIAM]
SIAM[{x_,y_},0]:=(x-1)^2+100(y-x^2)^2
Do[
SIAM[{x_,y_},n]=D[SIAM[{x,y},n-1],{{x,y}}],
{n,1,2}
]


Clear[x,y,ScaledSIAM]
ScaledSIAM[{x_,y_},0]:=SIAM[{100x,y},0];
Do[
ScaledSIAM[{x_,y_},n]=D[ScaledSIAM[{x,y},n-1],{{x,y}}],
{n,1,2}
]



