Question: Q 2 . Let q be the function defined by q ( x , y ) = xycos ( 3 x 2 y 2 )

Q 2. Let q be the function defined by
q(x,y)=xycos(3x2y2)
(i) Use the Taylor series for the one-variable cosine function, cos(x), to show that the value of
q(h,k) can be approximated by
q(h,k)~~-92h5k5+hk
(ii) Show that this polynomial in h and k is exactly the two-variable order 15 Taylor polynomial
for q expanded about (0,0). Show this by directly calculating the definition of the Taylor
polynomial given by
q(h,k)~~n=0151n!(Dnq)(0,0),
where the differential operator D is given by D=hdeldelx+kdeldely.
10 for code that fulfills the requirements
5 for explanatory comments
You will not be able to carry out many of caluculcations of the partial derivatives needed for Dn in
part (ii) by hand as these expressions quickly get very complicated due to the many applications of the
product and chain rules. So instead you should do this calculation using a computer program written
in a suitable programming language. For example, use the diff command from the Matlab symbolic
toolbox to write a program to carry out the calculations and evaluations of Dnq needed for the Taylor
polynomial approximation. Include a printout of the Matlab commands and relevant results as part of
your submission and comment on the output. Alternatively you may use SageMath, Python or other
similar software for these computations.
 Q 2. Let q be the function defined by q(x,y)=xycos(3x2y2) (i)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!