sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2;
Find the value of x?
Answers were Sorted based on User's Feedback
Answer / soundararajan krishnan
I think the actual question may be like
sqrt(x+sqrt(x+sqrt(x+sqrt(x+...))))=2;
Find the value of x?
When we solve this the value of x is 2.
Let A = sqrt(x+sqrt(x+sqrt(x+sqrt(x+...)))) ------(1)
We can write this as,
A = sqrt (x+A) ------(2) using formula (1)
Since A = sqrt(x+sqrt(x+sqrt(x+sqrt(x+...)))) = 2,
we can write the equation (2) as,
2 = sqrt(x+2)
square this equation,
4 = x+2
Then x = 2.
| Is This Answer Correct ? | 20 Yes | 4 No |
Answer / karthik
the value of x=4;
start from the innermost sqrt
1.sqrt(4)=2;
2.sqrt(4+2)=sqrt(6)=2// since ans is (2 root 3)it will
consider only 2 and left root 3
3.sqrt(4+2)=sqrt(6)=2
in the last root (sqrt(4+2))= ans is 2 root(3) just elimnate
root(3)
thus the remaining ans is 2
there fore X=4////
| Is This Answer Correct ? | 13 Yes | 13 No |
Answer / chandan
Here x will be 2.028530
only then the exact value of
the given expression will be 2.
Because if we pass int value &
it will handle like float value
otherwise its o/p will be 0.So
here we have to use %f in the
printf statement to get actual
value of given expression.
| Is This Answer Correct ? | 0 Yes | 2 No |
An interactive c program to read basic salary of 15 persons. each person gets 25% of basic as HRA, 15%of basic as conveyance allowances, 10%of basic as entertainment allowances.The total salary is calculated by adding basic+HRA+CA+EA.Calculate how many out of 15 get salary above 10,000.Rs also print the salary of each employee
Explain the advantages of using macro in c language?
what do you mean by inline function in C?
How do we print only part of a string in c?
What is keyword in c?
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
What is the difference between new and malloc functions?
what are the static variables
8 Answers HCL, iFlex, TCS, Wipro,
What is variable and explain rules to declare variable in c?
c program to manipulate x=1+3+5+...+n using recursion
SIR PLS TELL ME THE CODE IN C LANGUAGE TO PRINT THE FOLLOWING SERIES 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1 1 2 3 2 1 1 2 1 1
Why clrscr is used after variable declaration?