Newtons_Method - PLAN Initialize a Initialize x to a/2...

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

View Full Document Right Arrow Icon
% PLAN % Ò» Initialize a % ¶þ Initialize x to a/2 % Èý Repeat % Replace x by (x+a/x)/2 % ËÄ end % % PROGRAM % a=2; x=a/2 disp(['The approach to sqrt(a) for a =
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Ask a homework question - tutors are online