Question

In: Advanced Math

Use Theon's double sequence (Xn and Yn) method to find the first 10 rational approximations to...

Use Theon's double sequence (Xn and Yn) method to find the first 10 rational approximations to square root of 11. You may use a computer program

Solutions

Expert Solution

Here is the short C++ program to do the above calculations:

#include <stdio.h>
#include<iostream>
using namespace std;
int main()
{
float x1=1, y=1, x2;
for(int i=1;i<=10;i++){
x2 = x1+y;
y = x2+10*x1;
float ans = y/x2;
cout<<x2<<" "<<y<<" "<<ans<<endl;
x1=x2;
}

return 0;
}


Related Solutions

Write a program using Newton's method: Use your programs to find approximations to within 10^(-4) to...
Write a program using Newton's method: Use your programs to find approximations to within 10^(-4) to all zeros of the following cubic polynomials. Use |P_(n+1)-P_n| as a measure of the error in the iteration. Save all of the iterations. What are your conclusions? (a) f(x) = x^3-5x^2 + 2x (b) f(x) = x^3-2x^2-5 The program has to be used with MATLAB. I'm still learning how to use the program. I would love some help and tips on solving these methods....
Write a program using the following root-finding methods: Mullers Method Use your programs to find approximations...
Write a program using the following root-finding methods: Mullers Method Use your programs to find approximations to within 10^(-4) to all zeros of the following cubic polynomials. Use |P_(n+1)-P_n| as a measure of the error in the iteration. Save all of the iterations. What are your conclusions? (a) f(x) = x^3-5x^2 + 2x (b) f(x) = x^3-2x^2-5 The program has to be used with MATLAB. I'm still learning how to use the program. I would love some help and tips...
Use the method of successive approximations to determine the pH and concentrations of H2A, HA–, and...
Use the method of successive approximations to determine the pH and concentrations of H2A, HA–, and A2– in a solution of 0.00296 M monopotassium fumarate (KHA). The pKa values for fumaric acid are 3.02 (pKa1) and 4.48 (pKa2).
Use the method of successive approximations to determine the pH and concentrations of H2A, HA–, and...
Use the method of successive approximations to determine the pH and concentrations of H2A, HA–, and A2– in a solution of 0.00273 M monopotassium fumarate (KHA). The pKa values for fumaric acid are 3.02 (pKa1) and 4.48 (pKa2).
Find the approximations Ln, Rn, Tn, and Mn for n = 5, 10, and 20. Then...
Find the approximations Ln, Rn, Tn, and Mn for n = 5, 10, and 20. Then compute the corresponding errors EL, ER, ET, and EM. (Round your answers to six decimal places. You may wish to use the sum command on a computer algebra system.) 1 22xexdx 0   n     Ln Rn Tn Mn 5 10 20     n     EL ER ET EM 5 10 20
Use double integration to find the area in the first quadrant bounded by the curves y...
Use double integration to find the area in the first quadrant bounded by the curves y = sin x, y = cos x and the y-axis.
How can I code this problem in MATLAB: a) Find the approximations to within 10-4 to...
How can I code this problem in MATLAB: a) Find the approximations to within 10-4 to all real zeros of the following polynomials using Newton's method.? f(x)=x3 - 2*x2- 5. b) Find approximations to within 10-5 to all the zeros of each of the following polynomials by first finding the real zeros using Newton’s method and then reducing to polynomials of lower degree to determine any complex zeros. f(x)=x4 + 5x3 - 9*x2 - 85*x - 136.
Use power series approximations method to approximate the solution of the initial value problem: y"− (1+...
Use power series approximations method to approximate the solution of the initial value problem: y"− (1+ x) y = 0 y(0) = 1 y'(0) = 2 (Write all the terms up to the power ). x^4
Find the 10-point DFT sequence of the x [n] sequence given below. ?[?] = cos (...
Find the 10-point DFT sequence of the x [n] sequence given below. ?[?] = cos ( 3??/ 5 ) . sin( 4??/ 5 )
This method will return a double value that equals to the balance + 10% of balance...
This method will return a double value that equals to the balance + 10% of balance How can I get a 10 percent of a balance in java?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT