Question

On a computer using double precision arithmetic, the value r = sqrt(x) is calculated, where x...

On a computer using double precision arithmetic, the value r = sqrt(x) is calculated, where x has the value 360,007. A sensible estimate of the absolute error in r is?

Homework Answers

Answer #1

estimated values:-

here first, let us write a c equivalent code for calculating double precision arithmetic value of sqrt(360007).

the ouptut for this could be,

actual values:-

finally the absolute error:-

absolute error=actual output-estimated output

Δr=R(a)-R(e)

=600.0058333049772-600.005833

=0.000000305//

so,the absolute error is 0.000000305

thank you!!

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
Find the average value of the following function where 2≤x≤5 f(x)= sqrt(x^2-4)/x dx
Find the average value of the following function where 2≤x≤5 f(x)= sqrt(x^2-4)/x dx
2. Evaluate the double integral Z Z R e ^(x^ 2+y ^2) dA where R is...
2. Evaluate the double integral Z Z R e ^(x^ 2+y ^2) dA where R is the semicircular region bounded by x ≥ 0 and x^2 + y^2 ≤ 4. 3. Find the volume of the region that is bounded above by the sphere x^2 + y^2 + z^2 = 2 and below by the paraboloid z = x^2 + y^2 . 4. Evaluate the integral Z Z R (12x^ 2 )(y^3) dA, where R is the triangle with vertices...
Use the given transformation to evaluate the double integral of (x-6y) dA, where R is the...
Use the given transformation to evaluate the double integral of (x-6y) dA, where R is the triangular region with vertices (0, 0), (5, 1), and (1, 5). x = 5u + v, y = u + 5v
1. Write an R function named “abs.shift” to calculate the function value |x|-1 of a real...
1. Write an R function named “abs.shift” to calculate the function value |x|-1 of a real number x, where |x| is the absolute value of x. Do not use the abs() function. 2. Which of the following method is for simulating discrete random variables? A) The Rejection method with uniform envelope. B) The Inverse CDF method. C) The rnorm() function. D) The sample() function in R.
using the change of variable x =u/v, y=v evaluate "double integral(x^2+2y^2)dxdy: R is the region in...
using the change of variable x =u/v, y=v evaluate "double integral(x^2+2y^2)dxdy: R is the region in the first quadrant bounded by the graphs of xy=1, xy=2, y=x, y=2x
The equilibrium constant, Kc, is calculated using molar concentrations. For gaseous reactions another form of the...
The equilibrium constant, Kc, is calculated using molar concentrations. For gaseous reactions another form of the equilibrium constant, Kp, is calculated from partial pressures instead of concentrations. These two equilibrium constants are related by the equation Kp=Kc(RT)Δn where R=0.08206 L⋅atm/(K⋅mol), T is the absolute temperature, and Δn is the change in the number of moles of gas (sum moles products - sum moles reactants). For example, consider the reaction N2(g)+3H2(g)⇌2NH3(g) for which Δn=2−(1+3)=−2. For the reaction 2A(g)+2B(g)⇌C(g) Kc = 71.6...
The equilibrium constant, Kc, is calculated using molar concentrations. For gaseous reactions another form of the...
The equilibrium constant, Kc, is calculated using molar concentrations. For gaseous reactions another form of the equilibrium constant, Kp, is calculated from partial pressures instead of concentrations. These two equilibrium constants are related by the equation Kp=Kc(RT)Δn where R=0.08206 L⋅atm/(K⋅mol), T is the absolute temperature, and Δn is the change in the number of moles of gas (sum moles products - sum moles reactants). For example, consider the reaction N2(g)+3H2(g)⇌2NH3(g) for which Δn=2−(1+3)=−2. A) For the reaction 3A(g)+2B(g)⇌C(g) Kc =...
a)Program a calculator or computer to use Euler's method to compute y(1), where y(x) is the...
a)Program a calculator or computer to use Euler's method to compute y(1), where y(x) is the solution of the given initial-value problem. (Give all answers to four decimal places.) dy dx + 3x2y = 9x2, y(0) = 4 h = 1     y(1) = h = 0.1     y(1) = h = 0.01     y(1) = h = 0.001     y(1) = (b) Verify that y = 3 + e−x3 is the exact solution of the differential equation. y = 3 + e−x3      ⇒     y'...
The equilibrium constant, Kc, is calculated using molar concentrations. For gaseous reactions another form of the...
The equilibrium constant, Kc, is calculated using molar concentrations. For gaseous reactions another form of the equilibrium constant, Kp, is calculated from partial pressures instead of concentrations. These two equilibrium constants are related by the equation Kp=Kc(RT)Δn where R=0.08206 L⋅atm/(K⋅mol), T is the absolute temperature, and Δn is the change in the number of moles of gas (sum moles products - sum moles reactants). For example, consider the reaction N2(g)+3H2(g)⇌2NH3(g) for which Δn=2−(1+3)=−2. a For the reaction X(g)+3Y(g)⇌2Z(g) Kp =...
Let f(x)=sin⁡(x), where x is measured in radians. Calculate f^' (x=0.9) using h=0.1 h=0.01 h=0.001 Calculate...
Let f(x)=sin⁡(x), where x is measured in radians. Calculate f^' (x=0.9) using h=0.1 h=0.01 h=0.001 Calculate the error using the value of cos⁡(x=0.9). Use f^' (x)≈(f(x+h)-f(x-h))/2h.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT