Question

2.[12 marks] The following problems cellation error. are about roundoff error - Can- Determine a way how to compute the follo
(3). /4 marks] When one applies the quadratic formula 4ac -b+ Vb -4ac -b- 2a 2a 0, where b<0 to solve a quadratic equation, a
2.[12 marks] The following problems cellation error. are about roundoff error - Can- Determine a way how to compute the following functions more accu- rately, i.e., how one can avoid cancellation error effectively. (1). 14 marks] fi(x) = x - Vx - 3 when x is large (2). [4 marks] f2(x) = 2 (1 - cos x) when r is near 0.
(3). /4 marks] When one applies the quadratic formula 4ac -b+ Vb -4ac -b- 2a 2a 0, where b
0 0
Add a comment Improve this question Transcribed image text
Answer #1

ANSToundoff enroy Cancellation oror - up) at just take the limit af these Juretion to find ths moximum Jimit of Junchian when

Add a comment
Know the answer?
Add Answer to:
2.[12 marks] The following problems cellation error. are about roundoff error - Can- Determine a way...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Help with MATLAB. i did like input('enter the coefficients of a quadratic equation "Ax2 + Bx...

    Help with MATLAB. i did like input('enter the coefficients of a quadratic equation "Ax2 + Bx + C = 0"') fx=(-B+sqrt(B^2+4*A*C))/(2*A); i just dont know how i can ask the user to input three (A,B,C)? thanks! EXERCISE 6 Ask user to enter the coefficients of a quadratic equation, Ax² + Bx + C = 0, i.e. A, B, and C, and calculate the roots of the equation using the quadratic formula, ., --B+VB? - 4AC 2A

  • 7. Give the formula of avoiding roundoff error to solve each of the fol- lowing problem...

    7. Give the formula of avoiding roundoff error to solve each of the fol- lowing problem and compute the numerical values. All the results are approximated to 4 digits with rounding arithmetic. (1). Find the roots of the quadratic equation 123 1 2+ 1 0 4 6 (Hint: first observe b and 62 - 4ac) -5+ b2 - 4ac c/a (Answer:21 22 = ; 21 = 92.24, 22 2a I 1 10-3) 5.420 x 9 (2). Compute In (50 –...

  • please answer this question with python. Write a program to solve the quadratic equation ax^2 +...

    please answer this question with python. Write a program to solve the quadratic equation ax^2 + bx + c = 0 using the standard quadratic formula x = -b plusminus Squareroot b^2 - 4ac/2a or the alternative formula x = 2c/-b Squareroot b^2 - 4ac. Your program should accept values for the coefficients a, b, and c as input and produce the two roots of the equation as output. Your program should detect when the roots are imaginary, but need...

  • Question 1 of 8, Step 2 of 2 1/12 Correct Consider the following quadratic equation: y2...

    Question 1 of 8, Step 2 of 2 1/12 Correct Consider the following quadratic equation: y2 - 8y + 1 = 0 Step 2 of 2: Use the discriminant, b2 - 4ac, to determine the number of solutions of the given quadratic equation. Then solve the quadratic equation using the -b + b2 - 4ac formula y = 2a Answer Keypad Select the number and type of solutions. Then, enter the solutions. Previous Step Answer Selecting an option will display...

  • A quadratic equation is generally represented as, ax^2 + bx + c The root(s) of the...

    A quadratic equation is generally represented as, ax^2 + bx + c The root(s) of the above quadratic equation is computed using the following formula, root1 = (-b + sqrt(D))/ 2a root2 = (-b - sqrt(D))/2a Where D is the discriminant of the quadratic equation and is computed as, D = b^2 - 4ac Given the value of D, the roots of a quadratic equation can be categorized as follows, D > 0 : Two distinct real roots D =...

  • 6. Following is a statement of a theorem which can be proven using calculus or precalculus...

    6. Following is a statement of a theorem which can be proven using calculus or precalculus mathematics. For this theorem, a, b, and c are real numbers. Theorem If f is a quadratic function of the form f (x) - ax2 + bx + c and a < 0, then the function f has a maximum value when x -b 2a Using only this theorem, what can be concluded about the functions given by the following formulas? (a) g (x)-8x2...

  • c++ language TECH 1211 Computer Programming Name Test 2 Hands-On-Program B Spring 2020 Write a program...

    c++ language TECH 1211 Computer Programming Name Test 2 Hands-On-Program B Spring 2020 Write a program that uses the quadratic formula to solve quadratic equations. Background Given the format for a quadratic equations: aX? +BX+C =0 The coefficient of the X term is the number a. The coefficient of the X term is the number b. The value of c is any non-zero constant. These values can be positive, negative or zero. You can find the solution to this equation...

  • HICULTUULUULULUI 2 Task 2 - Trapezium Rule (Maximum Mark 10) Find the equation of the line...

    HICULTUULUULULUI 2 Task 2 - Trapezium Rule (Maximum Mark 10) Find the equation of the line through the points 1 - ...) a | and B(x) and find an expression for the area under this line between the points A and B. Explain carefully how your result can be used to prove the general formula for the Trapezium Rule. Notes: . This part of the assignment is testing that you can find the equation of a line and use this...

  • 5. Numerical Integration (15 marks] When a charged particle moves perpendicular to a magnetic field it...

    5. Numerical Integration (15 marks] When a charged particle moves perpendicular to a magnetic field it traces out circles in the plane perpendicular to the magnetic field due to the "Lorentz force". Here we consider a small particle (e.g. dust grain or nanoparticle) with a charge to mass ratio of 1 Coulomb per kg moving perpendicular at speed v1 = 1 m/s to a 1 Tesla magnetic field that points in the z direction. In this case the motion is...

  • can someone answer the part b Q8: (8 marks) [basic design problem] Given below is a...

    can someone answer the part b Q8: (8 marks) [basic design problem] Given below is a single node in a neural network. Supposing that d is 4, x={4,2,5,2), and w={0.2,0.3.0.4,0.1), b=0.1, and that the activation function is a standard ReLU, that is =max(0,x), where x is the input to the activation function. b 1 W1 WN X 1 Id (a) What is the output of this node? [2 marks] (b) Describe the difference between, recognition and detection in terms of...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT