MAT 581 P 8 1 9

MAT 581 P 8 1 9 - x=(A l*eye(8,8\ones(8,1 Tx=transpose(x*x-1 end Script>> root = Bisection'Tx,0,5,0.1>> root root = 2.6172

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

View Full Document Right Arrow Icon
P 8.1.9 M-Files function Tx = Tx(l) A=diag([6 6 6 6 6 6 6 6],0) + diag([-4 -4 -4 -4 -4 -4 -4], -1) + diag([-4 -4 -4 -4 -4 -4 -4], 1) + diag([1 1 1 1 1 1], 2) + diag([1 1 1 1 1 1], -2);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: x=(A+l*eye(8,8))\ones(8,1); Tx=transpose(x)*x-1; end Script >> root = Bisection ('Tx',0,5,0.1); >> root root = 2.6172...
View Full Document

This document was uploaded on 02/18/2011.

Ask a homework question - tutors are online