s090x13

# s090x13 - 0.489669752438509 0.493368787481968...

This preview shows pages 1–2. Sign up to view the full content.

clear all; clc; close all; echo on % % Stewart 90/13 % %Evaluate the function (fx=(1-cosd(x))./(x.^2)) at the the given numbers %(correct to 6 decimel places). Use the results to guess the value of the %limit, or state that it does not exsit. % %Evaluate:----------------------------------------------------------------- % x= [1, 0.5, .4, .3, .2, .1, .05, .01]; % format long fx=(1-cos(x))./(x.^2) fx = Columns 1 through 6 0.459697694131860 0.489669752438509 0.493368787481968 0.496261231937711 0.498335553968959 0.499583472197429 Columns 7 through 8 0.499895842013487 0.499995833347366 % % The limit would be .499600361081320 % %-------------------------------------------------------------------------- % %Limit as X->0 from the left % x= [-1, -0.5, -.4, -.3, -.2, -.1, -.05, -.01]; % format long fx=(1-cos(x))./(x.^2) fx = Columns 1 through 6 0.459697694131860

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 0.489669752438509 0.493368787481968 0.496261231937711 0.498335553968959 0.499583472197429 Columns 7 through 8 0.499895842013487 0.499995833347366 % %the limit would be .499600361081320 %--------------------------------------------------------------------------% %Limit as X-&gt;0 from the right % x= [1, 0.5, .4, .3, .2, .1, .05, .01]; % format long fx=(1-cos(x))./(x.^2) fx = Columns 1 through 6 0.459697694131860 0.489669752438509 0.493368787481968 0.496261231937711 0.498335553968959 0.499583472197429 Columns 7 through 8 0.499895842013487 0.499995833347366 % % %the limit would be .499600361081320 % x= linspace(-8,8); fx=(1-cos(x))./(x.^2); plot(x,fx) xlabel('x') ylabel('y') title('Stewart 90/13') axis([-2*pi 2*pi 0 1]) hold on plot (0,0.499600361081320,'o') echo off; diary off...
View Full Document

## This note was uploaded on 06/18/2009 for the course MATH 151 taught by Professor Artbelmonte during the Spring '06 term at Texas A&M.

### Page1 / 2

s090x13 - 0.489669752438509 0.493368787481968...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online