Rikhabh Jain
BME5400
1.4
rj334
Homework 1
Exact Answer:
f ( x )= x 2+1 x2 where x=300
f ( x )= 3002 +1 3002
f ( x )= 90001 90000
f ( x )=300.00166666203706300
f ( x )=0.00166666203706
Six-Digit Arithm
Rikhabh Jain
BME5400
2.1
5
rj334
Homework 2
MATLAB Code:
%Linear relationship: y = b0 + (b1 * x), where "y" is the winning times
and
%"x" is the year, The normal equations are derived by minimizing th
function bisectionmethod(func,ab, tolx, tolfx)
% tolx : tolerance for error in estimating root
% tolfx: tolerance for error in function value at solution
maxloops = 50; % maximum number of iterations
function bisectionmethod(func,ab, tolx, tolfx)
% tolx : tolerance for error in estimating root
% tolfx: tolerance for error in function value at solution
maxloops = 50; % maximum number of iterations
Firstname Lastname
1/30/15
BME 5400
HW 1
f ( x )=x 3 +5 x2 2 x +1=0
g ( x ) =( ( x+5 ) x2 ) x +1=0
1. Using 4-digit rounding arithmetic, f(1.17) yields 7.107, while g(1.17) yields
7.106. Thus, g(x) wa