Question

Evaluate and Interpret a condition number for the following: f(x)=sqrt(abs(x-1))+1 for x=1.00001 f(x)=e^-x doe x=10 f(x)=sin(x)/(1+cos(x))...

Evaluate and Interpret a condition number for the following:

f(x)=sqrt(abs(x-1))+1 for x=1.00001

f(x)=e^-x doe x=10

f(x)=sin(x)/(1+cos(x)) for x=1.0001*pi

USE MATLAB

Homework Answers

Answer #1

clc;
clear all;
format short
f=@(x)sqrt(abs(x-1))+1; %function
df=@(x)1/(sqrt(x-1)*2); %derivative of function
x=1.00001;
f(x)
df(x)
% Condition number
disp('Condition number')
k=x*df(x)/f(x)

%%%%%%%%% Answer

ans =

1.0032


ans =

158.1139

Condition number

k =

157.6170

>>

2)

clc;
clear all;
format short
f=@(x)exp(-x); %function
df=@(x)-exp(-x); %derivative of function
x=10;
f(x)
df(x)
% Condition number
disp('Condition number')
k=x*df(x)/f(x)

%%%%%% Answer

ns =

4.5400e-05


ans =

-4.5400e-05

Condition number

k =

-10

>>

3)

clc;
clear all;
format short G
f=@(x)sin(x)/(1+cos(x)) ; %function
df=@(x)1/(cos(x)+1); %derivative of function
x=1.0001*pi;
f(x)
df(x)
% Condition number
disp('Condition number')
k=x*df(x)/f(x)
%%%%%%%%%%%%%%%% Answer

ans =

-6366.2


ans =

2.0264e+07

Condition number

k =

-10001

>>

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
solve the following: A) cos x = -(1/2) on [0, 2pi] B) sin x = (-sqrt...
solve the following: A) cos x = -(1/2) on [0, 2pi] B) sin x = (-sqrt 3)/2 on [0, 2pi].
if f''(x)= -cos(x)+sin(x), and f(0)=1 and f(pi)=), what is the original function
if f''(x)= -cos(x)+sin(x), and f(0)=1 and f(pi)=), what is the original function
Prove that the family of trigonometric functions { 1, cos x, sin x, ..., cos nx,...
Prove that the family of trigonometric functions { 1, cos x, sin x, ..., cos nx, sin nx, ...} form an orthogonal system on [-pi,pi] prove that the following orthogonality relations hold integral from -pi to pi of sin nx dx = 0 and integral from -pi to pi of cos nx dx = 0
(a) Is the vector field F = <e^(−x) cos y, e^(−x) sin y> conservative? (b) If...
(a) Is the vector field F = <e^(−x) cos y, e^(−x) sin y> conservative? (b) If so, find the associated potential function φ. (c) Evaluate Integral C F*dr, where C is the straight line path from (0, 0) to (2π, 2π). (d) Write the expression for the line integral as a single integral without using the fundamental theorem of calculus.
Evaluate 3(cos 60 + i sin 60) x 4(cos 15 + i sin 15). Write the...
Evaluate 3(cos 60 + i sin 60) x 4(cos 15 + i sin 15). Write the answer as a complex number in standard form a + bi. Round decimals to the tenths place. (The angles are in degree form, just couldn't use degree symbol and the x is for multiplication not a variable.
differentiate. a. e^xtan(x) b. sin(1/sqrtx) c. ln(e^x/sqrt(x^2)+3) d. subscriptx tan(x) e. f(secx) where f'(x)= x/ln(x)
differentiate. a. e^xtan(x) b. sin(1/sqrtx) c. ln(e^x/sqrt(x^2)+3) d. subscriptx tan(x) e. f(secx) where f'(x)= x/ln(x)
1). Use the techniques of differentiation to find the derivatives of the following functions a). f(x)=...
1). Use the techniques of differentiation to find the derivatives of the following functions a). f(x)= (2 sqrt x + 1) (2-x/x^2+3x) b). f(x)= cos^2 (3 sqrt x) c). f(x) = Sin x/(x^2 + sin x)
1. If f(x) = ∫10/x t^3 dt then: f′(x)= ? and f′(6)= ? 2. If f(x)=∫x^2/1...
1. If f(x) = ∫10/x t^3 dt then: f′(x)= ? and f′(6)= ? 2. If f(x)=∫x^2/1 t^3dt t then f′(x)= ? 3. If f(x)=∫x3/−4 sqrt(t^2+2)dt then f′(x)= ? 4. Use part I of the Fundamental Theorem of Calculus to find the derivative of h(x)=∫sin(x)/−2 (cos(t^3)+t)dt. what is h′(x)= ? 5. Find the derivative of the following function: F(x)=∫1/sqrt(x) s^2/ (1+ 5s^4) ds using the appropriate form of the Fundamental Theorem of Calculus. F′(x)= ? 6. Find the definitive integral: ∫8/5...
Use L'Hopitals Rule to evaluate the following limit. lim x-> 0 ( sin(8x) - 8x cos(8x)...
Use L'Hopitals Rule to evaluate the following limit. lim x-> 0 ( sin(8x) - 8x cos(8x) ) / ( 8x - sin(8x) ) Please use L'Hopitals Rule please
Evaluate each of the following limits. a) limx→∞(x/x − 2)^x b) limx→0 sin x cos x/x...
Evaluate each of the following limits. a) limx→∞(x/x − 2)^x b) limx→0 sin x cos x/x + tan x
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT