Matlab

# Matlab - [ .92530628108602373088040898556853] Y = [

This preview shows page 1. Sign up to view the full content.

Sheet1 Page 1 » Q=(x-2)^2+(y-2)^2+(x^2+2*y^2-1)^2 Q = (x-2)^2+(y-2)^2+(x^2+2*y^2-1)^2 » pretty(Q) 2 2 2 2 2 (x - 2) + (y - 2) + (x + 2 y - 1) » Dq=jacobian([Q],[x,y]) Dq = [ 2*x-4+4*(x^2+2*y^2-1)*x, 2*y-4+8*(x^2+2*y^2-1)*y] » Dq(1) ans = 2*x-4+4*(x^2+2*y^2-1)*x » [X,Y]=solve(Dq(1),Dq(2)) X = [ 4.038935190484752521350656266290-2.8344423002090366621328616510779*i] [ 4.038935190484752521350656266290+2.8344423002090366621328616510779*i] [ -.50158833102776438679086075907376-.67721564545841034792990458596418*i] [ -.50158833102776438679086075907376+.67721564545841034792990458596418*i
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: [ .92530628108602373088040898556853] Y = [ -2.0387627972935934905713142628073-2.8218922510836693168437584532256*i] [ -2.0387627972935934905713142628073+2.8218922510836693168437584532256*i [ -.26217978940829580254214607599850-.26143639734774160001935974977535*i] [ -.26217978940829580254214607599850+.26143639734774160001935974977535*i [ .60188517340377858622692067761156] » Here we ignore the imaginary results....
View Full Document

## This note was uploaded on 12/25/2009 for the course MATH 1920 taught by Professor Pantano during the Spring '06 term at Cornell.

Ask a homework question - tutors are online