ex2_10 - end format long e y' format short e

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

View Full Document Right Arrow Icon
% Example 2.10 % y0=2; a=2; y=zeros(1,5); y(1) = .5*(y0 + a/y0); for n=2:5 y(n) = .5*(y(n-1) + a/y(n-1));
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: end format long e y' format short e...
View Full Document

This note was uploaded on 03/24/2010 for the course CENG 4331 taught by Professor Maryrandolph-gips during the Fall '09 term at UH Clear Lake.

Ask a homework question - tutors are online