// Question 1

X=[-2:0.1:2]
Y=[-2:0.1:2]

scf(0)
clf()

fplot3d(X,Y,J)

// Question 5

R=Newton(-2,7,10^(-15))

// Question 6

scf(1)
clf()
plot2d(R(1,:),R(2,:))

// Question 7

Min=[R(1,$),R(2,$)]
ValMin = J(R(1,$),R(2,$))

// Le minimum de J est atteint en (1,1) et J(1,1)=3
